Skip to content

chore(ui): upgrade vite 8 and vitest 4#165

Merged
fahimfaisaal merged 2 commits into
mainfrom
chore/ui-vite8-vitest4
Jun 27, 2026
Merged

chore(ui): upgrade vite 8 and vitest 4#165
fahimfaisaal merged 2 commits into
mainfrom
chore/ui-vite8-vitest4

Conversation

@fahimfaisaal

Copy link
Copy Markdown
Member

Summary

Upgrades the UI toolchain to the latest major versions:

  • vite 7.1.9 → 8.1.0 (Rolldown-powered bundler)
  • vitest 3.2.6 → 4.1.9
  • @vitejs/plugin-vue 6.0.1 → 6.0.7

Changes

  • Updated ui/package.json and lockfile
  • Adjusted vite.config.ts esbuild options for Vite 8's narrowed ESBuildOptions types (runtime behavior unchanged)
  • Regenerated pkg/template/vizb-ui.gen.go after embed rebuild (chunk hashes changed)

Verification

  • pnpm test — 359 tests pass (Vitest 4.1.9)
  • pnpm build — production build succeeds
  • EMBED_UI=True pnpm build — embed build succeeds
  • Pre-commit hook: Go tests + UI tests pass

Bump vite 7 → 8 (Rolldown bundler), vitest 3 → 4, and
@vitejs/plugin-vue 6.0.7. Adjust vite.config.ts esbuild options
for Vite 8's narrowed ESBuildOptions types. Regenerate
vizb-ui.gen.go after embed rebuild.
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@fahimfaisaal
fahimfaisaal merged commit 1aa4181 into main Jun 27, 2026
13 checks passed
@fahimfaisaal
fahimfaisaal deleted the chore/ui-vite8-vitest4 branch June 27, 2026 03:44
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.

2 participants