Update one package, then check if the update causes any issue. The safer way to update major package versions is to use the npm install command. The reason why npm update follows the semantic rules is to help you transition any package update gracefully, letting you inspect the application for any issue. This is because updating the major version of multiple packages at once could break your application. I don’t recommend you to use npm-check-updates, however. Once done, you need to run npm install to get the latest versions.
0 Comments
Leave a Reply. |