Repository navigation
test(deps): update dependency vp to v1.9.0 (main) - #8502
Merged
Merged
Conversation
PR Summary by QodoUpdate vp to 1.8.0 in test images
AI Description
Merge Risk
|
Code Review by Qodo
1. Test image hides vp pin behind an ARG
|
5 of 14 tasks
renovate
Bot
force-pushed
the
renovate/main-test-vite-plus-monorepo
branch
from
December 3, 2026 04:16
864f343 to
b167e6d
Compare
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.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
1.6.0→1.9.0Release Notes
voidzero-dev/vite-plus (vp)
v1.9.0: vite-plus v1.9.0Compare Source
Vite+ 1.9.0 lets
vp packbuild declarations in projects that do not installtypescript, completesvp testcommands and options in the shell, and adds experimental remote caching tovp run. Cached tasks now receive fewer environment variables by default, so read Breaking Changes before you upgrade.Breaking Changes
Cached tasks receive fewer environment variables
vp runno longer passes the variables below to a cached task unless the task lists them incache.envorcache.untrackedEnv(#3637, vite-task#1044, vite-task#1043), by @wan9chi. Tasks without caching, which includepackage.jsonscripts unless you turn on caching for them, still receive every variable.GITHUB_*,ACTIONS_ID_TOKEN_REQUEST_URL(RUNNER_*stays)VERCEL,VERCEL_*,NEXT_*,NOW_BUILDER,USE_OUTPUT_FOR_EDGE_FUNCTIONS,VC_MICROFRONTENDS_CONFIG_FILE_NAMEDOCKER_*,BUILDKIT_*,COMPOSE_**_TOKENVP_*, except runtime and directory settings such asVP_HOMEandVP_NODE_VERSION(full list)Add each of these variables that a cached task reads to
cache.envif its value changes the task result, or tocache.untrackedEnvif it does not. If no cached task reads them, you do not need to change anything.Declaration builds with
@typescript/native-previewtsdown 0.23.5 no longer supports
@typescript/native-previewfortsgodeclaration builds. After the upgrade,vp packwithdts.tsgo: trueordts.generator: 'tsgo'stops with this error when the package still uses the preview package:Run
vp migrateafter you upgrade. For a package on TypeScript 5 or 6, it installs TypeScript 7.1 for the compiler thatvp packloads, and removes@typescript/native-previewwhen nothing else uses it. Packages that share that compiler then also run TypeScript 7.1 throughtsc. When an import, atypescriptpeer range, a tool such as knip, or atscdeclaration config needs TypeScript 6 or older, migration keeps that compiler and changesgenerator: 'tsgo'togenerator: 'tsc'. When migration cannot read the declaration generator of a config, it keeps the compiler and reports that config and each other config that loads the same compiler for review (#3649), by @fengmk2. For a config that migration reports for review, the migration rules list the changes to make. Projects that do not build declarations withtsgoneed no change.Rolldown parallel plugins
Rolldown 1.3.4 removed parallel plugin support, so
vite/rolldown/parallelPluginno longer resolves. Remove imports of that entry point.Features
vp packbuilds declarations in projects that do not installtypescript. It uses thetsrscompiler that Vite+ ships for type-aware linting, and prints one info line that names the bundled version. This support is experimental. Withouttypescript,dts.compilerOptionsanddts.tsconfigRawfail with a diagnostic. An explicitdts.generator: 'tsrs'also uses the bundledtsrs(docs) (#3433), by @fengmk2.Shell completion for
vp testcompletes Vitest commands (run,watch,dev,related,bench,list,doctor) and options, including short aliases, negative spellings such as--no-color, and nested options such as--coverage.reporter. It works in Bash, Zsh, Fish, and PowerShell throughvp env setup, and needs a globalvpand a projectvite-plusfrom this release. Option values and test names are not completed (#3190), by @RSS1102.Demo video
completion-demo.mp4
vp runadds experimental remote caching for CI. CI jobs share task outputs and logs through a remote cache server, so a task that already ran in an earlier job is replayed instead of run again. Sharing with developer machines is not supported yet. The remote caching guide shows how to deploy the reference server on Cloudflare and turn on remote caching (vite-task#1046, vite-task#1037, vite-task#1038, vite-task#1039, vite-task#1040, vite-task#1048, vite-task#1016), by @wan9chi.vp create vite:monorepoconfigures Oxlint with Cloudflare's rules. The template installs@cloudflare/oxlint-config@^0.2.0and adds itsvite-pluspreset tolint.extendsin the rootvite.config.ts(#3539), by @fengmk2.Upgrade the bundled tools (#3511, #3559, #3633, #3648), by @fengmk2 and @voidzero-guard[bot]:
8.3.8→8.4.0server.fs.strict: 'extended', and hook errors name the plugin1.2.19→1.3.4ROLLDOWN_MEMORY_RECLAIM_DELAY=offturns this off), andpreserveModulesfile names follow Rollup0.23.4→0.23.8tsgodeclarations need TypeScript 7.1, and tsc-onlydtsoptions move underdts.tsc5.1.1→5.1.21.94.0→1.96.0typescript/no-unsafe-class-instance-assignment, and many rules catch cases that they missed before0.79.0→0.81.0READMEas Markdown7.1.0-beta.tsrs4→7.1.0-beta.tsrs7typescript/no-meaningless-void-operatorreportsvoidon most operands that are not calls17.6.2→17.6.31.0.2→1.0.3vpxruns followstscforstrictNullChecksvp check, runvp check --fix --continue-on-errorafter you upgrade: the new Oxlint, tsrs, and Oxfmt versions can report or reformat code that passed before.packconfig setsfailOnWarn,vp packcan fail on the new tsdown deprecation warnings, such as the warning fordts.build. Move each option to the place that its warning names.nullprototype and makes them non-extensible, as native ES modules do (rolldown#11428). In a build, code that adds a property to a namespace object now throws aTypeError. A build also ignores animportorqueryoption ofimport.meta.globthat is a template literal, soimport: `default`gives namespace objects there. Write these options as quoted strings (rolldown#12057 fixes this in Rolldown 1.4).Fixes & Enhancements
vp upgradechecks that the version a registry returns is valid semver before it downloads or writes anything. Before, a misconfigured or compromised registry could return a value such as../escapeand make the upgrade write outside the version directory in installations that use~/.vite-plusorVP_HOME(#3641), by @jong-kyung.vp, a barevp dev,vp build,vp preview, orvp packthat selects another package throughdefaultPackage, auto-selection, or the package picker now runs with that package's Node.js version andvite-plus, asvp -C <dir>does. Before, it used the toolchain of the directory where you ran it (#3509), by @fengmk2.vp installruns the Node.js and npm that Vite+ selects. In managed mode, the selected Node.js comes first inPATH, also whenPATHlists another Node.js before it, so engine checks and lifecycle scripts use it. With npm in system-first mode,vp installruns the system npm instead of the npm of the managed Node.js (#3591, #3634), by @naokihaba.vp env clean noderemoves interrupted downloads, also those from earlier releases (#3628), by @jong-kyung.vp upgrade --rollbackfails with an error when the previous version has novpbinary, and leaves the installation unchanged. Before, it switched to that version and removed thevpcommand (#3614), by @jong-kyung.Unterminated quoted stringwhen a hook runsvp config, for example throughpnpm installinpost-checkout. This affected shells such as dash and BusyBox ash. The nextvp configorvp hooks enablerefreshes existing hook dispatchers one time (#3570), by @voidzero-bot[bot] and @fengmk2.core.hooksPathfind project-local commands (#3636), by @CoderSerio.vp stagedsplits long file lists into smaller batches, so a commit with many staged files no longer fails with "command line is too long" (#3638), by @CoderSerio.vpno longer stops withStopped (tty output)when it runs as a background job, such asvp build &(#3565), by @jong-kyung.vp runno longer misses the cache for tasks that listnode_modules,node_modules/.vite, or the workspace root when pnpm's workspace state file,node_modules/.vite-temp, the root.git, or the task cache folder appears or disappears (vite-task#1014), by @wan9chi.vp createloads Vite only when it reads acreateblock from a config. With a warm compile cache, its startup went from 72.1 ms to 47.5 ms on Node.js 24.22.3, and from 77.4 ms to 57.4 ms on Node.js 26.13.1 (#3580), by @fengmk2.vp createresolves GitHub template URLs with a#reffragment, such as a branch name with a/or a.git#v2.0.0tag, and names the default directory after the repository (#3610), by @CoderSerio.vp createoverwrites a workspace package, the workspace dependency prompt no longer offers that package (#3563), by @jong-kyung.defineConfig({ plugins: lazyPlugins(...) })type-checks withexactOptionalPropertyTypes, also in configs thatvp migratewrites.lazyPluginsnow always returns an array, so type-aware lint reports alazyPlugins(...) ?? []fallback as an unnecessary condition. Remove the fallback (#3598), by @voidzero-bot[bot] and @fengmk2.@voidzero-dev/vite-plus-coreno longer has atypesVersionsfield, which pointedmodule-runnerto a missing file. This matches upstream Vite, and type resolution underbundler,node16, andnodenextdoes not change (#3647), by @jong-kyung.vp dlxworks whenvpstarts throughnpx --package=vite-plus. This also fixes the ESLint step ofvp migratein that case (#3578), by @TheAlexLichter.vp migrateremoves the tools that Vite+ bundles or replaces (Oxlint, Oxfmt, tsdown,@vitest/browser,@vitest/browser-preview, ESLint, Prettier, lint-staged, and tsup) only fromdevDependencies. A package that also declares one of them independencies,optionalDependencies, orpeerDependencieskeeps every declaration, script, and config of it, so a published plugin keeps its peer (#3593, #3594), by @liangmiQwQ.vp migrateandvp createadd avitedevDependency to packages that install Vitest directly and declare novite, so plugins such as@cloudflare/vitest-pluginuse the same Vitest asvp test. Migration also repairs projects that it migrated before (#3620), by @gxcsoccer.vp migraterewritesvite <path>andvite servescripts tovp dev. Before, they became commands thatvpdoes not have, such asvp ./siteandvp serve(#3630), by @divya0795.vp migrateremoves ESLint flags that Oxlint rejects, such as--cache-locationand--stats, from rewritteneslintscripts. It keeps--no-error-on-unmatched-patternand changes--no-warn-ignoredto it (#3572), by @jong-kyung.vp migratekeeps lint-staged rules when it merges them intovite.config.ts. Astaged:in a comment or a nested object no longer counts as existing config, and a quoted'staged'key or a{ staged }shorthand is found (#3575), by @jong-kyung.vp migrateno longer rewrites exported string values such asexport default 'vitest'. It rewrites only the module path inexport ... from '...'(#3643), by @jong-kyung.Refactor
vpand the default shims such asnode,npm, andpnpmresolve their names without a scan of the bin directories. Shim names do not change (#3653), by @jong-kyung.Docs
run.cache.remoteand the per-taskcache.remotein therunconfig reference (#3635), by @wan9chi.runconfig reference links to the source definitions of the default untracked environment variables instead of a copied list (#3650), by @wan9chi.vp lintandvp fmtresults (#3657), by @naokihaba.Chore
e18erules (#3562), by @fengmk2.minimumReleaseAgeExcludePruneandcatalogPrune(#3587), by @btea.jsonc-parsercomment (#3561, #3560), by @jong-kyung.cargo-xwin, and flaky CLI snapshots and ecosystem tests are fixed (#3631, #3629), by @fengmk2.vp@1.8.0(#3564), by @voidzero-guard[bot].Bundled Versions
8.4.0841132e1.3.47b6091d1.0.39030d290.23.85.1.21.96.07.1.0-beta.tsrs70.81.0Upgrade
In each project, run
vp migrateto updatevite-plus, thevitealias to@voidzero-dev/vite-plus-core@8.4.0, and the Vitest pin together (guide). Projects that build declarations with@typescript/native-previewneed this step (see Breaking Changes).New Contributors
@afterimaginary, @btea, @CoderSerio, @divya0795, @gxcsoccer
Full Changelog: voidzero-dev/vite-plus@v1.8.0...v1.9.0
Published Packages
@voidzero-dev/vite-plus-core@8.4.0vite-plus@1.9.0create-vite-plus@1.9.0Installation
macOS/Linux:
curl -fsSL https://vite.plus | bashHomebrew (macOS/Linux):
See the Homebrew guide to switch from the script installer or the Homebrew Core
vite-plusformula.Windows:
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:1.9.0 vp buildRun any
vpcommand without installing it; see the Docker guide for more.Create a New App
Start a project without installing the global
vp:create-vite-plusrunsvp createthrough your package manager.Run the command without arguments to pick a template interactively, and see the create guide for other package managers, templates, and options.
v1.8.0: vite-plus v1.8.0Compare Source
Vite+ 1.8.0 runs project package managers from
PATHwhen no globalvpis installed, instead of downloading them, and runs project-localvp devin one process, so aSIGTERMto it stops the dev server.vp migratealso offers to group Vite+ updates in Renovate.Features
vp, thevite-pluspackage uses the package managers onPATHand no longer downloads them into Vite+ directories. With a globalvp, it follows that installation's mode: managed mode downloads as before, and system-first mode (vp env off) prefers the system package manager and falls back to a download. Without a globalvp,vp createandvp migratedefault to the first installed of pnpm, npm, Yarn, and Bun, and the package-manager selector marks the othersnot installed(#3386, #3389), by @liangmiQwQ and @SaKaNa-Y:vpis installed and the project's package manager is not onPATH, package-manager commands,vp run, andvp execfail with a message instead of downloading it. Install that package manager or the globalvp. Without a globalvp, a project that selects no package manager uses npm.vp createpins the version of the system package manager that installs the new project.vp migrateoffers to add Renovate'sgroup:vitePluspreset to an existing Renovate config, so Renovate groups eligible Vite+ and Vitest updates. An interactive run asks first (default Yes), and a non-interactive run adds it. Projects that already use Vite+ can runvp migrate --fullto add it (docs) (#3485), by @fengmk2.--filter,-r,-t,-w, or--fail-if-no-matchbeforerun, such asvp --filter backend run dev, suggestsvp run --filter backend dev. In an interactive terminal, the globalvpasks whether to run it. In other cases, and in the project-local CLI, the command prints the suggestion and exits with code 2 (#3500), by @naokihaba.5.1.0→5.1.1--bailcorrectly, applies--shardbefore the run starts, and gives each test attempt a newsignal7.1.0-beta.tsrs2→7.1.0-beta.tsrs4tscprints it, and suggestion diagnostics no longer fail type checks17.6.1→17.6.2git commit <file>,vp stagedstages task edits only for those filesvp check, run it after you upgrade: tsrs now reports global and declaration diagnostics, so the type check can report errors in code that passed before.Fixes & Enhancements
VP_LOG=debug,vp createno longer prints the environment variables that it passes to the template command, which could include secrets such asNPM_TOKEN(#3552), by @jong-kyung.dist.integritybefore extraction, as the Bun and pnpm 12+ platform packages already were. When the version document omits the integrity or returns 404, Vite+ reads the package document instead. When neither gives it, the install fails withPackageManagerIntegrityUnavailablebefore anything downloads. Pinned npm, pnpm 11 and earlier, and Yarn downloads do not change (#3547, #3553), by @jong-kyung and @fengmk2.devEngines.runtime.versionaccepts only semver versions and ranges, as in npm and pnpm. Aliases such aslts/*andlatestno longer resolve in this field, and an invalid value follows the entry'sonFail: with the defaulterror, the command fails with a message that suggestsvp env pin lts..node-version,.nvmrc,vp env pin lts, andvp env use ltskeep alias support (#3489), by @voidzero-bot[bot] and @fengmk2.vp devruns Vite in the launcher process, so aSIGTERMto that process stops the dev server and frees the port instead of leaving Vite running.--inspect-brkand--cpu-profnow cover Vite. The server listened after 109 ms instead of 137 ms with an empty compile cache, and used 120 MB instead of 168 MB after startup. With the globalvp, aSIGTERMto the globalvpprocess still stops onlyvp(#3512), by @fengmk2.vp devandvp buildkeep the--separator when they pass custom arguments to Vite, so Vite no longer takes an argument after--as the project path, and the Vite config can read the arguments fromprocess.argv(#3497), by @fengmk2.npm install -g <pkg>moves the package's link in the Vite+bindirectory to the new copy and prints a note. Before, the command kept running the copy installed under the previous Node.js version. A dry run leaves the links unchanged (#3283), by @mondaychen.vp install -g typescript@npm:cowsay, keep the alias invp list -g,vp outdated -g, andvp update -g. Aliases installed before this release need one reinstall (#3480), by @liangmiQwQ.vp install -g --forcechecks for unmanaged files in the bin directory before it uninstalls a package that owns a conflicting binary, so a rejected installation leaves the existing packages installed (#3504), by @jong-kyung.vp update -gwith only local paths or packages that are not installed no longer updates every other global package too (#3551), by @jong-kyung.vp add --save-prodwith npm moves a package that is already indevDependenciesoroptionalDependenciesintodependencies, as pnpm does (#3515), by @liangmiQwQ.vp install <packages>fails when more than one of--prod,--dev,--save-peer, and--save-optionalis given, asvp adddoes, instead of using one and ignoring the others (#3516), by @liangmiQwQ.vp install --frozen-lockfile --lockfile-onlywith npm 11.16.0 or later checks that the lockfile matchespackage.jsonwithnpm ci --dry-run --ignore-scripts. Before, it ran a plainnpm ci, which removednode_modules, reinstalled dependencies, and ran lifecycle scripts. With older npm, Vite+ rejects this combination (#3518), by @liangmiQwQ.yarnPathselects another Yarn release thanpackageManager, Vite+ selects commands and options for the release that runs. Before, a Yarn 2 launcher with a Yarn 3yarnPathskippedvp unlinkwith a warning and exited with code 0. When Vite+ downloaded the Yarn launcher, it runsyarn --versionthrough it before each command in these projects (#3532), by @jong-kyung.vp -C <dir>, such asvp -C . check, keeps the cache configuration of its subcommand, so a change to an environment variable that the subcommand tracks now misses the cache (#3537, #3536, vite-task#1005), by @jong-kyung.shand other MSYS2 or Cygwin programs, which aborted withWin32 error 487(vite-task#952, #3529), by @ReemX.seccompfilter for file-access tracking cannot be installed, for example in rootless bubblewrap, a task runs untracked and is reported as not cached, instead of failing to spawn child processes (vite-task#701), by @lifeiscontent.vp createcompletes the catalog entries that new packages reference in existing Yarn and Bun workspaces, so nocatalog:reference stays unresolved. On Bun 1.4.0 and later,vp createandvp migrateno longer write an entry to bothcatalogandcatalogs.default, which made the install fail (#3473), by @jong-kyung.vp configandvp hooks enablereplace a leftovercore.hooksPathof.huskyor.husky/_, so the Vite+ hooks run. They do this only when no hook scripts remain directly under.husky/and no package manifest declares Husky (#3344), by @semimikoh and @fengmk2.cd(#3451), by @voidzero-bot[bot] and @fengmk2.vp migratekeeps imports in files where the lint configuration turns offvite-plus/prefer-vite-plus-imports, with the samelint.overridesorder asvp lint --fix, and keeps the Vitest dependencies that those imports need (#3411), by @fengmk2.vp migratemerges.oxlintrc.jsonintovite.config.tswhen a value contains text such as$200or$OUT_DIR/**, and keeps those values as written (#3046), by @BenjyLimmy and @fengmk2.vp migrateno longer fails with aTypeErrorwhen an npm or Bun project sets an object underoverrides.viteoroverrides.vitest. It updates the"."entry and keeps the child overrides (#2267), by @charpeni and @fengmk2.vp migrateandvp createreplace a dangling agent instruction symlink, such asCLAUDE.md, with a link toAGENTS.mdinstead of crashing withEEXIST(#3544), by @thejesh23.vp createaccepts target directory names that contain two dots, such asmy..lib. A..path segment is still rejected (#3545), by @thejesh23.vp dlxworks with npm 6: it runsnpx, becausenpm execfirst shipped in npm 7 (#3479), by @jong-kyung.vp env off), package-manager commands keep the system package manager and Node.js directories at theirPATHpositions, so install scripts no longer run a Node.js from the package manager's directory instead of the selected one (#3447), by @liangmiQwQ.vp,vp env,vp upgrade, andvp implodeprint the installation command for the current platform next to the documentation link (#3448), by @liangmiQwQ.stream.messagein@voidzero-dev/vite-plus-promptswrites to theoutputthat the caller selects instead of stdout, and keeps words together when that output has no column count (#3466), by @SaKaNa-Y.vp checkreads thelint,fmt, andcheckblocks of the root Vite config statically when it can, asvp rundoes, and loads the config through Vite only when a block cannot be read statically. On npmx.dev,vp check --no-linttook 559 ms instead of 835 ms. As withvp run, the static path does not see blocks that a plugin adds in itsconfighook (#3487), by @jong-kyung.vp configstarts 9 Git processes instead of 15 when the hooks are already installed. On macOS,vp config --no-agenttook 200 ms instead of 260 ms (#3501), by @jong-kyung.vp migrateno longer slows down with the square of the number of findings in a file (#3481), by @jong-kyung.blob:URL no longer makesvpexit with a stack overflow (RUSTSEC-2026-0592) (#3540), by @fengmk2.rusqlite0.41, which fixes RUSTSEC-2026-0459 (vite-task#990), by @fengmk2.Refactor
vp createruns remote templates through `vpConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.