-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Release tooling: Use npm Trusted Publishing #32607
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 all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
This file was deleted.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -240,7 +240,7 @@ | |||||
| "built": false | ||||||
| } | ||||||
| }, | ||||||
| "packageManager": "yarn@4.9.1", | ||||||
| "packageManager": "yarn@4.10.3", | ||||||
|
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. Restore Yarn 4.9.1 for workspace tooling. The workspace must stick to Yarn 4.9.1 per repo guidelines; updating this - "packageManager": "[email protected]",
+ "packageManager": "[email protected]",📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
Contributor
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. @coderabbitai I don't know where you're getting these guidelines from? but you must update them so they reference v ^4 of yarn instead.
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. @JReinhold, you're absolutely right—I apologize for the confusion. That guideline was outdated and incorrectly pinned to Yarn 4.9.1 specifically. I've removed the old guideline and updated it to reflect that the repository uses Yarn v^4 (any 4.x version). The upgrade to Yarn 4.10.3 is perfectly fine and aligns with keeping the tooling up to date within the v4 major version. ✏️ Learnings added
⛔ Learnings removed🧠 Learnings used |
||||||
| "collective": { | ||||||
| "type": "opencollective", | ||||||
| "url": "https://opencollective.com/storybook" | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -22,7 +22,7 @@ | |||||
| "vite-ecosystem-ci:build": "yarn task --task sandbox --template react-vite/default-ts --start-from=install --skip-cache", | ||||||
| "vite-ecosystem-ci:test": "yarn task --task test-runner-dev --template react-vite/default-ts --start-from=dev && yarn task --task test-runner --template react-vite/default-ts --start-from=build && yarn task --task vitest-integration --template react-vite/default-ts --start-from vitest-integration" | ||||||
| }, | ||||||
| "packageManager": "yarn@4.9.1", | ||||||
| "packageManager": "yarn@4.10.3", | ||||||
|
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. Revert This repo is required to stay on Yarn 4.9.1; bumping the manifest to 4.10.3 breaks that contract and risks desync with the enforced toolchain. Please keep the - "packageManager": "[email protected]",
+ "packageManager": "[email protected]",📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| "engines": { | ||||||
| "node": ">=22.0.0" | ||||||
| } | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -2,7 +2,7 @@ compressionLevel: 0 | |||||
|
|
||||||
| enableGlobalCache: true | ||||||
|
|
||||||
| yarnPath: ../.yarn/releases/yarn-4.9.1.cjs | ||||||
| yarnPath: ../.yarn/releases/yarn-4.10.3.cjs | ||||||
|
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. Re-pin the Yarn binary to 4.9.1. The repo mandates Yarn 4.9.1 in all -yarnPath: ../.yarn/releases/yarn-4.10.3.cjs
+yarnPath: ../.yarn/releases/yarn-4.9.1.cjs📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| installStatePath: ../.yarn/scripts-install-state.gz | ||||||
|
|
||||||
| logFilters: | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -185,5 +185,5 @@ | |||||
| "verdaccio": "^5.31.1", | ||||||
| "verdaccio-auth-memory": "^10.2.2" | ||||||
| }, | ||||||
| "packageManager": "yarn@4.9.1" | ||||||
| "packageManager": "yarn@4.10.3" | ||||||
|
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. Align This workspace also needs to stay on Yarn 4.9.1; updating to 4.10.3 conflicts with the enforced toolchain version. - "packageManager": "[email protected]"
+ "packageManager": "[email protected]"📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| nodeLinker: node-modules | ||
| enableImmutableInstalls: false | ||
| yarnPath: ../../.yarn/releases/yarn-4.9.1.cjs | ||
| yarnPath: ../../.yarn/releases/yarn-4.10.3.cjs |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,3 +1,3 @@ | ||||||
| nodeLinker: node-modules | ||||||
| enableImmutableInstalls: false | ||||||
| yarnPath: ../../.yarn/releases/yarn-4.9.1.cjs | ||||||
| yarnPath: ../../.yarn/releases/yarn-4.10.3.cjs | ||||||
|
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. Restore Yarn path to the mandated 4.9.1 build. All -yarnPath: ../../.yarn/releases/yarn-4.10.3.cjs
+yarnPath: ../../.yarn/releases/yarn-4.9.1.cjs📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| enableImmutableInstalls: false | ||
| nodeLinker: node-modules | ||
| yarnPath: ../../../.yarn/releases/yarn-4.9.1.cjs | ||
| yarnPath: ../../../.yarn/releases/yarn-4.10.3.cjs |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1 +1 @@ | ||||||
| yarnPath: ../../../.yarn/releases/yarn-4.9.1.cjs | ||||||
| yarnPath: ../../../.yarn/releases/yarn-4.10.3.cjs | ||||||
|
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. Revert Yarn path to the approved 4.9.1 release. Per repo policy, -yarnPath: ../../../.yarn/releases/yarn-4.10.3.cjs
+yarnPath: ../../../.yarn/releases/yarn-4.9.1.cjs📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| nodeLinker: node-modules | ||
| enableImmutableInstalls: false | ||
| yarnPath: ../../.yarn/releases/yarn-4.9.1.cjs | ||
| yarnPath: ../../.yarn/releases/yarn-4.10.3.cjs |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| nodeLinker: node-modules | ||
| enableImmutableInstalls: false | ||
| yarnPath: ../../.yarn/releases/yarn-4.9.1.cjs | ||
| yarnPath: ../../.yarn/releases/yarn-4.10.3.cjs |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,3 +1,3 @@ | ||||||
| yarnPath: ../../.yarn/releases/yarn-4.9.1.cjs | ||||||
| yarnPath: ../../.yarn/releases/yarn-4.10.3.cjs | ||||||
|
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. Keep Yarn release pinned at 4.9.1. Per repository guidance, -yarnPath: ../../.yarn/releases/yarn-4.10.3.cjs
+yarnPath: ../../.yarn/releases/yarn-4.9.1.cjs📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
|
|
||||||
| nodeLinker: pnp | ||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep the root Yarn binary at 4.9.1.
The documented guidance for this repo explicitly requires
.yarnrc.ymlto point atyarn-4.9.1.cjs; updating to 4.10.3 steps outside the approved toolchain.As per coding guidelines
🤖 Prompt for AI Agents