Repository navigation
chore(deps-dev): bump vite-plus from ^1.6.0 to 1.8.0 and align the Vite alias - #437
Conversation
…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.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ 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.
| @@ -1,5 +1,5 @@ | |||
| import react from "@vitejs/plugin-react"; | |||
| import { defineConfig } from "vite"; | |||
| import { defineConfig } from "vite-plus"; | |||
There was a problem hiding this comment.
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)
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>


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
vpcommand dies with:What
vite-plus^1.6.0 → 1.8.0 (1.9.0 is blocked bymin-release-age=3— published today)vp migrate→ Vite alias aligned to the core vite-plus 1.8.0 expects, plus required overridesvp install→ lockfile regeneratedvitest/@vitest/*to 5.1.1 where present — the exact versions vite-plus 1.8.0 peers expectVerified 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.jsonoverrides now mapviteto@voidzero-dev/vite-plus-core@8.3.8001instead of the old 1.6.x core, fixingvp/ pack resolution when the CLI and alias disagree.Example apps (
react-example,vue-example) importdefineConfigfromvite-plusinstead ofvite. All unit tests switch test APIs fromvitesttovite-plus/test. Adds.vitest/to.gitignoreand a changeset patch note for@web3auth/auth. Lockfile regenerated with the new toolchain graph.Reviewed by Cursor Bugbot for commit d5a529d. Configure here.