You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
Add an options to forcibly not save a dependency to package.json when running npm install
What problem is the feature intended to solve?
Since users are able to use this config npm config set save true to have all their dependencies saved by default, we need a way to optionally not save some of them. I have a script that locally installs some extra dependencies for dev purposes only but I do not want them saved.
Is the absence of this feature blocking you or your team? If so, how?
It's an extra step to verify packages don't get saved
Is this feature similar to an existing feature in another tool?
I don't think so
Is this a feature you're prepared to implement, with support from the npm CLI team?
No
The text was updated successfully, but these errors were encountered:
@ssylvia Yeah, you can append "no" to any config to make it false, so --no-save, --no-optional, --no-progress all set their respective configs to false.
What's the feature?
Add an options to forcibly not save a dependency to
package.json
when runningnpm install
What problem is the feature intended to solve?
Since users are able to use this config
npm config set save true
to have all their dependencies saved by default, we need a way to optionally not save some of them. I have a script that locally installs some extra dependencies for dev purposes only but I do not want them saved.Is the absence of this feature blocking you or your team? If so, how?
It's an extra step to verify packages don't get saved
Is this feature similar to an existing feature in another tool?
I don't think so
Is this a feature you're prepared to implement, with support from the npm CLI team?
No
The text was updated successfully, but these errors were encountered: