Repository navigation
Infra: Use devEngines in root package.json and pin npm version in CI #80188
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
Changes from 4 commits
46ac4a5
9232960
c997c3c
8374e84
757fdab
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,6 +18,16 @@ | |
| "node": ">=20.19.0", | ||
| "npm": ">=10.2.3" | ||
| }, | ||
| "devEngines": { | ||
| "runtime": { | ||
| "name": "node", | ||
| "version": ">=20.19.0" | ||
| }, | ||
| "packageManager": { | ||
| "name": "npm", | ||
| "version": ">=10.2.3" | ||
|
Comment on lines
+26
to
+28
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looking at this, Looking at the current Node 24 job, that selector installed So I feel that this PR's claim is not fully satisfied. If we merge as-is, we should leave #72143 open for the actual version-alignment follow-up. Otherwise, we could select one exact npm version in
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, that is intentional. We don't want to lock everyone with the old npm version if the latest one works fine. For example, currently, I am on npm v11 although the engines mention v10.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have updated the PR to avoid closing the related issue. |
||
| } | ||
| }, | ||
| "wpPlugin": { | ||
| "name": "gutenberg", | ||
| "scriptGlobal": "wp", | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.