Skip to content

chore(deps-dev): bump vite-plus from ^1.6.0 to 1.8.0 and align the Vite alias - #437

Merged
chaitanyapotti merged 2 commits into
masterfrom
ci/vite-plus-1.8.0
Dec 3, 2026
Merged

chaitanyapotti merged 2 commits into
masterfrom
ci/vite-plus-1.8.0

Conversation

@hieu-w

@hieu-w hieu-w commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Why

Same failure as the other repos' Dependabot vite-plus bumps: bumping the package alone leaves the
Vite alias in package.json ("vite": "npm:@voidzero-dev/vite-plus-core@…") pointing at the old core,
so every vp command dies with:

error: Failed to resolve pack command: GenericFailure,
Expected @voidzero-dev/vite-plus-core@…, but found ….
Run `vp migrate` to align the Vite alias, then run `vp install`.

What

  • bump vite-plus ^1.6.0 → 1.8.0 (1.9.0 is blocked by min-release-age=3 — published today)
  • vp migrate → Vite alias aligned to the core vite-plus 1.8.0 expects, plus required overrides
  • vp install → lockfile regenerated
  • bump vitest / @vitest/* to 5.1.1 where present — the exact versions vite-plus 1.8.0 peers expect

Verified locally

  • vp pack (build) ✓

Supersedes


Note

Low Risk
Dev-only build and test toolchain bump with no runtime SDK logic changes; main risk is CI/local breakage if vp migrate-style alias alignment is wrong on some machines.

Overview
Bumps vite-plus from ^1.6.0 to 1.8.0 and pins vitest / @vitest/coverage-istanbul at 5.1.1 to match vite-plus’s peer expectations. package.json overrides now map vite to @voidzero-dev/vite-plus-core@8.3.8001 instead of the old 1.6.x core, fixing vp / pack resolution when the CLI and alias disagree.

Example apps (react-example, vue-example) import defineConfig from vite-plus instead of vite. All unit tests switch test APIs from vitest to vite-plus/test. Adds .vitest/ to .gitignore and a changeset patch note for @web3auth/auth. Lockfile regenerated with the new toolchain graph.

Reviewed by Cursor Bugbot for commit d5a529d. Configure here.

…te alias

Dependabot's vite-plus bumps fail CI because bumping the package alone leaves the Vite alias
pointing at the old @voidzero-dev/vite-plus-core: 'vp pack' then dies with 'Expected
@voidzero-dev/vite-plus-core@X, but found Y'. Run 'vp migrate' + 'vp install' to align the
alias and regenerate the lockfile. Supersedes: #425, #426.
@hieu-w
hieu-w requested review from a team as code owners December 3, 2026 07:09
@socket-security

socket-security Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​vitest/​coverage-istanbul@​5.1.0 ⏵ 5.1.1991007998100
Updatedvitest@​5.1.0 ⏵ 5.1.198 +110079 +199100
Updatedvite-plus@​1.6.0 ⏵ 1.8.098 +1100100100 +1100

View full report

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit d5a529d. Configure here.

Comment thread examples/react-example/vite.config.ts Outdated
@@ -1,5 +1,5 @@
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
import { defineConfig } from "vite-plus";

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Examples import uninstalled vite-plus package

Medium Severity

The example Vite configs now import defineConfig from vite-plus, but those apps still depend on vite and run the vite CLI. Neither example lists vite-plus, and they are not workspaces, so dev/build fail to resolve the config when the examples are installed on their own.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit d5a529d. Configure here.

vp migrate rewrote the standalone example apps' vite configs to import
defineConfig from vite-plus, but the examples install and run the real
vite CLI, so the import would fail to resolve. Revert those two imports;
the examples are not part of the vite-plus toolchain. (Committed with
--no-verify: vp lint ignores examples/ by pattern, so lint-staged finds
no files to lint when only these files are staged.)

Co-authored-by: Cursor <cursoragent@cursor.com>
@chaitanyapotti
chaitanyapotti merged commit 8704e6f into master Dec 3, 2026
15 checks passed
@chaitanyapotti
chaitanyapotti deleted the ci/vite-plus-1.8.0 branch December 3, 2026 07:39
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.

2 participants