Skip to content

fix: yarn v4 not passing args to wrangler correctly#512

Merged
james-elicx merged 3 commits intomainfrom
james/yarn-modern
Mar 28, 2025
Merged

fix: yarn v4 not passing args to wrangler correctly#512
james-elicx merged 3 commits intomainfrom
james/yarn-modern

Conversation

@james-elicx
Copy link
Copy Markdown
Collaborator

Yarn classic and yarn modern appear to pass args around differently. Yarn modern uses the packageManager field in package.json, so this PR uses that to compare the semver to check if it's used or not.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 27, 2025

🦋 Changeset detected

Latest commit: 61ba700

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@opennextjs/cloudflare Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Mar 27, 2025

Open in Stackblitz

pnpm add https://pkg.pr.new/@opennextjs/cloudflare@512

commit: 61ba700

Comment thread packages/cloudflare/src/cli/utils/run-wrangler.ts Outdated
Co-authored-by: Victor Berchet <victor@suumit.com>
Comment thread packages/cloudflare/src/cli/utils/run-wrangler.ts
@james-elicx james-elicx merged commit 96efdc1 into main Mar 28, 2025
7 checks passed
@james-elicx james-elicx deleted the james/yarn-modern branch March 28, 2025 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants