Update cordova plugins in one command

前端 未结 14 776
故里飘歌
故里飘歌 2020-12-04 06:34

I am wondering is there an easier way to update cordova plugin?

I googled, found a hook (@ year 2013), but this is not 100% what I want.

I know I can do this

14条回答
  •  一个人的身影
    2020-12-04 06:59

    I got tired of manually checking for plugin updates so created a tool to do it for me: https://github.com/dpa99c/cordova-check-plugins

    Install it globally:

    $ npm install -g cordova-check-plugins
    

    Then run from the root of your Cordova project. You can optionally update outdated plugins interactively or automatically, e.g.

    $ cordova-check-plugins --update=auto
    

提交回复
热议问题