Skip to content

chore: migrate to Vite+ unified toolchain#35

Merged
mjun0812 merged 6 commits intomainfrom
chore/migrate-to-vite-plus
Apr 11, 2026
Merged

chore: migrate to Vite+ unified toolchain#35
mjun0812 merged 6 commits intomainfrom
chore/migrate-to-vite-plus

Conversation

@mjun0812
Copy link
Copy Markdown
Owner

@mjun0812 mjun0812 commented Apr 11, 2026

Summary

  • Replace ESLint, Prettier, and Vitest with Vite+ (vp) unified toolchain
  • Merge eslint.config.mjs, .prettierrc, and vitest.config.ts into a single vite.config.ts
  • Update all GitHub Actions workflows (ci.yml, _test.yml, _test-container.yml, release.yml) to use voidzero-dev/setup-vp@v1 instead of separate pnpm/action-setup + actions/setup-node steps
  • Add pnpm-workspace.yaml with vite-plus catalog configuration
  • Add .vscode settings for oxc formatter integration

Test plan

  • vp check passes (0 errors, format clean)
  • vp test run passes (40/40 tests)
  • Verify CI workflows run successfully with setup-vp@v1

🤖 Generated with Claude Code

mjun0812 and others added 6 commits April 11, 2026 10:37
Replace ESLint, Prettier, and Vitest with Vite+ (vp) unified toolchain.

- Replace eslint.config.mjs and .prettierrc with vite.config.ts
  (lint, fmt, staged config)
- Merge vitest.config.ts test settings into vite.config.ts
- Update all GitHub Actions workflows to use voidzero-dev/setup-vp@v1
  instead of separate pnpm/action-setup and actions/setup-node steps
- Update CI commands to use vp check and vp test run
- Add pnpm-workspace.yaml with vite-plus catalog configuration
- Add .vscode settings for oxc formatter integration
The formatter was rewriting esbuild output (e.g. "use strict" → 'use strict'),
causing the release workflow's dist freshness check to always fail.
Migrate the build step to Vite+ ecosystem by using tsdown via vp pack
instead of esbuild directly. Remove esbuild and unused eslint packages
from devDependencies. Update all CI workflow build commands accordingly.
- switch local scripts and developer docs to direct vp commands
- pin setup-vp workflows to .node-version for Node 24 consistency
- clean up lint warnings and regenerate dist artifacts
@mjun0812 mjun0812 merged commit bcecc09 into main Apr 11, 2026
11 checks passed
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