-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
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
docs: v7 npm-install refresh #1911
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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