Skip to content

Update Vite+ to 1.7.0 and rolldown to 1.3.3, and drop the Vite Task cache workarounds - #4292

Merged
nstepien merged 3 commits into
mainfrom
vite-plus-1.7
Nov 23, 2026
Merged

nstepien merged 3 commits into
mainfrom
vite-plus-1.7

Conversation

@nstepien

@nstepien nstepien commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Updates vite-plus to 1.7.0 with vp migrate (without --full, which only bumped the versions). 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. rolldown 1.3.3 adds @rolldown/binding-wasm32-wasi to its optional dependencies, so the lockfile lists it and its dependencies, including @emnapi/core and @emnapi/runtime 2.0.0-beta.2, but npm only installs them on wasm32.

  • vp migrate asked to review the emulateMedia browser command, as Vitest 5 passes locators to commands as serialized objects. emulateMedia only takes media options, so it doesn't need changes.
  • oxlint 1.94 has no new rules in the plugins we enable.
  • Type-aware rules still run with tsrs: typescript/await-thenable reported an await on a number in a probe file.
  • tsdown still only detects TypeScript 7.0 as TypeScript 7, so the getTscPath() workaround stays.

Drops the task cache input exclusions of the test and ci tasks. 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. A second vp run ci --coverage hits the cache for every step.

Also drops the mkdir dist lib node_modules/.vite-temp step in CI (vite-task#504 is fixed): cache hits restore dist and lib, and vp run creates node_modules/.vite-temp when it loads vite.config.ts. With all three deleted, a local vp run -v ci --coverage hits the cache for every step.

🤖 Generated with Claude Code

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>
nstepien and others added 2 commits November 23, 2026 01:44
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>
@nstepien nstepien changed the title Update Vite+ to 1.7.0 and rolldown to 1.3.3 Update Vite+ to 1.7.0 and rolldown to 1.3.3, and drop the Vite Task cache workarounds Nov 23, 2026
@nstepien
nstepien merged commit 5c6c611 into main Nov 23, 2026
7 checks passed
@nstepien
nstepien deleted the vite-plus-1.7 branch November 23, 2026 03:01
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