Skip to content

fix: move wrangler to peer dependencies - #15080

Merged
ematipico merged 12 commits into
withastro:nextfrom
gameroman:alpha/integrations/cloudflare/wrangler
Jan 12, 2026
Merged

fix: move wrangler to peer dependencies#15080
ematipico merged 12 commits into
withastro:nextfrom
gameroman:alpha/integrations/cloudflare/wrangler

Conversation

@gameroman

@gameroman gameroman commented Dec 23, 2025

Copy link
Copy Markdown
Contributor

Changes

Move wrangler to peer dependencies

Testing

Existing tests should pass

Docs

Not necessary

@changeset-bot

changeset-bot Bot commented Dec 23, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 65c928d

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

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

@github-actions github-actions Bot added the pkg: integration Related to any renderer integration (scope) label Dec 23, 2025
@github-actions

github-actions Bot commented Dec 23, 2025

Copy link
Copy Markdown
Contributor

⚠️ Package Trust Level Decreased

Caution

Decreased trust levels may indicate a higher risk of supply chain attacks. Please review these changes carefully.

📦 Package 🔒 Before 🔓 After
@cloudflare/kv-asset-handler trusted-with-provenance none
@cloudflare/unenv-preset trusted-with-provenance none
workerd trusted-with-provenance none
undici provenance none
miniflare trusted-with-provenance none
youch provenance none
@cloudflare/workerd-darwin-64 trusted-with-provenance none
@cloudflare/workerd-darwin-arm64 trusted-with-provenance none
@cloudflare/workerd-linux-64 trusted-with-provenance none
@cloudflare/workerd-linux-arm64 trusted-with-provenance none
@cloudflare/workerd-windows-64 trusted-with-provenance none
wrangler trusted-with-provenance none

Comment thread .vscode/extensions.json
"peerDependencies": {
"astro": "^6.0.0-alpha.0"
"astro": "^6.0.0-alpha.0",
"wrangler": "^4.53.0"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Would it make sense to use a wider semver range here. @ascorbic do you have any recommendation, what would be the minimal version we need?

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.

Yes, keep it wide and let the Vite plugin choose the right version

Comment thread .changeset/cloudflare-integration-wrangler.md Outdated

@alexanderniebuhr alexanderniebuhr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@gameroman Thanks for this contribution. I agree that we should move wrangler to be a peerDependency. I left some comments for your to consider. :)

@ematipico ematipico left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The changeset needs to change

Comment thread .changeset/cloudflare-integration-wrangler.md
Comment thread .changeset/cloudflare-integration-wrangler.md Outdated
Comment thread .changeset/cloudflare-integration-wrangler.md Outdated

@ematipico ematipico left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me!

@sarah11918, do we need to do something, docs-wise?

Comment thread .changeset/cloudflare-integration-wrangler.md Outdated
Comment thread .changeset/cloudflare-integration-wrangler.md Outdated

@sarah11918 sarah11918 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@ematipico I assume we're good re: docs here since it doesn't look like anything is required for the user to do! There's already a big Cloudflare docs PR open, so as long as @ascorbic makes sure that anything here is reflected there as needed, I think this can merge fine on its own!

Comment thread .changeset/cloudflare-integration-wrangler.md Outdated
@gameroman
gameroman requested a review from ascorbic January 6, 2026 11:28
@ematipico
ematipico merged commit f67b738 into withastro:next Jan 12, 2026
41 of 42 checks passed
@gameroman
gameroman deleted the alpha/integrations/cloudflare/wrangler branch January 13, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: integration Related to any renderer integration (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants