Skip to content

Migrate to Vite+ unified toolchain#2

Open
venables wants to merge 4 commits intomainfrom
vite-plus
Open

Migrate to Vite+ unified toolchain#2
venables wants to merge 4 commits intomainfrom
vite-plus

Conversation

@venables
Copy link
Contributor

Summary

  • Migrate from Bun to pnpm + Vite+ (vp) as the unified toolchain, consolidating oxlint, oxfmt, vitest, and vite config
  • Replace eslint/prettier with oxlint/oxfmt, configured directly in vite.config.ts
  • Fix all 19 oxlint warnings: memoize JSX callbacks with useCallback/useMemo, replace unsafe type assertions with type guards, extract components to avoid inline closures in loops
  • Add vitest.config.ts to isolate test runner from Cloudflare plugin incompatibility
  • Upgrade to Vite 8 and TypeScript 6, adding module declarations for fontsource side-effect imports
  • Update CI to use setup-vp action with pnpm

Test plan

  • vp check passes (format, lint, typecheck)
  • vp test passes (12/12 tests)
  • vp build succeeds
  • Verify dev server starts cleanly with vp dev

🤖 Generated with Claude Code

venables and others added 3 commits March 23, 2026 20:59
Memoize inline JSX callbacks with useCallback, wrap context value with
useMemo, replace unsafe `as Theme` cast with a type guard, rename
shadowed variable, extract ProviderButton component, and add inline
disable comments for side-effect font imports.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tanstack-start Ready Ready Preview, Comment Mar 24, 2026 0:32am

Request Review

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 24, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
startkit 9f31305 Commit Preview URL

Branch Preview URL
Mar 24 2026, 12:30 PM

Replace bun with pnpm via vite-plus (vp), consolidate oxlint/oxfmt
config into vite.config.ts, update CI workflow to use setup-vp,
and switch imports to vite-plus module paths.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant