Skip to content

chore: migrate toolchain to Vite+#74

Draft
nyatinte wants to merge 2 commits intomainfrom
migration/vite-plus
Draft

chore: migrate toolchain to Vite+#74
nyatinte wants to merge 2 commits intomainfrom
migration/vite-plus

Conversation

@nyatinte
Copy link
Copy Markdown
Owner

What

  • Replace tsdown + vitest + standalone oxlint/oxfmt with the unified Vite+ (vite-plus) toolchain
  • Add vite.config.ts as a single config entry for fmt, lint, pack, and test; remove tsdown.config.ts and vitest.config.ts
  • Update package.json scripts to use vp commands (vp pack, vp check, vp test)
  • Add catalog: entries in pnpm-workspace.yaml to pin vite and vitest to Vite+ shims
  • Add Vite+ workflow documentation to CLAUDE.md

Why

Consolidating tooling under a single Vite+ CLI (vp) removes the need to maintain separate configs for tsdown, vitest, oxlint, and oxfmt. Vite+ wraps all of them as one cohesive toolchain, reducing configuration surface area.

Note: oxlint integration is not yet working in this branch and will be resolved in a follow-up.

Ref

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Mar 27, 2026

⚠️ No Changeset found

Latest commit: 78966da

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

Size Change: +7 B (+0.23%)

Total Size: 3.03 kB

Filename Size Change
./dist/bin.mjs 3.03 kB +7 B (+0.23%)

compressed-size-action

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request migrates the project to Vite+, a unified toolchain that replaces several individual tools (such as tsdown, oxlint, and vitest) with a single global CLI (vp). The configuration files for these tools have been removed in favor of a centralized vite.config.ts. I have identified an issue in .zed/settings.json where the configPath still points to a removed configuration file, which will likely break the oxlint language server integration in Zed.

Comment thread .zed/settings.json
@nyatinte
Copy link
Copy Markdown
Owner Author

The Vitest global type issue is likely to be fixed by voidzero-dev/vite-plus#1165

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