Skip to content

fix(address-widget): pin yarn to 4.17.1 so the build runs - #1773

Merged
FreekVR merged 1 commit into
mainfrom
fix/address-widget-yarn-version
Aug 7, 2026
Merged

fix(address-widget): pin yarn to 4.17.1 so the build runs#1773
FreekVR merged 1 commit into
mainfrom
fix/address-widget-yarn-version

Conversation

@FreekVR

@FreekVR FreekVR commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

pins the address-widget workspace to yarn 4.17.1 so the plugin build runs again.

The address-widget workspace pinned yarn 4.3.1 while the rest of the plugin is on 4.17.1. Its build script shells out to a nested yarn run, which then picked up 4.3.1 and refused to start, because the approvedGitRepositories setting in .yarnrc.yml only exists in newer yarn. That broke yarn build for the whole plugin, not just this workspace.

Pinning the workspace to the same 4.17.1 the plugin already uses fixes it. No lockfile change needed, and yarn install --immutable stays green.

🤖 Generated with Claude Code

The address-widget workspace pinned yarn 4.3.1 while the rest of the plugin is on 4.17.1. Its build script shells out to a nested yarn run, which then picked up 4.3.1 and refused to start, because the approvedGitRepositories setting in .yarnrc.yml only exists in newer yarn. That broke yarn build for the whole plugin.

Pinning the workspace to the same 4.17.1 the plugin already uses fixes it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@FreekVR
FreekVR requested a review from a team as a code owner August 7, 2026 14:28
Copilot AI lite review requested due to automatic review settings August 7, 2026 14:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins the checkout-address-widget workspace’s Yarn version to match the plugin’s root Yarn version, preventing workspace-local Yarn from breaking the overall build when nested yarn run is invoked.

Changes:

  • Updated views/frontend/checkout-address-widget/package.json to use packageManager: yarn@4.17.1 (matching the repo root).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov

codecov Bot commented Aug 7, 2026

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
216 1 215 0
View the full list of 1 ❄️ flaky test(s)
src/components/pdk/components.spec.ts::src/components/pdk/components.spec.ts

Flake rate in main: 100.00% (Passed 0 times, Failed 156 times)

Stack Traces | 0s run time
Error: [🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
This will fail in production.
 ❯ Module.useStore ../../../node_modules/@.../pinia/dist/pinia.mjs:1741:19
 ❯ runModalTest ../../../node_modules/@.../src/components/runModalTest.ts:7:44
 ❯ ../../../node_modules/@.../src/tests/executeAdminComponentTest.ts:29:7

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@FreekVR
FreekVR merged commit d9d5fc4 into main Aug 7, 2026
8 checks passed
@FreekVR
FreekVR deleted the fix/address-widget-yarn-version branch August 7, 2026 14:31
myparcel-bot Bot added a commit that referenced this pull request Aug 11, 2026
## [6.8.1](v6.8.0...v6.8.1) (2026-08-11)

### 🐛 Bug Fixes

* **address-widget:** pin yarn to 4.17.1 so the build runs ([#1773](#1773)) ([d9d5fc4](d9d5fc4))
* display order grid normally when carrier is unavailable on order ([#1765](#1765)) ([42adda4](42adda4))
@myparcel-bot

myparcel-bot Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 6.8.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants