We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm update
foo: "^0.1.1"
foo@latest -> 0.1.3
exec npm update foo
npm update foo
foo: "^0.1.3"
we need to add --save option now which is verbose, also npm update not support update the devDependencies
--save
devDependencies
there're two solution:
dependencies
denpendencies
-D or --save-dev
by the way, the above has already implemented by npm install, so we can also update dependencies by npm installl
npm install
npm installl
The text was updated successfully, but these errors were encountered:
the --save flag for update was implemented in v8.3.2 npm/cli#4223
v8.3.2
Sorry, something went wrong.
No branches or pull requests
Motivation ("The Why")
Example
foo: "^0.1.1"
foo@latest -> 0.1.3
exec
npm update foo
foo: "^0.1.3"
How
Current Behaviour
we need to add
--save
option now which is verbose, alsonpm update
not support update thedevDependencies
Desired Behaviour
there're two solution:
npm update
, update bothdependencies
anddevDependencies
denpendencies
only and-D or --save-dev
updatedevDependencies
by the way, the above has already implemented by
npm install
, so we can also update dependencies bynpm installl
References
The text was updated successfully, but these errors were encountered: