chore: migrate to Vite+ unified toolchain#35
Merged
Conversation
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
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.
Summary
vp) unified toolchaineslint.config.mjs,.prettierrc, andvitest.config.tsinto a singlevite.config.tsci.yml,_test.yml,_test-container.yml,release.yml) to usevoidzero-dev/setup-vp@v1instead of separatepnpm/action-setup+actions/setup-nodestepspnpm-workspace.yamlwith vite-plus catalog configuration.vscodesettings for oxc formatter integrationTest plan
vp checkpasses (0 errors, format clean)vp test runpasses (40/40 tests)setup-vp@v1🤖 Generated with Claude Code