GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||
GeezerVison is showing github.com — build: move to `npm ci` where possible by Trott · Pull Request #21802 · nodejs/node Conversation
Member
Recent events (involving a maliciously published version of a popular Checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Recent events (involving a maliciously published version of a popular module's dependency) have reinvigorated my interest in seeing us move to `npm ci` instead of `npm install`. This moves us to `npm ci` where possible in Makefile and vcbuild.bat.
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
3 tasks done
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
@MylesBorins Not sure the increase is all that significant, to be honest. If you really want to avoid it, we can add a check for the existence of the relevant |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Question: does npm ci install devDependencies? We used to have --production which doesn't install those.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
@TimothyGu Yes, it does, although you can specify
The only place that has any effect is in This PR currently does not apply to that package.json, but when we add it, we'll have to make a decision to either add |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Checklist of stuff to do after this lands:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This is landable, but I'd like a second review. @nodejs/npm @nodejs/build-files Even though (as Myles pointed out) $ make lint-md-clean rm -f -r tools/remark-cli/node_modules rm -f -r tools/remark-preset-lint-node/node_modules rm -f tools/.*mdlintstamp $ make lint-md-build Markdown linter: installing remark-cli into tools/ added 160 packages in 1.704s Markdown linter: installing remark-preset-lint-node into tools/ added 53 packages in 1.089s $ make lint-md-build make: Nothing to be done for `lint-md-build'. $ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
That's because for the two tasks (which in this case are directories) they are only run if the relevant Line 1062 in b75bde3
Lines 1066 to 1067 in b75bde3
Unfortunately there's no equivalent mechanism in |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
@richardlau I wonder if that means we should back out the changes in this to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
@Trott AFAIK neither the makefile nor If I'm understanding correctly the motivation for using cc @nodejs/platform-windows |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Recent events (involving a maliciously published version of a popular module's dependency) have reinvigorated my interest in seeing us move to `npm ci` instead of `npm install`. This moves us to `npm ci` where possible in Makefile and vcbuild.bat. PR-URL: nodejs#21802 Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]>
|
Landed in fe67287 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Recent events (involving a maliciously published version of a popular module's dependency) have reinvigorated my interest in seeing us move to `npm ci` instead of `npm install`. This moves us to `npm ci` where possible in Makefile and vcbuild.bat. PR-URL: #21802 Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]>
* remove obsolete `node_modules/js-yaml/package.json` target * remove `@touch` since `npm ci` is always destructive PR-URL: nodejs#22399 Refs: nodejs#21802 Refs: nodejs#21490 Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: Sam Ruby <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]>
* remove obsolete `node_modules/js-yaml/package.json` target * remove `@touch` since `npm ci` is always destructive PR-URL: #22399 Refs: #21802 Refs: #21490 Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: Sam Ruby <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]>
* remove obsolete `node_modules/js-yaml/package.json` target * remove `@touch` since `npm ci` is always destructive PR-URL: #22399 Refs: #21802 Refs: #21490 Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: Sam Ruby <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.