npm / vite-plus
vite-plus
What changed in vite-plus 0.1 to 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.
67 breaking24 security3 deprecations62 new APIs and options11 performance47 behavior and defaults30 tooling118 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initvite-plus 1177 changes
Breaking changes 20
A query matching every environment-variable name returns nothing and no longer adds every environment variable to the cache key.
The bundled Oxfmt formats Vue files with its own formatter instead of Prettier, which can change Vue template output.
A missing workspace package now produces an error and exit code 1 instead of silently running nothing; ambiguous short names also fail.
Folder listings now track entries named
dist, and task input exclusions also apply to listed folders, affecting cache misses when folders appear or disappear.Dist-tag lookups accept only a valid semver version from the registry, preventing registry-provided shell commands from reaching the shell wrapper.
Browser mode now uses port 23315 by default.
Moves oxnode and transpile-only ts-node commands, Node.js preloads, and literal NODE_OPTIONS values to vpx and vite-plus/register; leaves type-checking ts-node commands unchanged with a warning.
Removes the tsx dependency despite comments containing tsx commands or code fences, while retaining it for required JSDoc type imports.
In npm projects, checks workspaces instead of transitive dependencies and requires npm 7.14.0 or later.
Downloads of Node.js, package managers, and upgrades no longer accept HTTPS certificates issued through distrusted emSign intermediates.
Resolves the npm registry and credentials as npm does, honoring userconfig and globalconfig and matching registry hosts regardless of case.
Finds the monorepo root like vp run and vp install; at a monorepo root without vite.config, it no longer picks up a config from the parent directory.
A package inside a workspace folder but not listed as a workspace member now runs its own tasks with its own packageManager.
The coding agent picker lists Claude Code under AGENTS.md and no longer offers a separate CLAUDE.md option; --agent claude and existing CLAUDE.md files still work.
Hooks use the inherited environment with the project's
node_modules/.binfirst and no longer append legacy Vite+ bin directories toPATH.Commands fail when the project's package manager does not support a named option instead of silently dropping it and continuing.
Asks users to type boom instead of uninstall to confirm.
The CLI now requires Node.js ^22.18.0 || ^24.11.0 || >=26.0.0.
Task cache settings move under
cache; projects on v1.0.0-rc.0 whose tasks setenv,untrackedEnv,input, oroutputshould runvp migrateto move those settings.Has new Node.js and Git minimums.
Security 16
Downloaded package managers are checked against the integrity hash in the project's packageManager field rather than the registry-reported hash, preventing a registry from supplying a mismatched package manager.
The CLI includes a fix for denial of service through glob pattern amplification.
Removes only verifiable Vite+ installations and refuses dangerous paths, even with --yes, to prevent unrelated file deletion.
Refuses potentially destructive paths even when --yes is supplied, protecting unrelated files when VP_HOME points elsewhere.
Fresh Bun installs verify the integrity hash in a packageManager pin and reject a mismatched download.
Skips package binaries with unsafe names or targets instead of linking them.
Vitest: Servers misapply
server.fs.deny, serving.env, private keys,.git, and the API token fileThe installer verifies each downloaded platform archive against the registry's SHA-512 integrity digest and stops if it is missing or mismatched.
Stops processing organization template archives that exceed fixed size, compression-ratio, or entry-count limits.
launch-editor: Editor CLI flag misinterpretation causing arbitrary command execution for some editors
launch-editor: escapeCmdArgs() omits % escaping on Windows
launch-editor:
fs.existsSync()existence check can be bypassed on WindowsVite: Cross origin script execution through Vite custom middleware
Vite: Files outside
server.fs.allowcould be served when project paths match system paths on non-Windows machineVite: First 4 bytes of files outside of
server.fssetting is exposed by?vite-wasm-instanceStandalone installs and
vp upgradeverify release provenance.
New APIs and options 31
The bundled Oxlint rule gains an
ignoreDeclarationMergeoption.Runs remaining enabled checks after a failure and exits with the status of the first failed check.
When set to
1, Vite+ avoids downloading Node.js or package-manager versions and uses system tools; delegated package-manager commands such asvp installandvp runfail while it is set.Shows the commands a run would start and whether each would hit the cache, without running commands or writing to the cache.
Prints workspace packages and tasks as JSON; combined with
--dry-run, prints a JSON run plan with each step's cache status.Lists every change behind a cache miss, including each changed input file;
-vvalso lists unchanged inputs and outputs restored by a cache hit.vp,vpr, andvpxset this environment variable for child processes so tools can detect that Vite+ started them; delegated local CLIs report their local version.Rolldown supports experimentalInlineCommonChunks in dev mode.
Vitest adds the --last-failed option.
Run TypeScript through Node.js with the same loader as vpx, including when tools start Node.js themselves.
Resolves config relative to the config file's directory rather than process.cwd(), helping editor plugins load the right project in multi-folder workspaces.
Vitest adds the --since-last-run option.
Run with --refresh to regenerate env.nu with the updated Nushell completions.
Runs the oxnode and ts-node migration for a project already on Vite+.
The -g shorthand selects the global toolchain.
With system_first, vp node and vp env exec run the system tool the shell would find instead of downloading and running managed Node.js.
Fails the check on lint warnings, so CI can avoid a separate lint run with --deny-warnings.
Creates and destroys registry organization teams and adds, removes, and lists their members.
Selects the Node.js version the installer uses for the CLI's dependencies, allowing CI to use the project's version and avoid downloading a second Node.js.
Set to 1 to resolve global CLI JavaScript dependencies again if installation from the release lockfile fails.
Reruns a script when a file it uses changes.
Runs TypeScript or JavaScript files on the project's Node.js with Vite+'s oxc-node loader; watch mode reruns files when their dependencies change.
Run Vite+ project creation through a package manager without installing the global vp CLI.
The vp pm licenses command accepts this option for machine-readable output.
The bundled Rolldown update adds the output.charset option.
List dependency licenses through supported package managers.
Get, set, delete, and fix package.json through the detected package manager, subject to the stated package-manager version requirements.
Vite+ supports authenticated private npm registries.
Detailed output shows the cache input and output exclusions that allow a task to be cached.
Bun 1.4.1+ receives the --offline option.
Bun 1.4.1+ receives the --prefer-offline option.
Performance 9
Checks cache entries in parallel when several tasks become ready at the same time, so cache hits start sooner.
Starts faster when workspace tasks share cache input and output patterns because each pattern is parsed once.
Starts sooner in npm projects because vp reads the npm version from npm's package.json instead of running npm --version.
Finishes sooner after cache misses because it no longer waits for the disk after saving each result; a crash can lose saved entries.
Import rewriting is up to 14 times faster on large projects.
Tasks start faster on Linux.
Concurrent commands needing the same uninstalled Node.js version download it once; others wait and reuse the installation.
Sourcing the environment script in POSIX shells is much faster with a long
PATH.Reaches the local URL about 24% sooner and uses about 30% less parent-process memory because Vite and Vitest are no longer loaded there before the dev server starts.
Behavior and default changes 26
Prints
Updatedwhen overwriting an existing.node-versionor.nvmrc, andCreatedwhen writing a new file.Tasks that read and write the same files are now cached; cache hits restore those files and task outputs, including symbolic links.
Suggests full command names before aliases, while keeping an alias available when no full name matches.
The installer and vp upgrade use the Node.js version pinned by the release to install global CLI dependencies, rather than the latest LTS.
CSS imported from dependencies with ?inline is inlined.
The --env-file option can be repeated to load several environment files.
vpx and vite-plus/register resolve a .jsx specifier to its .tsx or .ts source.
The installer and vp upgrade install global CLI JavaScript dependencies from a lockfile published with each release, giving installations of a version the same dependency versions.
vp migrate keeps existing .nvmrc files instead of converting them to .node-version, preserving compatibility with tools that read .nvmrc and keeping the selected Node.js version unchanged.
Shows the file and field changed; package-manager pins from a workspace member update the workspace root package.json.
On supported pnpm versions, registry commands use pnpm's own commands and authentication; owner and publish use Yarn's own commands, following that package manager's registry configuration and authentication.
Accepts npm dist-tags in package-manager specs; pin resolves the tag to an exact version, while default follows the tag on each use.
Prints one result line per task instead of the task list and Git progress, while keeping warnings, errors, and rollback results visible.
After a successful upgrade, reminds users of projects on an older Vite+ version to run vp migrate.
On macOS, tasks can run Node.js single executable applications and
deno compileoutputs.Oxfmt formats TOML in Markdown code blocks and frontmatter.
On additional platforms without file-access tracking, tasks must configure both input and output explicitly to be cached.
Adds legacy tsdown compatibility settings only for projects using an older tsdown, preserving modern defaults for later versions.
The summary reports cache hits among cache-enabled tasks and counts successful tasks instead of failed tasks.
When a task reads and writes the same file and cannot be cached, its summary explains that it modified its inputs.
Tasks run through
vp runremain cacheable with Vitest's on-disk caches enabled by default.Shows a progress bar while downloading the new platform package.
vp migrate now keeps the React Refresh option because the bundled Oxlint supports it.
Prompts render boxes, logs, and wrapped text consistently, with clearer hints, validation, and navigation instructions.
Sets npm_execpath and npm_config_user_agent for npm, pnpm, and Yarn so tools use the project's package manager instead of falling back to npm.
When run from a package directory, uses the same config as your editor.
Tooling 13
Completion skips comment keys in package.json scripts, matches task names containing colons, and shows each task's command as its description in Zsh and Fish.
Install vp from the official Homebrew tap on macOS and glibc Linux.
Oxfmt adds an HTML formatter.
The tsdown config now has a JSON schema.
Oxlint adds the type-aware typescript/no-unsafe-enum-assignment rule.
Warns when Rollup, Rolldown, or Jest dependencies have matching configuration and explains how to move them to Vite, tsdown, or Vitest.
Version 0.8 is accepted as a peer dependency alongside 0.7.
Shows the file and field changed; package-manager pins from a workspace member update the workspace root package.json.
Offers to convert tsx script invocations and shebangs to vpx, including watch invocations; projects already on Vite+ can get the offer with --full.
Converts Oxlint configs extending shared JSON files into TypeScript modules imported through lint.extends so inherited rules continue to apply.
Generated generators add
rootDir: "src"totsconfig.jsonand use Zod 4 option schemas.Keeps Oxlint rules written with plugin aliases and removes unsupported rules, listing removed rules in a warning.
Uses vitest@5.0.1.
Fixes and other changes 62
On macOS, task commands using
shorbashbehave as on Linux; shell loops, exit traps, failed-task status, and$BASHhandling are corrected.Oxlint and Oxfmt resolve an unset or relative
rootfrom the config file's directory instead of the current directory, helping editor integrations in multi-root workspaces load the correct project.Uses the package-manager version selected by
VP_PACKAGE_MANAGERfor generated settings, installation, and the summary.Avoids writing unresolvable package specs, handles catalog references for Bun projects with empty workspaces, and aligns child-package Vite+ ranges with the root when catalogs cannot be used.
Avoids several unnecessary cache misses and failures, including for deleted or moved files on Windows, tasks reading the task cache directory, and writes outside the workspace through
...Cache hits restore symbolic links matched by a task's output globs as links instead of dropping them.
Loads a package's config only when the run reaches one of its tasks, so unrelated or broken configs in other packages no longer block the run.
Sends a
User-Agentheader on all HTTP requests so Node.js mirrors that reject requests without one can work.Calls fish built-ins through builtin so vp env use can change the Node.js version when a user function shares a built-in's name.
Passes --no-git-init to create-react-router so the generator's initial commit does not stop setup when no Git identity is configured.
Migration changes only return statements of defineConfig callbacks, preserving returns in nested functions; it keeps standalone config files and requests a manual merge when merged settings cannot be applied.
Works with Yarn Berry because Vite+ passes remove to yarn npm tag.
Tasks launched when the run block is not statically analyzable receive blocking stdin again, allowing interactive prompts to wait for input instead of failing with EAGAIN.
The Node.js latest alias resolves to the newest stable release, not an alpha build, across the listed vp env commands and .nvmrc; list-remote marks that stable release latest.
The lint rule and autofix preserve vite and vitest imports retained by vp migrate, avoiding breakage for packages with plain Vitest users.
Dependency filters such as --prod and --dev work with npm 6; filters npm 6 cannot apply are rejected instead of passed through.
Waits and retries when another linked git worktree holds the shared git config lock, preventing concurrent installs from failing in prepare scripts.
When the target path is a symbolic link, removes only the link after confirmation instead of deleting the linked directory's contents; the overwrite prompt names symbolic links and files.
With npm, runs the right executable for scoped packages such as @angular/cli.
Reports Node.js resolution failures, unreadable config, failing system node, and missing shims as errors with exit code 1; warning-only summaries say Some warnings found.
Concurrent global installs no longer delete each other's active package, and commands no longer run a package-manager shim before it is executable.
Partial versions such as 22 work for project commands including vp build, vp run, and vp list instead of failing with a 404 download error.
Generated settings no longer force typeAware and unusedDisableDirectives, so editor diagnostics follow lint.options in vite.config.ts; existing settings stay unchanged.
Keeps promise-valued plugins unchanged so plugins that find themselves through properties on their promise work under Vite+.
Regenerating env.nu with vp env setup fixes startup in Nushell 0.112.1 and later when a user-defined command shadows a built-in called by the file.
A dry-run uninstall no longer removes the package's commands from Vite+.
Its autofix leaves vite/rolldown and vite/rolldown/* imports unchanged rather than rewriting them to unexported subpaths.
Cached tasks no longer miss the cache when only pnpm's node_modules/.modules.yaml differs, including after pnpm version changes or installs with --ignore-scripts.
Mistyped or misplaced task settings now produce an error naming the setting, such as unknown field outputs.
Finds the monorepo root the same way as vp run and vp install.
In PowerShell, a bare -- is forwarded again, allowing options such as --template to reach create-vite.
A failed global install restores existing executables and npm links instead of deleting files it did not create.
Leaves vite/rolldown and vite/rolldown/* imports unchanged rather than rewriting them to unexported vite-plus/rolldown subpaths.
Keeps package.json workspaces when selecting pnpm for a project without a lockfile, so recursive commands continue to include them.
Partial versions such as 22 now resolve to an exact release in vp env install, vp env exec, and vp env clean instead of failing with a 404.
No longer panics on scripts containing non-ASCII characters or truncates those commands in output.
On Windows, waits for a child process to finish Ctrl+C cleanup and exits with its code.
Now takes effect in vp dev, vp build, and vp preview.
Shows task output when used with vp staged.
The bundled update fixes browser mode, hook cleanup after a failing hook, and --changed with quoted file names.
Prints Vite's ready in N ms line, preventing scripts that wait for it from timing out after vp migrate.
Stops when the build output is missing, matching vite preview behavior.
Works when the PowerShell profile enables
Set-StrictModeand leaves the caller's strict mode unchanged.Node.js and package-manager version ranges follow npm's semver rules.
Line disable comments apply to type-aware diagnostics again; comments moved for v1.1.0 need to move back above the statement.
Dependency reinstalls, installs at another path, and pnpm dependency rechecks no longer cause task cache misses.
Cached tasks can run scripts with shebang interpreter paths longer than 126 bytes.
In PowerShell, failing commands set
$?toFalseand stop&&chains, matching direct calls tovp.exe.Skips Git config writes that change nothing, preventing concurrent setup in linked worktrees from failing after the first setup.
Keeps Prettier and continues migration when the Prettier config uses a format bundled Oxfmt cannot read.
Fails with an error suggesting
vp cache cleanwhen outputs from a cache hit cannot be restored.Concurrent tasks writing to a full output pipe no longer cause every task to stop.
On Windows, one Ctrl+C stops vpr scripts and managed Bun, pnpm, npm, and Yarn commands without leaving cmd.exe stuck at the termination prompt.
Playwright browser provider options keep their types.
In an existing pnpm workspace, adds the catalog entries the new application needs so installation does not fail with ERR_PNPM_CATALOG_ENTRY_NOT_FOUND_FOR_SPEC.
Leaves projects without a declared package manager unpinned, keeps existing declarations, and points to vp env pin when it infers one.
Reports a short error for a directory without package.json instead of an ENOENT stack trace.
Finds installed Vue language tools and TypeScript Go for declaration generation with isolated dependency layouts such as pnpm's global virtual store.
On Windows, watch mode rebuilds with the new options after the config file changes.
In Bun projects, falls back to npm as its warning says.
Yarn Classic accepts a single --filter option.
Runs the Vitest doctor and complete subcommands instead of treating them as test file filters.
vite-plus 0.397 changes
Breaking changes 36
vp migrateremoves the unsupported React Refresh option and warns about possible lint errors.The bundled format version is updated; run
vp fmtafter upgrading if CI runsvp check.The bundled formatter is updated, and the new formatter can flag code that passed before; run vp fmt after upgrading if CI runs vp check.
The bundled lint version is updated and can flag code that passed before.
This file is no longer read or migrated; run vp env use again to create the new session files.
Use this variable to select the Bun version for direct Bun commands; VP_PACKAGE_MANAGER no longer controls those commands.
This variable now controls only Node.js; scripted installations should set VP_PM_MANAGER to apply the same choice to package managers.
Use this variable to select the npm version for direct npm commands; VP_PACKAGE_MANAGER no longer controls those commands.
This variable still selects the manager and version for vp install and related commands, but no longer selects versions for direct package-manager commands.
Use this variable to select the pnpm version for direct pnpm commands; VP_PACKAGE_MANAGER no longer controls those commands.
Use this variable to select the Yarn version for direct Yarn commands; VP_PACKAGE_MANAGER no longer controls those commands.
Replace
bundle: falsewithunbundle: truewhen migrating tsdown configuration.Vite+ removes the Corepack shim and legacy global package-manager installations; use managed package-manager commands instead.
Replace this option with
deps.neverBundle: truewhen migrating tsdown configuration.Replace
dts.oxc: truewithdts.generator: 'oxc'when migrating tsdown configuration.Replace
dts.tsgo: truewithdts.generator: 'tsgo'when migrating tsdown configuration.Replace this option with
css.injectwhen migrating tsdown configuration.Replace this option with
deps.onlyBundlewhen migrating tsdown configuration.tsdown no longer supports Node.js 25; use
^22.18.0,^24.11.0, or>=26.0.0.Replace this option with
deps.alwaysBundlewhen migrating tsdown configuration.Replace this option with
outExtensionswhen migrating tsdown configuration.Replace this flag with
--copywhen migrating vp pack usage.Replace this option with
copywhen migrating tsdown configuration.Replace
removeNodeProtocol: truewithnodeProtocol: 'strip'when migrating tsdown configuration.Replace
skipNodeModulesBundle: truewithdeps.neverBundle: truewhen migrating tsdown configuration.Now rejects unsupported options and extra positional arguments; replace
vp config --hooks-onlywithvp config --no-agent.Now rejects unsupported options and extra positional arguments.
JSON output now contains
nodeandpackage_managerobjects, so scripts consuming the previous structure need updating.JSON output now contains
nodeandpackage_managersgroups, so scripts consuming the previous structure need updating.Now rejects unsupported options and extra positional arguments, and can repair stale Vitest aliases that previously prevented the CLI from starting.
Now uses tsdown 0.23, which removes deprecated options and changes defaults; migrate supported static configurations and update dynamic configurations manually.
Now rejects unsupported options and extra positional arguments; remove unsupported arguments from scripts.
Vite+ rejects this option.
Vite+ rejects this option.
Vite+ rejects this option.
Bare app commands at a workspace root use defaultPackage or detected root configuration before selecting a member; workspaces without member packages run the command in the root.
Security 1
The command rejects malformed registry versions that could place organization template files outside the cache directory.
Deprecations 1
The command warns about unsupported check options.
New APIs and options 17
Use --target nvmrc with vp env pin to select the .nvmrc file explicitly.
Custom Oxlint rules can import their APIs from this package.
Use this variable to set an individual Bun installer preference.
The command updates an active local .nvmrc and preserves its comments; use --target nvmrc to select that file explicitly.
Use this variable to set an individual npm installer preference.
Set this variable in scripted installations to apply a package-manager preference alongside VP_NODE_MANAGER.
Use this variable to set an individual pnpm installer preference.
Use this variable to set an individual Yarn installer preference.
Added to
vp checkto hide lint warning diagnostics while retaining errors and summary counts.Add
nodeto limit the operation to Node.js, since unscoped environment commands now cover Node.js and package managers.Sets a project version for a package manager.
Add
nodeto limit the operation to Node.js, since unscoped environment commands now cover Node.js and package managers.Added so automation can request dependency alignment plans from manifest snapshots without changing project files.
Setting VITE_GIT_HOOKS=0 disables hooks and makes
vp configskip the Git lookup.With Bun 1.4 or later, sends
--catalogto Bun.Shell integrations accept the global -C flag;
vp -C <dir> env usechanges the environment of the current shell, and -C<dir> and -C=<dir> forms also work.Older GitLab setup-vp templates continue to use the legacy layout; a template can select the new layout with this variable.
Performance 1
The wrapper enables Node's compile cache before loading the CLI, reducing repeated startup work.
Behavior and default changes 12
The programmatic build API now returns
{ bundles, watch }.Package-manager versions are resolved without rewriting
package.json; usevp env pinorvp env unpinto change project declarations explicitly.Suggests an initial commit command after Git initialization.
Unscoped commands now operate on Node.js and package managers; package managers support independent defaults, project pins, session overrides, and installation commands.
Setting HUSKY=0 disables hooks and makes
vp configskip the Git lookup.When the server accepts range requests, an interrupted runtime download continues from bytes already on disk instead of starting over.
Fresh installs use XDG base directories on Unix and standard known folders on Windows; existing installs keep their layout, and the installer does not move their files.
Runs in a separate process, so commands no longer wait for the registry; an available update is reported during a later command.
With Bun 1.4 or later, sends
--filterto Bun.Setting VP_GIT_HOOKS=0 disables hooks and makes
vp configskip the Git lookup.Setting VP_HOME selects the single-root layout instead of the split directory layout.
With --no-config, does not read the Vite config, so local vite.config.* files, their pack options, and hooks do not run.
Tooling 10
Homebrew installations complete setup once, retain their bundled CLI, and direct upgrades to brew upgrade vite-plus.
New monorepo packages use the root lint configuration without a conflicting nested configuration.
Yarn and Bun warn when a command does not support this option; Yarn Classic accepts root additions through
vp addandvp install <packages>.Automatic Vitest upgrades remain on the supported 4.x major.
vp migratereplaces frozen workflow references with the supported version pin.Replaces
corepack enableas the setup command for Vite+'s managed package-manager commands.With Bun 1.4 or later, runs
bun dedupe, including--check.Converts tsup projects by replacing the dependency and script with vp pack, and changing tsup.config.ts to tsdown.config.ts importing from vite-plus/pack.
With Bun 1.4 or later,
vp pm audit --fixrunsbun audit fix.With Bun 1.4 or later, runs
bun prune.
Fixes and other changes 19
Rust command output now respects the
NO_COLORenvironment variable.Commands find lowercase shims in directories with case-sensitive file names.
Windows installations correctly decode remote legacy PowerShell scripts.
Yarn Classic rejects filtered additions and removals instead of changing unintended dependencies.
Yarn Berry rejects unsupported filtered updates and respects filters during recursive removal.
Newly scaffolded local generators honor --no-interactive and report missing arguments without prompts; existing generators need the updated entrypoint.
Nested package-manager commands retain the selected Node runtime and package-manager versions.
Newly scaffolded local generators honor this option and report missing arguments without prompts.
The command now honors --ignore-scripts for named packages and managed global installations.
Fixes HTTP 404 responses caused by separate Vite runtime copies.
Skips Git lookup when hooks are disabled through HUSKY=0, VP_GIT_HOOKS=0, or VITE_GIT_HOOKS=0, allowing it to run in a container without Git.
Asks once about Git and runs
git initonce.Does not ask about pre-commit hooks when Git initialization is declined.
Resolves relative PATH entries such as ./node_modules/.bin against the command's working directory.
--concurrentaccepts true, false, or a number greater than 0 and rejects other values.--no-concurrentworks again.Under pnpm, catalog references such as
"vite": "catalog:"stay unchanged during an update.With -g, asks npm for globally installed package versions; a project-level setting no longer makes the lookup fail and hide an available update.
In zsh, Fish, Nushell, and PowerShell, completion preserves the working directory when changing the command to
vp run.
vite-plus 0.284 changes
Breaking changes 11
Rejects a workspace member as the migration target and tells users to run the command from the workspace root.
Broad workspace globs no longer find and run package scripts inside
node_modules.The bundled Vite, Rolldown, Oxlint, Oxfmt, and Vite DevTools versions are upgraded; the new Oxfmt and Oxlint may flag code that passed before.
At a monorepo root, vp dev, build, preview, and pack resolve a target package instead of running against the root; interactive runs prompt, while non-interactive runs list candidates and exit 1.
This environment variable is replaced by VP_GLOBAL_CLI_JS_SCRIPTS_DIR with no compatibility alias.
This environment variable is replaced by VP_LOG with no compatibility alias; update shell profiles, CI jobs, and Dockerfiles.
This environment variable is replaced by VP_UPDATE_TASK_TYPES with no compatibility alias.
Use VP_GLOBAL_CLI_JS_SCRIPTS_DIR in place of the removed VITE_GLOBAL_CLI_JS_SCRIPTS_DIR environment variable.
Use VP_LOG in place of the removed VITE_LOG environment variable.
Global updates retain the recorded version spec and follow a dist tag or range; --latest explicitly moves packages back to latest.
Use VP_UPDATE_TASK_TYPES in place of the removed VITE_UPDATE_TASK_TYPES environment variable.
Security 3
Downloaded bun platform tarballs are verified against the registry dist.integrity hash.
Keeps the image non-root by default while allowing passwordless
sudofor Playwright browser dependencies and system packages.The bundled Vitest Browser Mode packages move to 4.1.10, fixing a critical issue where provider commands could bypass the file access permission gate.
Deprecations 2
VITE_GIT_HOOKS continues to work as a deprecated alias for VP_GIT_HOOKS.
The Git hooks environment variable is renamed to VP_GIT_HOOKS; VITE_GIT_HOOKS remains a deprecated alias.
New APIs and options 14
Sets the download timeout in seconds; Node.js and package-manager tarballs now use a 10 minute timeout by default.
Sets a custom hooks directory, which Vite+ keeps for later commands.
Manages the Vite+ Git-hook dispatcher, including its enable, disable, and status operations.
Prints the active release’s tools, versions, and bundling relationships as a tree; a tool name selects part of the tree.
Selects the global release’s toolchain tree.
Adds machine-readable output for the toolchain tree.
A new global flag selects a directory and skips the monorepo package prompt.
Configure a default package directory, or map each of dev, build, preview, and pack to its own directory, to skip the monorepo prompt.
With vp update -g, this flag explicitly moves global packages back to latest.
Adds a command for reproducible frozen-lockfile installs.
Adds a concurrency limit for parallel Rolldown builds.
Adds a command to remove unused managed Node.js runtimes and package-manager caches.
Adds a command that forwards native version commands to npm, pnpm, Yarn, and Bun.
Creates
vp-use.cmdafter the Windows environment bin directory is ready; it is for Command Prompt only.
Performance 1
Reduces standalone binary sizes by about 5% on Linux and macOS and 19% on Windows.
Behavior and default changes 9
Task caching and input tracking now work in the default Codex CLI and Claude Code sandboxes without extra sandbox permissions.
Warns when falling back to the global CLI in a project without project-local
vite-plus, with guidance based on whether the project declares the dependency.Vite+ reads the Node.js version from .nvmrc when no other version source is present.
Global outdated reports now show Wanted versus Latest.
When a built-in command and a package script share a name, users are pointed to vpr <name> to run the built-in command.
Bundled type-aware linting moves to stable tsgolint 7.
Caching now supports much larger automatically tracked input sets, improving run reliability.
The bundled Vite update includes inlined CSS after the shebang line, CSS preload for nested dynamic imports, and an SSR stacktrace column fix.
The global vp now honors a user-set VP_HOME for its home directory and persists it in generated env files, avoiding multiple instances or unusable packages.
Tooling 7
Disable nested Oxlint config resolution so the Vite+ config stays authoritative.
JetBrains editors can now be selected in the editor setup question, which writes the Oxc plugin ID to
.idea/externalDependencies.xml.Show a byte progress bar so slow downloads no longer look stopped.
Shows dependencies whose install scripts npm 12 blocked and runs the approval and rebuild commands to approve them.
Vite+ supports pnpm v12 by downloading its platform-specific executable package and generating native shims, so pnpm and pnpx work.
Build output no longer includes the redundant Vite startup banner.
Declaration generation and generated library projects support TypeScript 7.
Fixes and other changes 37
Managed
bunxshims dispatch throughbun x, preventing a package command from recursively starting a matching package script.Selects the baseline build on x64 CPUs without AVX2; cached installations keep their current files.
Generated files now escape and normalize paths correctly, allowing
VP_HOMEpaths containing spaces or quotes to load.Type exports add
.jsextensions to relative shim specifiers so they resolve withNodeNextmodule resolution.Print paths and working directories without Rust debug formatting, avoiding quoted paths and escaped Windows backslashes.
Fixes the bundled dev client path so startup no longer crashes with
ENOENTwhen this option is enabled.Exact command help shows local themed help, while help with additional arguments goes to the bundled tool; deep and subcommand help remain complete.
Yarn 2+ pins from
corepack usenow verify against the extracted CLI rather than the npm tarball, fixing cold-cache installs.Partial Node.js versions such as
22now resolve to an exact release, including for shim-dispatched commands.No longer downloads Yarn again on every run when using Yarn 2+ pins from
corepack use.The shared HTTP client retries with the bundled Mozilla root list when container images have no CA certificates, and reports an error rather than panicking if it still cannot be built.
Immutable global packages are nested under packages/<package>/<uuid> instead of paths containing #, avoiding URL-fragment handling that broke dynamic imports.
A managed Node.js runtime being installed by another process is no longer deleted.
typeAware and typeCheck options inherited through Oxlint extends are resolved, allowing vp check --no-lint to run and classify type checking correctly.
The bundled Rolldown binding resolves through platform packages, fixing missing-module failures with pnpm's global virtual store and standalone vite-plus-core installs.
Vite+ preserves the real exit code when a spawned process is terminated by a signal on Unix.
The template can scaffold into a directory containing only .git while still refusing to overwrite existing user files.
Help for delegated commands is rendered from the local CLI and matches the installed toolchain.
Installing the Git hook dispatcher no longer creates or modifies project hook scripts or staged-file configuration, preserving custom .vite-hooks/pre-commit files.
An explicit package manager is honored outside monorepos instead of inheriting one from a non-monorepo ancestor directory.
Prevents the language server from crashing when contributors open the Vite+ workspace in VS Code.
Package managers are installed from npm tarballs with nonstandard top-level directories, fixing Yarn 1.22.19 installation.
Migrated Oxlint overrides include read-only Svelte rune globals, preventing false no-undef errors.
Workspace discovery now includes npm workspace patterns that start with
./.The command provides more accurate error messages.
Improves automatic task input tracking for Bun on macOS, Linux containers with constrained
/dev/shm, and Windows process images.Prevents diagnostics from truncating or panicking when inherited standard output or error is nonblocking.
Generated projects ignore
.envand.env.*files while keeping.env.exampletrackable.Ensures package-manager child processes, including Bun, can find the managed Node.js runtime.
Renders user-facing process statuses and paths without Rust debug wrappers.
Clarifies task wait failures.
Falls back to
yarn installwith a warning on Yarn Classic.vp run evaluates configs at runtime when defineConfig comes from a preset or custom wrapper, rather than misclassifying them as Vite+'s own and reporting Task "build" not found.
Missing environment variables requested through the task client now return undefined instead of null, preserving Vite production NODE_ENV semantics when builds run through vp run.
For org templates, vp create reads the catalog from the published tarball when a registry strips custom fields from packument metadata.
Rewriting a package.json prettier script emits a single --check, avoiding duplicated
vp fmt --check --checkwhen the original script combined --check with --list-different, -l, or -c.After Ctrl-C, vp defers its own interrupt handling until the child process exits, preventing odd OSC escape sequences from remaining in the terminal.
vite-plus 0.14 changes
Security 4
launch-editor: NTLMv2 hash disclosure via UNC path handling on Windows
vite:
server.fs.denybypass on Windows alternate pathsVitest Browser: Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCE
Path traversal in vite-plus/binding downloadPackageManager() writes outside VP_HOME