Repository navigation
Conversation
Regenerates package-lock.json with npm 11. packages/components gets @floating-ui/react-dom 2.0.8, the version WordPress 6.7 ships.
|
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:
|
Converted with npm 11.19.0 (Node 24.20.0):
npm install --package-lock-only --lockfile-version 3 --ignore-scripts --no-audit --no-fund
The `packages` section is unchanged; the legacy `dependencies` section is removed.
What?
Sets
.nvmrcto Node.js 24.20 onwp/6.7, as on trunk, and regeneratespackage-lock.jsonwith npm 11.Why?
The wordpress-develop 6.7 branch moves to Node.js 24 in WordPress/wordpress-develop#13838. npm 11 rejects this branch's lockfile:
npm ciexits withEUSAGE(Missing: docker-compose@0.24.8 from lock file) because 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. Where the lockfile must change, this PR installs the version WordPress 6.7 ships (core'spackage-lock.json):@floating-ui/react-dom2.0.8, whichpackages/componentsasks for (^2.0.8) and which replaces its nested 2.0.1 and the hoisted 2.1.1 that Storybook's@radix-ui/react-popper(^2.0.0) used. The other changes replace nested entries with versions inside their declared ranges:packages/envgetsdocker-compose0.24.8, six packages that ask foruuid^9.0.1use the hoisted 9.0.1 (also WordPress 6.7's version) instead of a nested 8.3.2, andwait-onunderpackages/scriptsuses the hoistedjoi17.13.3. Convertspackage-lock.jsonfrom lockfile version 2 to 3 with npm 11; thepackagessection is unchanged.Testing Instructions
With Node.js 24 and npm 11:
npm ci && npm run build && npm run test:unit.Use of AI Tools
AI assistance: Yes
Tools: Claude Code
Model: Claude Opus 5.5
Used for: Regenerating the lockfile, building and testing on Node.js 24, and drafting this description.