Adopt Vite+ development tooling - #19
Merged
Merged
Conversation
biw
force-pushed
the
biw/migrate-to-vite-plus
branch
from
August 8, 2026 00:03
0262241 to
7114126
Compare
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
Adopt Vite+ for dependency installation, formatting, lint/type checks, and package builds while preserving the package's existing Vite 6/Vitest 2 test runtime. The plugin's Vite peer range and source behavior remain unchanged; the full native-module test suite continues to exercise the regular Vite dependency.
What This PR Does
vp install,vp check, andvp pack.vite@6.2.1andvitest@2as direct development dependencies; the test scripts and standalone Vitest config continue to run the original test environment..vscode/directory and removes the previously tracked workspace settings file.What This Improves
dist/index.js), CommonJS (dist/index.cjs), and declaration output paths unchanged.What This Does Not Do
Important Context
vp packreplaces tsup, withfixedExtension: falsepreserving the existing.jsESM and.cjsCommonJS package entrypoints.Code To Review Closely
vite.config.ts:7Verify that the pack configuration preserves the package's current distribution contract while Vite+ takes over packaging and checks.
Gotchas, Risks, And Edge Cases
pnpm installemits an advisory peer-dependency warning because Vite+ bundles browser helpers that peer-depend on Vitest 4, while this package intentionally retains Vitest 2 for its standard Vite 6 integration tests.vp testis intentionally not used.Tests And Regression Coverage
Validation Run
vp run test: passed (10 files, 195 tests) on Vite 6/Vitest 2.vp lint: passed with no warnings or errors.vp check: passed with formatting, lint, and type checks clean.vp pack: passed and emitteddist/index.js,dist/index.cjs,dist/index.d.ts, anddist/index.d.cts.git diff --check: passed.Coverage Assessment
Sufficient for this tooling migration: the complete existing native-module suite passed in its intended Vite 6/Vitest 2 environment, and Vite+ validates the formatting, lint/type, and package output paths it now owns.
Regressions These Tests Should Catch
Gaps And Recommended Follow-Up Tests
vp test.Follow-Up Work