chore(deps): update vite-plus to v0.2.8 - #859
Merged
Merged
Conversation
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #859 +/- ##
=======================================
Coverage 94.24% 94.24%
=======================================
Files 10 10
Lines 747 747
Branches 235 235
=======================================
Hits 704 704
Misses 40 40
Partials 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
renovate
Bot
force-pushed
the
renovate/vite-plus
branch
2 times, most recently
from
August 5, 2026 10:52
6f6eaec to
022af7f
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
fengmk2
approved these changes
Aug 5, 2026
fengmk2
added a commit
to voidzero-dev/setup-vp
that referenced
this pull request
Aug 6, 2026
…ows (#120) Fixes the recurring Windows flake where `sfw vp install` fails with `Command 'vp' not found in PATH` ~10.5s after spawn while vp is installed and on PATH (seen in this repo's CI and downstream, e.g. node-modules/urllib#859). Root cause (from the bundled JS inside the sfw-free v1.15.0 binary): on Windows, sfw's `resolveWindowsCommand` resolves the wrapped command by running `powershell.exe -NoProfile -Command "Get-Command vp ..."` through `child_process.exec` with a hard `timeout: 10000`. When a cold PowerShell start plus `Get-Command` module discovery exceeds 10s, exec kills the lookup, sfw swallows the error and throws the misleading not-found message. A genuine not-found returns in ~1s, so the ~10.5s timing identifies the timeout path. Change in `runViteInstall`: when an sfw-wrapped install fails with that exact signature, log a warning, warm the PowerShell command cache with an uncapped `Get-Command vp` (Windows only), then retry the install once. The retry runs against warm caches and fits sfw's 10s window. Healthy runs see no extra work, non-matching failures still fail immediately, and a genuinely missing vp fails on the retry. Tests cover the retry, the warm-up call shape, single-retry limit, non-matching failures, sfw-disabled runs, and a throwing warm-up. Worth filing upstream at SocketDev/sfw-free so the timeout itself gets fixed; this retry keeps CI green meanwhile.
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.
This PR contains the following updates:
0.2.7→0.2.80.2.7→0.2.8Release Notes
voidzero-dev/vite-plus (vite)
v0.2.8: vite-plus v0.2.8: monorepo target resolution, breaking VP_* environment variable renames, and install fixesCompare Source
Bare
vp dev/build/preview/packat a monorepo root now resolve a target package instead of silently running against the root, and three Vite+-specific environment variables move to theVP_*prefix without compatibility aliases. Two failures that broke Vite+ before it could run are also fixed: the crash on container images that ship no CA certificates, and the missing Rolldown binding under pnpm's global virtual store.Breaking Changes
Rename three Vite+-specific environment variables to the
VP_*prefix, with no compatibility aliases, so the old names stop working (#2312), by @jong-kyung:VITE_LOGVP_LOGVITE_GLOBAL_CLI_JS_SCRIPTS_DIRVP_GLOBAL_CLI_JS_SCRIPTS_DIRVITE_UPDATE_TASK_TYPESVP_UPDATE_TASK_TYPESUpdate any shell profile, CI job, or Dockerfile that sets the old names.
Highlights
vp dev,build,preview, andpackat a monorepo root: interactive shells get a fuzzy package picker, non-interactive runs list the candidates and exit 1 instead of building the root, and a new global-C <dir>flag or adefaultPackagesetting (a single directory, or an object mapping each of the four commands to its own directory) skips the prompt (#2031, #2305), by @fengmk2vite-plus, fixingCannot find module 'vite-plus/binding'under pnpmenable-global-virtual-storeand in standalone@voidzero-dev/vite-plus-coreinstalls (#2313), by @fengmk2vp pm cifor reproducible frozen-lockfile installs, andvp pm patch/vp pm patch-commitfor editing dependencies in place on pnpm, bun, and Yarn Berry (npm and Yarn Classic warn and exit successfully) (#2082, #2308), by @forehalo and @jong-kyungFeatures
8.1.5->8.2.0, rolldown1.2.0->1.2.2, oxlint1.75.0->1.76.0, oxfmt0.60.0->0.61.0, and Vite DevTools0.4.5->0.4.10(#2302, #2311), by @voidzero-guard[bot]. The new oxfmt and oxlint can flag code that passed before, so runvp fmtafter upgrading if your CI runsvp check..nvmrcwhen no other version source is present (#2244), by @BlankParticle@pnpm/exe.*package and generates native shims, sopnpmandpnpxwork instead of failing to exec (#2289), by @jong-kyungdist.integrityhash (#2310), by @jong-kyungFixes & Enhancements
vp configinstall the Git hook dispatcher without creating or modifying project hook scripts or staged-file configuration, so a custom.vite-hooks/pre-commitsurvives (#2280), by @TheAlexLichterpackages/<package>/<uuid>instead of using#in the path, which Node treated as a URL fragment and which broke dynamic imports inside installed packages (#2222), by @liangmiQwQvp update -gfollows a dist tag or range instead of silently resolving back tolatest,vp outdated -greports Wanted versus Latest, andvp update -g --latestexplicitly moves packages back tolatest(#2249), by @TheAlexLichtervp create --package-manageroutside monorepos instead of inheriting the manager from a non-monorepo ancestor directory (#2226), by @jong-kyungvite:librarytemplate into a directory that contains only.git, while still refusing to overwrite existing user files (#2287), by @RSS1102vp <command> --helpmatches the installed toolchain instead of drifting (#2184), by @liangmiQwQtypeAwareandtypeCheckoptions inherited through Oxlintextends, sovp check --no-lintruns and classifies type checking correctly (#2228), by @jong-kyung(no version)instead ofunknownwhen globally installing a local package that has noversionfield (#2232), by @liangmiQwQRefactor
VP_GIT_HOOKS, keepingVITE_GIT_HOOKSworking as a deprecated alias (#2195), by @dennybiasiolliDocs
vpinstallation step in the onboarding prompt (#2291), by @Arcadi4Chore
vite-pluspeer of oxfmt and oxlint on every install (#2321), by @fengmk2@emnapipeers where@napi-rs/cliis used (#2319), by @jong-kyungrollup-testsfrom the workspace and updatebasic-ftp(#2322), by @fengmk2EnvConfigfields (#2320), by @jong-kyungvpprocess, and kill it before its children, in theenv_install_interruptsnapshot test (#2299, #2316), by @fengmk2vitest_browser_modesnapshot test (#2297), by @fengmk2Bundled Versions
8.2.0fa79f9a1.2.2872b98a0.22.144.1.101.76.07.0.20010.61.0Upgrade
New Contributors
@jbmusso, @Arcadi4, @dennybiasiolli, @RSS1102
Full Changelog: voidzero-dev/vite-plus@v0.2.7...v0.2.8
Published Packages
@voidzero-dev/vite-plus-core@0.2.8vite-plus@0.2.8Installation
macOS/Linux:
curl -fsSL https://vite.plus | bashWindows:
Or download and run
vp-setup.exefrom the assets below.Docker:
docker run --rm -it -v "$PWD:/app" -w /app ghcr.io/voidzero-dev/vite-plus:0.2.8 vp buildRun any
vpcommand without installing it; see the Docker guide for more.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.