Repository navigation
Adopt Vite+ across compatible Worker templates - #1176
Open
irvinebroque wants to merge 8 commits into
Open
irvinebroque wants to merge 8 commits into
irvinebroque wants to merge 8 commits into
Conversation
Keep the React Router client entry inside each template so Vite can serve it when standalone workspace boundaries exclude the parent pnpm store. Exercise sorting, book navigation, and the setup link in browser tests.
Contributor
|
Disable the SSR sort control until React attaches its event handlers. Hold script loading in the browser test to verify the control cannot lose a selection during hydration.
irvinebroque
marked this pull request as ready for review
October 29, 2026 23:10
Contributor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds project-local Vite+ to 39 starters, with these scripts:
{ "format": "vp fmt", "check:toolchain": "vp check" }Existing checks also run
vp check. Vite/Vitest commands usevp; for example, the React starter builds withtsc -b && vp build, preserving its TypeScript check.Updates Vite/Vitest overrides, lockfiles, and READMEs, and adds standalone install/check CI on Node 22 and 24. Formatting keeps the existing 80-column width, and npm lockfiles preserve existing dependency versions where compatible.
Validation: all 39 project-local Vite+ checks pass; all 39 npm lockfiles pass
npm ci --dry-run; dependency and template lint checks pass.Astro 5 starters use Vite+ for formatting/linting and retain Astro's Vite version. The two Remix/Vite 5 starters (
remix-starter-templateandto-do-list-kv-template) are excluded because they need framework upgrades.Related PRs
Landing order:
@cloudflare/autoconfigrelease containing Vite+ command detection.@cloudflare/autoconfigto that published release, then merge and publishcf.cfrelease is available, so the documentedcf initdefaults match the released CLI.Independent: #1176 can land at any point. Its starters invoke Vite+ directly and do not depend on the autoconfig change or a new
cfrelease.