Repository navigation
Update Vite+ to 1.7.0 and rolldown to 1.3.3, and drop the Vite Task cache workarounds - #4292
Merged
Merged
Conversation
Updates `vite-plus` to 1.7.0 with `vp migrate`. `vite` now points to `@voidzero-dev/vite-plus-core@8.3.8000`, as the core package now follows Vite's version numbers. Vite+ 1.7.0 comes with oxlint 1.94 and oxfmt 0.79, and runs type-aware linting with `tsrs` instead of `oxlint-tsgolint`. Also updates rolldown, which `ecij`, `unplugin`, and `@vitest/istanbul-lib-instrument` depend on, from 1.2.15 to 1.3.3, which dedupes `@oxc-project/types` to 0.159.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Since Vite+ 1.6, Vite Task fingerprints a task's inputs as the task leaves them, so the files that a task writes itself, like `lib/` for `vp pack`, or `coverage/` and Vite's cache for `vp test`, no longer make the next run miss the cache. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Vite+ 1.6 restores the folders that a task created with its cache hit, so `dist` and `lib` no longer have to exist before `vp run ci` for the cache to hit, and `vp run` creates `node_modules/.vite-temp` when it loads `vite.config.ts`, before any task runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Updates
vite-plusto 1.7.0 withvp migrate(without--full, which only bumped the versions).vitenow points to@voidzero-dev/vite-plus-core@8.3.8000, as the core package now follows Vite's version numbers. Vite+ 1.7.0 comes with oxlint 1.94 and oxfmt 0.79, and runs type-aware linting withtsrsinstead ofoxlint-tsgolint.Also updates rolldown, which
ecij,unplugin, and@vitest/istanbul-lib-instrumentdepend on, from 1.2.15 to 1.3.3, which dedupes@oxc-project/typesto 0.159.0. rolldown 1.3.3 adds@rolldown/binding-wasm32-wasito its optional dependencies, so the lockfile lists it and its dependencies, including@emnapi/coreand@emnapi/runtime2.0.0-beta.2, but npm only installs them onwasm32.vp migrateasked to review theemulateMediabrowser command, as Vitest 5 passes locators to commands as serialized objects.emulateMediaonly takes media options, so it doesn't need changes.tsrs:typescript/await-thenablereported anawaiton a number in a probe file.getTscPath()workaround stays.Drops the task cache input exclusions of the
testandcitasks. Since Vite+ 1.6, Vite Task fingerprints a task's inputs as the task leaves them, so the files that a task writes itself, likelib/forvp pack, orcoverage/and Vite's cache forvp test, no longer make the next run miss the cache. A secondvp run ci --coveragehits the cache for every step.Also drops the
mkdir dist lib node_modules/.vite-tempstep in CI (vite-task#504 is fixed): cache hits restoredistandlib, andvp runcreatesnode_modules/.vite-tempwhen it loadsvite.config.ts. With all three deleted, a localvp run -v ci --coveragehits the cache for every step.🤖 Generated with Claude Code