Repository navigation
chore(deps): update vite-plus - #961
renovate[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #961 +/- ##
=======================================
Coverage 94.77% 94.77%
=======================================
Files 10 10
Lines 746 746
Branches 235 235
=======================================
Hits 707 707
Misses 36 36
Partials 3 3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
c3efcf8 to
1cd9c74
Compare
|
Add Carrot credits or activate Agent usage billing to use Autofix |
1cd9c74 to
0ebe6bb
Compare
0ebe6bb to
c6aaa51
Compare
867a704 to
1b2ca56
Compare
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
5.0.5→5.1.01.3.0→1.5.01.3.0→1.5.05.0.5→5.1.0Release Notes
vitest-dev/vitest (@vitest/coverage-v8)
v5.1.0Compare Source
🚀 Features
--last-failedto run only failed tests - by @sheremet-va in #11558 (82f63)Temporal.InstantandTemporal.ZonedDateTimeinvi.setSystemTime()- by @Prajwal2246, Prajwal2246, Claude Opus 5.5 (1M context), @hi-ogawa and Codex (GPT-6) in #11321 (f150f)--since-last-runflag - by @sheremet-va in #11516 (08bd9)node:timersandnode:timers/promise- by @hi-ogawa, OpenCode and Codex (GPT-6) in #10899 (fbe97)pointerAPI - by @macarie in #10780 (5dc09)ignoreNodeoption - by @erickserra and @AriPerkkio in #11688 (e02db)🐞 Bug Fixes
--changedfiltering - by @sheremet-va in #11621 (3a39c)watchfrom the root config in projects - by @nstepien and Claude Opus 5.5 (1M context) in #11724 (77c12)page.viewport()- by @sheremet-va in #11738 (49ff4)autoAttachSubprocessto use.tmpdirectory - by @AriPerkkio in #11632 (de5af)🏎 Performance
magic-string+rolldownfor instrumentation - by @AriPerkkio in #11648 (2470b)Promise.all- by @AriPerkkio in #11713 (f1092)View changes on GitHub
voidzero-dev/vite-plus (vite)
v1.5.0: vite-plus v1.5.0Compare Source
Vite+ 1.5 adds an official Homebrew tap, runs TypeScript through Node.js with
node --import vite-plus/register, and letsvp migratemoveoxnodeand transpile-onlyts-nodescripts tovpx.Features
vpfrom the official Homebrew tap on macOS and glibc Linux (docs) (#2740), by @fengmk2:node --import vite-plus/registerruns TypeScript with the same loader asvpx, so tools that start Node.js themselves, such as the Node.js test runner, AVA, or aNODE_OPTIONSsetting, can run TypeScript files (docs) (#3208), by @fengmk2.vp migratemovesoxnodecommands and transpile-onlyts-nodecommands tovpx, and moves their Node.js preloads and literalNODE_OPTIONSvalues tovite-plus/register.ts-nodecommands that type-check stay unchanged with a warning, and thets-nodedependency is removed only when nothing still uses it. A project already on Vite+ gets this migration withvp migrate --full(docs) (#3209, #3210), by @fengmk2.vp migratewarns when it finds Rollup, Rolldown, or Jest dependencies with matching configuration, and explains how to move them to Vite, tsdown, or Vitest. The warnings show during the first migration, or withvp migrate --fullin a project already on Vite+ (#3275), by @KTrain5169 and @fengmk2.vite-plusexportsresolveConfigFromFile(configFile, options?), which resolves a config relative to the config file's directory instead ofprocess.cwd(), so editor plugins with several workspace folders load the files of the right project (#3249), by @leaysgur and @fengmk2.minimatch@11.0.4, which fixes a denial of service through glob pattern amplification (GHSA-g3hv-75wg-m249, medium), andzstd@0.13.4, which fixes RUSTSEC-2026-0391, RUSTSEC-2026-0398, and RUSTSEC-2026-0403 (#3328, #3331), by @renovate[bot] and @wan9chi.rolldown@1.2.15torolldown@1.2.16, withexperimentalInlineCommonChunksin dev mode and no crash when the working directory was deleted.tsdown@0.23.1totsdown@0.23.4:vp pack --env-filecan be repeated to load several env files, the config has a JSON schema, and?inlineCSS imported from dependencies is inlined.vitest@5.0.5tovitest@5.1.0, with--last-failedand--since-last-run, fake timers fornode:timers, and interactive review of failed snapshots. Browser mode now uses port 23315 by default.oxlint@1.89.0tooxlint@1.91.0andoxlint-tsgolint@7.0.2004tooxlint-tsgolint@7.0.2005, with the new type-aware ruletypescript/no-unsafe-enum-assignment, wider checks in rules such asarray-callback-return,no-useless-concat, andno-control-regex, and two rules moved into thesuspiciouscategory.oxfmt@0.74.0tooxfmt@0.76.0, with a new HTML formatter and JavaScript and TypeScript fixes for parentheses, array layout, and line width with wide characters.vp check, runvp fmtafter upgrading.oxlint@1.91.0can reportreact/immutabilityfor aletdeclared inside an effect and reassigned by a closure in that effect (oxc#28401).vpxandvite-plus/registerrun onoxc-node@1.0.1, which resolves a.jsxspecifier to its.tsxor.tssource.Fixes & Enhancements
vp createinto a target path that is a symbolic link removes only the link after confirmation, instead of deleting the contents of the linked directory, and the overwrite prompt names symbolic links and files (#2418), by @leslieeilsel and @fengmk2.vp imploderemoves only directories and shims that it can verify as Vite+ installations, and refuses the home directory, its parents, and filesystem roots even with--yes, so aVP_HOMEthat points at another directory cannot delete unrelated files (#3228), by @jong-kyung.vp runstarts faster in workspaces whose tasks share cacheinputandoutputpatterns, because each pattern is parsed once. In a 138-package workspace this saves about 2 seconds of CPU on every run (vite-task#887, vite-task#890), by @jasonkuhrt and @wan9chi.vp runand package-manager commands in npm projects start about 110 ms sooner, becausevpreads the npm version from npm'spackage.jsoninstead of runningnpm --version(#3259), by @magurotuna.vp migratechecks Vitest prerequisites faster in workspaces, because it parses each lockfile once (#3212), by @jong-kyung.vp upgradeinstall the global CLI's dependencies with the Node.js version that the release pins (24.22.2 for this release), instead of the latest LTS (docs) (#3269), by @fengmk2.latestalias invp env use,vp env default,vp env pin,vp env install, and.nvmrcresolves to the newest stable release instead of a27.0.0-alphabuild, andvp env list-remotemarks that stable release as latest (#3335), by @voidzero-bot[bot] and @fengmk2.VP_NODE_VERSION=22and other partial versions work for project commands such asvp build,vp run, andvp list, instead of failing with a 404 download error (#3341), by @jong-kyung.vp install -gcommands that run at the same time no longer delete each other's active package, and a command that starts while a package manager is being installed no longer runs its shim before the shim is executable (#3185, #3248), by @jong-kyung.vp configwaits and retries when another linked git worktree holds the shared git config lock, so apreparescript no longer fails when two worktrees install at the same time (#3199), by @naokihaba.vp env doctorreports Node.js resolution failures, unreadable config, a failing systemnode, and missing shims as errors and exits with code 1. When it finds only warnings, the summary saysSome warnings foundinstead ofAll checks passed(#3215, #3222), by @liangmiQwQ.vpandvpruse the named completer input, so Nushell 0.116 shows no deprecation warning, and they fall back to file completion when fish is not installed. Runvp env setup --refreshto regenerateenv.nu(#3267, #3276), by @naokihaba.vp migrateremoves thetsxdependency even when a comment still contains atsxcommand or code fence, and keeps it for JSDoc type imports that need it (#3299), by @voidzero-bot[bot] and @fengmk2.prefer-vite-plus-importslint rule and its autofix leave theviteandvitestimports thatvp migratekeeps, such asvitestimports in a package that listsvitestinpeerDependencies, sovp lint --fixno longer breaks the package for its plain Vitest users (#3192), by @Dunqing.typeAwareandunusedDisableDirectives, so editor diagnostics follow thelint.optionsinvite.config.ts. Existing editor settings stay unchanged (#2357), by @pweyck.vp dlxwith npm runs the right executable for scoped packages such as@angular/cli(#3229), by @jong-kyung.vp outdated -rin npm projects checks the workspaces instead of transitive dependencies, and requires npm 7.14.0 or later (#3240), by @jong-kyung.--prodand--devwork with npm 6, and filters that npm 6 cannot apply are rejected instead of passed through (#3251), by @jong-kyung.vp pm stagebefore npm 11.15.0, are skipped with a warning. Unsupportedpnpm dlxandpnpm packoptions, and project-only flags on managed global commands such asvp install -g, are rejected instead of silently ignored (#3286, #3285), by @jong-kyung.vp toolchain -gis short forvp toolchain --global(#3189), by @jong-kyung.execwith an empty path orexeclwith 32 or more arguments (vite-task#896, vite-task#865), by @wan9chi and @tlq5l.Refactor
Docs
vp checkstops at formatting failures, and thatvp checkflags go before file paths (#3262), by @SaKaNa-Y.vitedependency with its override during a manual npm installation, to avoidEOVERRIDE(#3157), by @SaKaNa-Y.FOO=bar commandwork in task commands on every platform (#3161), by @tartelettie./vp-setupredirect and the redirects for moved guide pages (#3271), by @fengmk2.Chore
40cb9ca; its user-facing changes are listed above (#3246, #3280), by @wan9chi.--full, stabilize pnpm setup and Bun snapshots, update the tiptap ecosystem pin, use a recorded package in the install shortcut case, and remove duplicatedevEnginesparse tests (#3193, #3196, #3242, #3305, #3301), by @liangmiQwQ, @fengmk2, @wan9chi, and @Brooooooklyn.dprintandtaploinjust init(#3234, #3310, #3250), by @renovate[bot], @leaysgur, and @fengmk2.AGENTS.md, and the Rolldown exports in the CLI bundling notes (#3207, #3238, #3316), by @fengmk2 and @liangmiQwQ.Bundled Versions
8.3.5981f07f1.2.16de6facf1.0.17ff14c30.23.45.1.01.91.07.0.20050.76.0Upgrade
New Contributors
@yamaurakazuto, @tartelettie, @pweyck, @jasonkuhrt
Full Changelog: voidzero-dev/vite-plus@v1.4.0...v1.5.0
Published Packages
@voidzero-dev/vite-plus-core@1.5.0vite-plus@1.5.0create-vite-plus@1.5.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.5.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.4.0: vite-plus v1.4.0Compare Source
Vite+ 1.4 runs TypeScript and JavaScript files with
vpx, andvp migratecan move tsx scripts to it. It also addsvp check --deny-warningsandvp pm team, and installs the global CLI's dependencies from a lockfile published with each release.Features
vpx <file>runs a TypeScript or JavaScript file on the project's Node.js with the oxc-node loader that ships with Vite+, andvpx --watch <file>reruns it when a file it uses changes. Inpackage.jsonscripts, thevpxbin of thevite-pluspackage runs scripts without the global CLI and runs package binaries only fromnode_modules/.bin, pointing tovp dlxfor anything not installed (docs) (#2936, #3164), by @Brooooooklyn and @fengmk2.vp migrateoffers to move tsx scripts tovpx:tsx a.ts,npx tsx a.ts,node --import tsx a.ts, andtsx watch a.tsinpackage.jsonscripts, lint-staged tasks, and#!/usr/bin/env tsxshebangs becomevpx a.tsorvpx --watch a.ts. A project already on Vite+ gets the offer withvp migrate --full(docs) (#3179), by @fengmk2.vp check --deny-warningsfails the check on lint warnings, so CI no longer needs a separatevp lint --deny-warningsrun (docs) (#3075), by @acalvino4.vp pm teamcreates and destroys registry organization teams and adds, removes, and lists their members, through npm or pnpm 11.13.0 and later, falling back to npm for older pnpm and Bun (#3040), by @jong-kyung.vpno longer accepts HTTPS certificates issued through the distrusted emSign intermediates when downloading Node.js, package managers, and upgrades (RUSTSEC-2026-0382, RUSTSEC-2026-0383), and it ships tokio 1.54.1, which fixes a race intokio::time::Interval(RUSTSEC-2026-0384) (#3159, #3202), by @wan9chi and @fengmk2.vp pmregistry commands (login,logout,whoami,owner,token,dist-tag,deprecate,search,ping, andpublish) run pnpm's own commands on pnpm 11 and later (tokenfrom 12.13.0), andvp pm ownerandvp pm publishrun Yarn's own commands, so they follow that package manager's registry configuration and authentication. Older versions still go through npm (#3044), by @jong-kyung.vp upgradeinstall the global CLI's JavaScript dependencies from a lockfile published with each release, so every installation of a version gets the same dependency versions. SetVP_SETUP_SKIP_INSTALL_LOCKFILE=1to resolve them again if that installation fails (docs) (#3117), by @fengmk2.vite@8.3.4tovite@8.3.5, with fixes for bundled dev mode, chunk import maps, CSSurl()values containing%, and subpath imports with several#characters.rolldown@1.2.14torolldown@1.2.15, with fixes forthis.resolverecursion between plugins usingskipSelf: true, strict execution order, and chunk import maps.oxlint@1.88.0tooxlint@1.89.0, with rule fixes that report cases missed before, for example inprefer-const,no-param-reassign, andsort-imports.oxfmt@0.73.0tooxfmt@0.74.0, with formatting fixes for comments, parentheses, JSDoc, JSON, YAML, and Markdown.vp check, runvp fmtafter upgrading.vpxscripts run onoxc-node@1.0.0.@vitejs/devtools0.8 is accepted as a peer dependency, alongside 0.7.Fixes & Enhancements
vpexecutable binary size is ~30% smaller (#3086), by @fengmk2.VP_SETUP_NODE_VERSIONselects the Node.js version the installer uses for the CLI's dependencies, sosetup-vpcan use the project's version and avoid downloading a second Node.js in CI (docs) (#3087), by @fengmk2.vp runfinishes sooner because it no longer waits for the disk after saving each result. If the computer loses power or the operating system crashes during a run, the entries it saved can be lost and those tasks run again (vite-task#871), by @magurotuna.node_modules/.modules.yamldiffers, for example after installing with another pnpm version, with--ignore-scripts, or on glibc and musl machines (vite-task#850), by @wan9chi.vp runin a package that sits inside a workspace folder but is not listed in itspnpm-workspace.yamlpackagesorpackage.jsonworkspacesruns that package's own tasks with its ownpackageManager, instead of treating the enclosing workspace as its root (vite-task#859), by @liangmiQwQ.unknown field outputs, instead ofdata did not match any variant of untagged enum UserTaskDefinition(vite-task#815), by @tlq5l.vp runno longer panics on scripts that contain non-ASCII characters, such asecho こんにちは, and no longer cuts those commands off in its output (vite-task#861), by @magurotuna.-1as a directory descriConfiguration
📅 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.