Repository navigation
Conversation
Regenerates package-lock.json with npm 11.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
Matches trunk's .nvmrc. Node.js 24.20 bundles npm 11.19.
|
The Compressed Size failure comes from the base branch, not this PR. The check installs and builds this PR, then resets to the base branch and runs |
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
What?
Sets
.nvmrcto Node.js 24.20 onwp/6.8, as on trunk, and regeneratespackage-lock.jsonwith npm 11.Why?
The wordpress-develop 6.8 branch moves to Node.js 24 in WordPress/wordpress-develop#13837. npm 11 rejects this branch's lockfile:
npm ciexits withEUSAGEbecause nested entries such asdocker-compose0.24.2 underpackages/env, which asks for^0.24.3, do not satisfy their ranges. This fails the Gutenberg build job on that PR.How?
npm install --package-lock-onlywith npm 11. No entry changes version, 2 are added and 75 are removed.packages/envgetsdocker-compose0.24.8, six packages that ask foruuid^9.0.1use the hoisted 9.0.1 instead of a nested 8.3.2, and the other removed entries are nested copies that now resolve to hoisted ones, 59 of them@babel/*plugins and helpers underpackages/babel-preset-default(7.25.7, hoisted 7.25.9).Testing Instructions
With Node.js 24 and npm 11:
npm ci && npm run build.Use of AI Tools
AI assistance: Yes
Tools: Claude Code
Model: Claude Opus 5.5
Used for: Regenerating the lockfile, building on Node.js 24, and drafting this description.