[BUG] npm update
seems always installing devDependencies
#3729
Labels
Bug
thing that needs fixing
Priority 2
secondary priority issue
Release 7.x
work is associated with a specific npm 7 release
Is there an existing issue for this?
Current Behavior
npm update
seems always installing devDependencies regardless of the--omit
andNODE_ENV
valuesExpected Behavior
devDependencies are ignored
Steps To Reproduce
save in some folder and run command line there
2.
npm up --omit=dev
4. See all the mocha stuff installed
5.
set NODE_ENV=production && npm up --omit=dev
6. See the same
Environment
The text was updated successfully, but these errors were encountered: