build: align volta and corepack yarn versions - #522
Conversation
Moves packageManager and volta to yarn 4.17.1, matching js-pdk, delivery-options and the plugins. Keeping one yarn version across the repos avoids corepack picking a different one per directory. Running the install on 4.17.1 also refreshes yarn.lock (format version 10, plus one builtin patch hash) and has yarn write its newer settings into .yarnrc.yml. No dependency versions change. Same change as d7f96d2f in the woocommerce repo, and it keeps the immutable install in CI green. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #522 +/- ##
=========================================
Coverage 94.33% 94.33%
Complexity 2414 2414
=========================================
Files 352 352
Lines 7726 7726
=========================================
Hits 7288 7288
Misses 438 438 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR aligns the Yarn version used by both Volta and Corepack to 4.17.1 to keep a consistent toolchain across related repositories and avoid Corepack resolving different Yarn versions per directory.
Changes:
- Bump
volta.yarnandpackageManagerinpackage.jsonto Yarn4.17.1. - Refresh
yarn.lockto the Yarn lockfile format produced by Yarn4.17.1(metadata version bump + builtin patch hash change). - Update
.yarnrc.ymlwith Yarn-generated settings from the newer Yarn version.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
package.json |
Pins Yarn to 4.17.1 for both Volta and Corepack to avoid cross-repo version drift. |
yarn.lock |
Updates lockfile metadata/patch hash to match Yarn 4.17.1 without changing dependency versions. |
.yarnrc.yml |
Adds Yarn-written config entries produced by the newer Yarn version. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🎉 This PR is included in version 4.7.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
aligns volta and corepack on yarn 4.17.1.
Moves
packageManagerandvoltato yarn 4.17.1, matching js-pdk, delivery-options and the plugins. Keeping one yarn version across the repos avoids corepack resolving a different one per directory, which is how a stale pin elsewhere broke a plugin build.Running the install on 4.17.1 also refreshes
yarn.lock(format version 10, plus one builtin patch hash) and has yarn write its newer settings into.yarnrc.yml. No dependency versions change. Same shape as d7f96d2f in the woocommerce repo. Verified withyarn install --immutable: exit 0, clean tree.🤖 Generated with Claude Code