![]() ![]() ![]() Now, all of the package versions in package.json will âbe the most recent ones. The correct way to do so is: npm install -g npm-check-updates Updating packages to the most recent major versionĪ user may want to update the dependencies specified in package.json to the latest major version if they are sure that the project will still work without breaking anything.Äoing so will update the version numbers specified in the âfront of each package, hence updating the projectâs package.json file. However, this method leaves the package.json untouched. The procedure used to update the dependencies in the package.json file to the latest minor version is outlined here. You can do that by running the command npm update .Updating packages to the most recent minor version
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |