docs: v7 npm-install refresh#1911
Conversation
28d8cc6 to
b631b16
Compare
Initiall pass at refreshing the npm-install docs for npm7
b631b16 to
ebe5d23
Compare
| installation of dependencies will be driven by that, respecting the following | ||
| order of precedence: | ||
|
|
||
| * `node_modules/.package-lock.json` |
There was a problem hiding this comment.
does this mean that even if i have package-lock=false in npmrc, rm -rf node_modules && npm install will no longer always fetch the latest of everything?
There was a problem hiding this comment.
well if you rm -rf node_modules first then the file is getting deleted along with the folder so it will still behave the same 😊
There was a problem hiding this comment.
and if i rm -rf node_modules/* && npm install, as i always do, since i have the node_modules dir ignored by dropbox and i don't want to lose that setting by deleting the folder? (which won't remove dotfiles)
There was a problem hiding this comment.
right right, yeah in that case it might not work as before but hey, the good news is that npm update (no args) should provide that functionality out of the box in npm7 and you won't need that convoluted workflow anymore! 😁
Initiall pass at refreshing the npm-install docs for npm7 PR-URL: https://github.com/Usage: /Users/darcyclarke/.nvm/versions/node/v10.20.1/bin/pull <pull req url> /Users/darcyclarke/.nvm/versions/node/v10.20.1/bin/pull <pull req number> [<remote name>=origin] (will read url/id from clipboard if not specified) Credit: @ Close: #1911 Reviewed-by: @darcyclarke
Initiall pass at refreshing the npm-install docs for npm7 PR-URL: https://github.com/Usage: /Users/darcyclarke/.nvm/versions/node/v10.20.1/bin/pull <pull req url> /Users/darcyclarke/.nvm/versions/node/v10.20.1/bin/pull <pull req number> [<remote name>=origin] (will read url/id from clipboard if not specified) Credit: @ruyadorno Close: #1911 Reviewed-by: @darcyclarke
Initiall pass at refreshing the npm-install docs for npm7