Skip to content

chore: introduce Vite+ - #175

Merged
yusukebe merged 1 commit into
nextfrom
chore/vite-plus
Oct 15, 2026
Merged

yusukebe merged 1 commit into
nextfrom
chore/vite-plus

Conversation

@yusukebe

Copy link
Copy Markdown
Member

Move the toolchain to Vite+, like honojs/hono: vp fmt and vp lint replace Prettier and ESLint, vp test runs Vitest 5, and vp pack replaces tsdown. The config is in vite.config.ts, with the same format options and lint rules as hono. CI runs pnpm run check.

  • vite points to @voidzero-dev/vite-plus-core, as vp migrate sets it. The tests of --runtime vite use it.
  • src changes are only the import order from oxfmt, plus build.test.ts: Vitest 5 no longer mocks a data: URL import, so the test imports the bundle for real.
  • The built dist/cli.js has the same imports as before.

The author should do the following, if applicable

  • Add tests
  • Run tests
  • pnpm run check:fix to format and lint the code
  • Add TSDoc/JSDoc to document the code

@yusukebe
yusukebe merged commit 1ba739e into next Oct 15, 2026
4 checks passed
@yusukebe
yusukebe deleted the chore/vite-plus branch October 15, 2026 17:16
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