Repository navigation
⬆️ deps: bump dependency vite-plus to v1 - #16
Open
renovate[bot] wants to merge 2 commits into
Open
renovate[bot] wants to merge 2 commits into
renovate[bot] wants to merge 2 commits into
Conversation
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
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:
^0.3.3→^1.4.0Release Notes
voidzero-dev/vite-plus (vite-plus)
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 descriptor, such asps -p <pid>from procps-ng 4.0.6 and later, no longer abort (vite-task#862), by @magurotuna.pnpm dlxno longer occasionally abort with a stack overflow when the program makes concurrent system calls at startup (vite-task#854), by @fengmk2.vp runand the globalvpxwait for the child process to finish its Ctrl+C cleanup and exit with its code, instead of exiting immediately (#3167), by @fengmk2.vp migrateand theprefer-vite-plus-importslint autofix leavevite/rolldownandvite/rolldown/*imports unchanged, instead of rewriting them tovite-plus/rolldownsubpaths thatvite-plusdoes not export (#3070, #3191), by @Crimson341 and @Dunqing.vp migratekeeps existing.nvmrcfiles instead of converting them to.node-version, so nvm, fnm, and other tools that read.nvmrckeep working and the selected Node.js version does not change (#3126), by @liangmiQwQ.vp migrateconverts Oxlint configs thatextendsshared JSON files into TypeScript modules imported throughlint.extends, so the inherited rules keep applying after migration (#3097), by @fengmk2.vp migrateskips the git hooks prompt when the project's Vite+ hooks are already set up, and completes a partial setup without prompting (#3118), by @0froq.vp migratekeeps the workspace members declared inpackage.jsonworkspaceswhen it selects pnpm for a project without a lockfile, so recursive commands still include them (#2863), by @SaKaNa-Y.vp migrateno longer reportsunawaited-assertionfor a local assertion promise that the function later awaits or returns (#3180), by @fengmk2.pnpm create vite-plusandyarn create vite-plusno longer fail during dependency installation whenvpis not onPATH, and no longer run a different globalvpversion for installation, formatting, and hooks (#3181), by @fengmk2.vp createandvp migrateresolve the npm registry and credentials as npm does: a.npmrcabove the project is no longer read,userconfigandglobalconfigare honored, and registry hosts in credential keys match regardless of case (#3124), by @liangmiQwQ.vp packandvp createfind the monorepo root the same way asvp runandvp install, andvp packat a monorepo root without avite.configno longer picks up a config from the directory above (#3101), by @liangmiQwQ.defineConfigkeeps plugins that are promises unchanged, so plugins that find themselves through properties on their promise, such asvike(), work under Vite+ (#3154), by @liangmiQwQ.vp devwithexperimental.bundledDevno longer fails withERR_MODULE_NOT_FOUNDwhen no separaterolldownpackage is installed, and no longer picks up the runtime of an unrelated installedrolldown(#3111), by @fengmk2.nodeShimMode: system_first,vp nodeandvp env execrun the system tool that the shell would find, instead of downloading and running the managed Node.js (#3100), by @liangmiQwQ.VP_NODE_VERSION=22and other partial versions resolve to an exact release invp env install,vp env exec, andvp env clean, instead of failing with a 404 download error (#3038), by @Dev-next-gen.vp env pinandvp env unpinshow the file and field they changed. Package-manager pins from a workspace member update the workspace rootpackage.json, and the help and guide now say so (#3103), by @SaKaNa-Y.--reachesvpagain, sovp create vite -- --template react-tsforwards--templateto create-vite (#3083), by @fengmk2.env.nucalls, such asupdate. Runvp env setupagain to regenerateenv.nu(#3123), by @naokihaba.--dry-runor--provenancewith an npm whose version is unknown, instead of running without them (#3122), by @jong-kyung.packageManagerpin and reject a mismatched download, as pnpm 12 and later already did (#3134), by @jong-kyung.vp install -grestores the executables and npm links that existed before, instead of deleting files it never created (#3119), by @jong-kyung.vp install -gskips package binaries with unsafe names or targets instead of linking them, as pnpm does (#3156), by @jong-kyung.npm uninstall -g <package> --dry-runno longer removes the package's commands from Vite+ (#3112), by @jong-kyung.Refactor
globwithtinyglobbyin the CLI and share.nvmrcline parsing between reading and pinning. Workspace discovery invp createandvp migratenow honors negated patterns such as!packages/fooand follows symlinked directories in**patterns, as pnpm does (#3099, #3125), by @liangmiQwQ.Docs
run.cachecan only be set in the workspace root'svite.config.ts(#3139), by @yusuke99.Chore
a3c087a; its user-facing changes are listed above (#3153, #3168, #3184), by @wan9chi.@ast-grep/napi@0.51.0andserial_test@4(#3108, #3109), by @renovate[bot].Bundled Versions
8.3.5981f07f1.2.1589d821c1.0.04759ced0.23.15.0.51.89.07.0.20040.74.0Upgrade
New Contributors
@acalvino4, @Dev-next-gen, @0froq, @Crimson341, @Dunqing, @magurotuna, @tlq5l
Full Changelog: voidzero-dev/vite-plus@v1.3.0...v1.4.0
Published Packages
@voidzero-dev/vite-plus-core@1.4.0vite-plus@1.4.0create-vite-plus@1.4.0Installation
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:1.4.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.3.0: vite-plus v1.3.0Compare Source
Vite+ 1.3 adds
create-vite-plusfor starting a project without the globalvp, newvp pm pkgandvp pm licensescommands, and package-manager dist-tags invp env.Features
vpthroughpnpm create vite-plus,npm create vite-plus@latest,yarn create vite-plus, orbun create vite-plus, which runvp createwith the same arguments (docs) (#3028, #3048), by @liangmiQwQ.vp pm pkg get,set,delete, andfixread and updatepackage.jsonthrough the detected package manager: npm 7.20.0 and later (fixfrom 9.8.0), pnpm 11.3.0 and later, and Bun 1.2.19 and later (docs) (#3020), by @jong-kyung.vp pm licenses list(orls) lists dependency licenses through pnpm 7.17.0 and later, Yarn Classic, or Bun 1.4.0 and later, with--jsonfor machine-readable output (#3037), by @jong-kyung.vp envaccepts npm dist-tags in package-manager specs:vp env pin pnpm@latest-10pins the exact version the tag points to, andvp env default pnpm@latest-10follows the tag on each use (#3047), by @liangmiQwQ.rolldown@1.2.13torolldown@1.2.14. Rolldown adds theoutput.charsetoption and fixes several tree-shaking, code-splitting, and renaming bugs.vitest@5.0.4tovitest@5.0.5, with fixes for browser mode, hook cleanup after a failing hook, and--changedwith quoted file names.Fixes & Enhancements
vp migrateis up to 14 times faster on large projects, for example 78 s to 5.6 s on Dify (#2987), by @fengmk2.vp devprints Vite'sready in N msline, so scripts that wait for it no longer time out aftervp migrate.--debug,--filter, and--profilenow take effect invp dev,vp build, andvp preview, andvp previewstops when the build output is missing, asvite previewdoes (#3056), by @fengmk2.vp stagedprints one result line per task, such as✔ vp check --fix, instead of the task list and Git progress. Warnings, errors, and rollback results stay visible,--verboseshows task output, and--debugkeeps the full log (#3060), by @fengmk2.vp upgradereminds you to runvp migratein projects that use an older Vite+ version (#3063), by @KTrain5169.vp createandvp migratelists Claude Code underAGENTS.mdand no longer offers a separateCLAUDE.mdoption.--agent claudeand existingCLAUDE.mdfiles still work (#3055), by @fengmk2.Docs
runtimeOnFail: ignoreandpmOnFail: ignorein the project'spnpm-workspace.yamlfor pnpm 11 and later, since pnpm does not readruntimeOnFailfrom its global config (#3077), by @liangmiQwQ.Chore
rustls@0.23.46andast-grep@0.51.0, and remove unused catalog entries (#1780, #1782, #1783), by @renovate[bot] and @fengmk2.Bundled Versions
8.3.4b6c20f61.2.14c9a8cda0.23.15.0.51.88.07.0.20040.73.0Upgrade
Full Changelog: voidzero-dev/vite-plus@v1.2.0...v1.3.0
Published Packages
@voidzero-dev/vite-plus-core@1.3.0vite-plus@1.3.0create-vite-plus@1.3.0Installation
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:1.3.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.2.0: vite-plus v1.2.0Compare Source
Vite+ 1.2 supports authenticated private npm registries and shows a new
vp runsummary that counts cache hits among cache-enabled tasks and reports successful tasks. It also verifies installer downloads, shows download progress invp upgrade, and fixes task cache misses in pnpm projects and PowerShell exit status.Highlights
vp runsummary now reads like3/4 cache hit (75%), 9/10 successful, 2s saved.: the cache hit rate leaves out tasks with caching disabled, and the count of successful tasks replaces the count of failed tasks (vite-task#821), by @wan9chi.Features
install.shandinstall.ps1installers check each downloaded platform archive against the registry's SHA-512dist.integritybefore extracting it, and stop when the digest is missing or does not match (#2949), by @fengmk2.vp upgradeshows a progress bar while it downloads the new platform package, instead of looking frozen on slow connections (#2968), by @kshanxs.modified its inputs, andvp run --last-detailsshows thecache: { input, output }exclusions that let it be cached. Detailed summaries show each cause of an error on its own line, and an invalid--filterglob reports its error once (vite-task#783, vite-task#784, vite-task#761, vite-task#763), by @wan9chi.inputandoutputexplicitly to be cached (vite-task#829), by @mfechner.vite@8.3.3tovite@8.3.4.rolldown@1.2.12torolldown@1.2.13.tsdown@0.23.0totsdown@0.23.1.vitest@5.0.3tovitest@5.0.4. Vitest now turns on its on-disk caches by default, andvp testtasks run throughvp runstay cacheable with them.oxlint@1.87.0tooxlint@1.88.0andoxfmt@0.72.0tooxfmt@0.73.0. Oxfmt now also formats TOML in Markdown code blocks and frontmatter. The new lint and format versions can flag code that passed before, so runvp fmtafter upgrading if CI runsvp check.vp migratekeeps Prettier and continues the rest of the migration when the Prettier config uses a format the bundled Oxfmt cannot read, such as.prettierrc.yml.oxlint-tsgolint@7.0.2003tooxlint-tsgolint@7.0.2004. Line disable comments apply to type-aware diagnostics again (tsgolint#1271), so disable comments moved to the} as Tline for v1.1.0 need to move back above the statement.@effect/tsgoshould stay on v1.1.0 for now. The latest@effect/tsgo@0.52.0supportsoxlint-tsgolint@7.0.2004but notoxlint@1.88.0, so its install-time patch step fails until@effect/tsgoadds support.Fixes & Enhancements
pnpm runorpnpm execno longer miss the cache after pnpm rechecks dependencies (vite-task#823, vite-task#824, vite-task#825), by @wan9chi.deno compileoutputs (vite-task#840), by @wan9chi.vp runfails with an error suggestingvp cache cleaninstead of reporting a successful cache hit (vite-task#770), by @wan9chi.vp runno longer stops every task when concurrent tasks write to a full output pipe, such as a CI log collector (vite-task#801), by @naokihaba.vpcommand sets$?toFalseand stops&&chains, as callingvp.exedirectly does (#2947), by @fengmk2.Set-StrictMode, and leaves the caller's strict mode unchanged (#3005), by @fengmk2.PATH, for example from 1.5 s to 6 ms in dash with 147 entries (#2905), by @jonykru..node-version,engines.node, anddevEngines.runtime, and package-manager version ranges, follow npm's semver rules (#2835), by @ryuapp.vp migrateadds thetsdown <0.23compatibility settings (deps.resolveDepSubpathandattw.profile) only for projects on an older tsdown, so upgrades from Vite+ 1.x ortsdown@0.23.0and later keep the modern defaults (#2910), by @fengmk2.vp create vite:generatorkeeps the description prompt visible instead of drawing the spinner over it, uses concrete version ranges for dependencies missing from the workspace catalog, addsrootDir: "src"to the generatedtsconfig.json, and scaffolds generators onbingo@0.13.2with Zod 4 option schemas (#2940, #2996, #1831), by @jong-kyung, @fengmk2, and @renovate[bot].vp createstops processing an organization template archive that expands past fixed size, compression ratio, or entry count limits (#2950), by @fengmk2.vp configskips Git config writes that change nothing, so concurrent runs across linked worktrees no longer fail withcould not lock config fileafter the first setup (#2958), by @naokihaba.$VP_HOME/binor~/.vite-plus/bindirectory toPATH. They use the inherited environment with the project'snode_modules/.binfirst, so projects without a localvite-plusdependency need the Vite+ bin directory on the Git client'sPATH(#2930), by @liangmiQwQ.@voidzero-dev/vite-plus-coredeclares the samepostcss, optionalfsevents, and Yuku parser ranges as the bundled Vite and tsdown, and@oxlint/pluginsmatches the bundledoxlint(#2921), by @fengmk2.vp pack --helplists both default env prefixes,VITE_PACK_andTSDOWN_(#3002), by @jong-kyung.Docs
-Cflag, the split directory layout, automatic update checks and how to opt out, package manager subcommands, andvp env doctordiagnostic scopes (#2972, #2956, #2973, #2960, #2975, #2982), by @jong-kyung.vp execandvpxresolve commands, howvp testselects its runner, howvp configtreats existing Git hooks, whatvp checkneeds for type checking, and how global CLI environment variables behave (#2957, #2979, #2962, #2978, #2916, #2919), by @jong-kyung.vp, and state the version requirements ofvp env uninstall(#2990, #2923, #2944, #3004, #2946), by @jong-kyung.baseUrland editor setup guidance in troubleshooting, and clarify JetBrains IDE support (#2943, #3001), by @jong-kyung.lazyPluginsdoes not defer local module imports (#2967), by @kshanxs.Chore
9ba4cc9; its user-facing changes are listed above (#3019), by @wan9chi.cargo-zigbuild(#2961, #3023, #3015, #3010), by @fengmk2.tsx, isolate upstream CLI help capture from workspace overrides, and update security-action to v1.0.10 (#2948, #2976, #3022), by @fengmk2.Bundled Versions
8.3.4b6c20f61.2.13f7de35f0.23.15.0.41.88.07.0.20040.73.0Upgrade
New Contributors
@ryuapp @jonykru @myuron @kshanxs @mfechner
Full Changelog: voidzero-dev/vite-plus@v1.1.0...v1.2.0
Published Packages
@voidzero-dev/vite-plus-core@1.2.0vite-plus@1.2.0Installation
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:1.2.0 vp buildRun any
vpcommand without installing it; see the Docker guide for more.v1.1.0: vite-plus v1.1.0: fastervp devstartup and clearer interactive promptsCompare Source
Vite+ 1.1 starts
vp devfaster and makes the interactive prompts clearer, alongside fixes forvp migrate, package-manager commands, and Windows terminals.Highlights
vp devreaches its local URL about 24% sooner and uses about 30% less memory in the parent process, because Vite+ no longer loads Vite and Vitest there before starting the dev server (#2851), by @camc314.Features
vp runsetsnpm_execpathandnpm_config_user_agentfor npm, pnpm, and Yarn, so tools such as npm-run-all2 use the project's package manager instead of falling back to npm (#2895), by @naokihaba and @tarikermis.vite@8.3.1tovite@8.3.3,rolldown@1.2.11torolldown@1.2.12,vitest@5.0.1tovitest@5.0.3,oxlint@1.85.0tooxlint@1.87.0, andoxfmt@0.70.0tooxfmt@0.72.0. The new lint and format versions can flag code that passed before, so runvp fmtafter upgrading if CI runsvp check.vp migratenow keeps the React RefreshallowCompoundComponentsoption because the bundled Oxlint supports it (#2871, #2896, #2904), by @voidzero-guard[bot].Fixes & Enhancements
vp migratekeeps Oxlint rules written with plugin aliases (such as@typescript-eslint/*,react-hooks/*, and `impConfiguration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 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 this update again.
This PR was generated by Mend Renovate. View the repository job log.