Repository navigation
Build: Move wp/7.1 to Node 24 and npm 11.18 with the npm v12 supply chain defaults - #84161
Draft
manzoorwanijk wants to merge 3 commits into
Draft
manzoorwanijk wants to merge 3 commits into
manzoorwanijk wants to merge 3 commits into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🤖 PR meta 🤖📦 Bundle sizeSize Change: 0 B Total Size: 7.75 MB
🏁 Flaky testsSome tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information. Should save the changes in
|
`storybook-check.yml` installs `@storybook/test-runner` with `npm install --no-save`, which pulls in `@swc/core`. It is not in the lockfile, so the lockfile-based install never saw its postinstall script, and `strict-allow-scripts` failed the Storybook job. Trunk denies it too.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
See #82328, #72973
Moves
wp/7.1to Node 24.20 and npm 11.18 (npm 12 compatible), with the npm v12 supply chain defaults trunk uses.Why?
Trunk's publish workflow releases
wp/X.Ybranches with trunk's Node and npm, so the branch must install, build and run Lerna under them, with the same supply chain policy.How?
.nvmrc24.20;enginesanddevEnginesrequire Node 24.18 and npm 11.18..npmrcaddsstrict-allow-scriptsandallow-git/allow-remote/allow-file = none;allowScriptsdenies every install script, as on trunk.setup-npmaction and drops thenode_modulescache fromsetup-node.Merge order: stacked on #84169; merge that first. Publishing
wp-7.1also needs #84160.Testing Instructions
Rehearsed trunk's
npm-wpflow (CLI from #84160) against a local Verdaccio and bare origin, on npm 11.18 and 12.2:npm cipasses with noEALLOW*orESTRICTALLOWSCRIPTS.wp-7.1and the CLI's verification passes.Use of AI Tools
Claude Code (Opus) wrote the changes and ran the rehearsals; I reviewed them.