Skip to content

Set the Wrangler peer dependency to the same version as the direct dependency #9856

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

Merged
merged 3 commits into from
Jul 4, 2025

Conversation

jamesopstad
Copy link
Contributor

@jamesopstad jamesopstad commented Jul 4, 2025

Fixes #000.

Set the Wrangler peer dependency to the same version as the direct dependency. This fixes as issue where older versions of Wrangler could override the version used by the plugin.


  • Tests
    • Tests included
    • Tests not necessary because: covered by existing tests
  • Public documentation
    • Cloudflare docs PR(s):
    • Documentation not necessary because: N/A
  • Wrangler V3 Backport
    • Wrangler PR:
    • Not necessary because: not a Wrangler change

@jamesopstad jamesopstad requested a review from a team as a code owner July 4, 2025 13:13
Copy link

changeset-bot bot commented Jul 4, 2025

🦋 Changeset detected

Latest commit: d155f32

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

This PR includes changesets to release 1 package
Name Type
@cloudflare/vite-plugin 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

@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Jul 4, 2025
@jamesopstad jamesopstad added the vite-plugin Relating to the `@cloudflare/vite-plugin` package label Jul 4, 2025
Copy link

pkg-pr-new bot commented Jul 4, 2025

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@9856

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@9856

miniflare

npm i https://pkg.pr.new/miniflare@9856

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@9856

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@9856

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@9856

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@9856

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@9856

wrangler

npm i https://pkg.pr.new/wrangler@9856

commit: d155f32

@github-project-automation github-project-automation bot moved this from Untriaged to Approved in workers-sdk Jul 4, 2025
@jamesopstad jamesopstad added this pull request to the merge queue Jul 4, 2025
Merged via the queue into main with commit 8bf60a7 Jul 4, 2025
35 of 36 checks passed
@jamesopstad jamesopstad deleted the james/vite-peer-dependencies branch July 4, 2025 14:53
@github-project-automation github-project-automation bot moved this from Approved to Done in workers-sdk Jul 4, 2025
@workers-devprod workers-devprod mentioned this pull request Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vite-plugin Relating to the `@cloudflare/vite-plugin` package
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants