Repository navigation
[autoconfig] Require Vite 7 or later for Vite projects on cf - #17009
Conversation
🦋 Changeset detectedLatest commit: 73996fc The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
@cloudflare/autoconfig
@cloudflare/build-output-utils
@cloudflare/codemods
@cloudflare/config
@cloudflare/containers-shared
create-cloudflare
@cloudflare/deploy-helpers
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-functions
@cloudflare/pages-shared
@cloudflare/runtime-types
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-plugin
@cloudflare/workers-auth
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
|
I'm Bonk, and I've done a quick review of your PR. Raises the Vite minimum for
|
|
Codeowners approval required for this PR:
Show detailed file reviewers |
There was a problem hiding this comment.
✅ Approved — This is a small, well-tested change that limits the Vite 7 minimum to the cf target. No issues found.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
📋 Code Quality: ✅ LGTM
The cf-only frameworkPackageInfo for Vite is correct, and the tests cover both the cf and wrangler targets.
📝 Documentation: ✅ LGTM
The changeset and the inline comments describe the new behaviour correctly.
Reviewed commit: 73996fc1
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
Part of RM-31810.
For
cf, autoconfig now requires Vite 7 or later in Vite projects.cfinstalls@cloudflare/vite-pluginv2, which has avite: ^7.0.0 || ^8.0.0peer dependency, so with Vite 6 setup failed with anERESOLVEerror after the user had confirmed it. The version check now rejects Vite 6 before any change is made. Wrangler keeps its 6.0.0 minimum.cfare documented separately, as part of the cf GA docs