-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: save exactly what the user asked for
BREAKING CHANGE: "npm install" will now save the exact range the user gives if one is given. When adding a new dep to the tree, if a range is given that exact range is what will be saved to your package.json. If a dist-tag is used, that version will be saved with `save-prefix`. A bare package name is treated like the dist-tag `latest`. This also means that `npm update --save` is no longer possible, as that feature was predicated off of the old behavior of always choosing the save-prefix and the current version being saved.
- Loading branch information
Showing
6 changed files
with
87 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.