Upgrade Angular version (now: 2.4.3 or 4.0.0-beta.3) following the best practice?

后端 未结 3 1587
鱼传尺愫
鱼传尺愫 2021-02-05 22:48

Now that Angular is following a Semantic Versioning, and Angular2.4.3 were released, I\'m a little confused here on what is the best practice when I upgrade to the next Angular

3条回答
  •  闹比i
    闹比i (楼主)
    2021-02-05 23:28

    I suggest you install npm-check-updates library. This will let you find the latest version of dependencies, which you use.

    Follow the steps:

    1. To install

      npm i -g npm-check-updates


    1. To update your package.json:

      npm-check-updates -u


    1. To install latest versions your dependencies

      npm install

提交回复
热议问题