Skip to content

Commit ad4a8bb

Browse files
chore(deps): update vite+ to v1.2.0 (#62)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [vite](https://viteplus.dev/guide) ([source](https://redirect.github.com/voidzero-dev/vite-plus/tree/HEAD/packages/core)) | [`1.1.0` → `1.2.0`](https://renovatebot.com/diffs/npm/vite/1.1.0/1.2.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@voidzero-dev%2fvite-plus-core/1.2.0?slim=true) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@voidzero-dev%2fvite-plus-core/1.2.0?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@voidzero-dev%2fvite-plus-core/1.1.0/1.2.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@voidzero-dev%2fvite-plus-core/1.1.0/1.2.0?slim=true) | | [vite-plus](https://viteplus.dev/guide) ([source](https://redirect.github.com/voidzero-dev/vite-plus/tree/HEAD/packages/cli)) | [`1.1.0` → `1.2.0`](https://renovatebot.com/diffs/npm/vite-plus/1.1.0/1.2.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/vite-plus/1.2.0?slim=true) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite-plus/1.2.0?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite-plus/1.1.0/1.2.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite-plus/1.1.0/1.2.0?slim=true) | --- ### Release Notes <details> <summary>voidzero-dev/vite-plus (vite)</summary> ### [`v1.2.0`](https://redirect.github.com/voidzero-dev/vite-plus/releases/tag/v1.2.0): vite-plus v1.2.0 [Compare Source](https://redirect.github.com/voidzero-dev/vite-plus/compare/v1.1.0...v1.2.0) Vite+ 1.2 supports authenticated private npm registries and shows a new `vp run` summary that counts cache hits among cache-enabled tasks and reports successful tasks. It also verifies installer downloads, shows download progress in `vp upgrade`, and fixes task cache misses in pnpm projects and PowerShell exit status. ##### Highlights - Support authenticated private npm registries ([#&#8203;2624](https://redirect.github.com/voidzero-dev/vite-plus/pull/2624)), by [@&#8203;RSS1102](https://redirect.github.com/RSS1102). - The `vp run` summary now reads like `3/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](https://redirect.github.com/voidzero-dev/vite-task/pull/821)), by [@&#8203;wan9chi](https://redirect.github.com/wan9chi). ##### Features - The `install.sh` and `install.ps1` installers check each downloaded platform archive against the registry's SHA-512 `dist.integrity` before extracting it, and stop when the digest is missing or does not match ([#&#8203;2949](https://redirect.github.com/voidzero-dev/vite-plus/pull/2949)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - `vp upgrade` shows a progress bar while it downloads the new platform package, instead of looking frozen on slow connections ([#&#8203;2968](https://redirect.github.com/voidzero-dev/vite-plus/pull/2968)), by [@&#8203;kshanxs](https://redirect.github.com/kshanxs). - When a task is not cached because it wrote a file it also read, the summary says it `modified its inputs`, and `vp run --last-details` shows the `cache: { input, output }` exclusions that let it be cached. Detailed summaries show each cause of an error on its own line, and an invalid `--filter` glob reports its error once ([vite-task#783](https://redirect.github.com/voidzero-dev/vite-task/pull/783), [vite-task#784](https://redirect.github.com/voidzero-dev/vite-task/pull/784), [vite-task#761](https://redirect.github.com/voidzero-dev/vite-task/pull/761), [vite-task#763](https://redirect.github.com/voidzero-dev/vite-task/pull/763)), by [@&#8203;wan9chi](https://redirect.github.com/wan9chi). - The task runner can be built without file-access tracking on additional platforms. Tasks on those platforms must configure both `input` and `output` explicitly to be cached ([vite-task#829](https://redirect.github.com/voidzero-dev/vite-task/pull/829)), by [@&#8203;mfechner](https://redirect.github.com/mfechner). - Upgrade the bundled tools ([#&#8203;2935](https://redirect.github.com/voidzero-dev/vite-plus/pull/2935), [#&#8203;2977](https://redirect.github.com/voidzero-dev/vite-plus/pull/2977), [#&#8203;2998](https://redirect.github.com/voidzero-dev/vite-plus/pull/2998), [#&#8203;3021](https://redirect.github.com/voidzero-dev/vite-plus/pull/3021), [#&#8203;3039](https://redirect.github.com/voidzero-dev/vite-plus/pull/3039)), by [@&#8203;voidzero-guard](https://redirect.github.com/voidzero-guard)\[bot] and [@&#8203;fengmk2](https://redirect.github.com/fengmk2): - `vite@8.3.3` to `vite@8.3.4`. - `rolldown@1.2.12` to `rolldown@1.2.13`. - `tsdown@0.23.0` to `tsdown@0.23.1`. - `vitest@5.0.3` to `vitest@5.0.4`. Vitest now turns on its on-disk caches by default, and `vp test` tasks run through `vp run` stay cacheable with them. - `oxlint@1.87.0` to `oxlint@1.88.0` and `oxfmt@0.72.0` to `oxfmt@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 run `vp fmt` after upgrading if CI runs `vp check`. - `vp migrate` keeps 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.2003` to `oxlint-tsgolint@7.0.2004`. Line disable comments apply to type-aware diagnostics again ([tsgolint#1271](https://redirect.github.com/oxc-project/tsgolint/pull/1271)), so disable comments moved to the `} as T` line for v1.1.0 need to move back above the statement. - Projects that use `@effect/tsgo` should stay on v1.1.0 for now. The latest `@effect/tsgo@0.52.0` supports `oxlint-tsgolint@7.0.2004` but not `oxlint@1.88.0`, so its install-time patch step fails until `@effect/tsgo` adds support. ##### Fixes & Enhancements - Reinstalling dependencies with pnpm, or installing them at another path, no longer causes task cache misses, and tasks that run `pnpm run` or `pnpm exec` no longer miss the cache after pnpm rechecks dependencies ([vite-task#823](https://redirect.github.com/voidzero-dev/vite-task/pull/823), [vite-task#824](https://redirect.github.com/voidzero-dev/vite-task/pull/824), [vite-task#825](https://redirect.github.com/voidzero-dev/vite-task/pull/825)), by [@&#8203;wan9chi](https://redirect.github.com/wan9chi). - On macOS, tasks with automatic file-access tracking can run Node.js single executable applications, such as pnpm 11's standalone binary, and `deno compile` outputs ([vite-task#840](https://redirect.github.com/voidzero-dev/vite-task/pull/840)), by [@&#8203;wan9chi](https://redirect.github.com/wan9chi). - Cached tasks can run scripts whose shebang names an interpreter path longer than 126 bytes ([vite-task#788](https://redirect.github.com/voidzero-dev/vite-task/pull/788)), by [@&#8203;lifeiscontent](https://redirect.github.com/lifeiscontent). - When a cache hit's outputs cannot be restored, `vp run` fails with an error suggesting `vp cache clean` instead of reporting a successful cache hit ([vite-task#770](https://redirect.github.com/voidzero-dev/vite-task/pull/770)), by [@&#8203;wan9chi](https://redirect.github.com/wan9chi). - `vp run` no longer stops every task when concurrent tasks write to a full output pipe, such as a CI log collector ([vite-task#801](https://redirect.github.com/voidzero-dev/vite-task/pull/801)), by [@&#8203;naokihaba](https://redirect.github.com/naokihaba). - On Linux, tasks with automatic file-access tracking start faster ([vite-task#817](https://redirect.github.com/voidzero-dev/vite-task/pull/817)), by [@&#8203;wan9chi](https://redirect.github.com/wan9chi). - In PowerShell, a failing `vp` command sets `$?` to `False` and stops `&&` chains, as calling `vp.exe` directly does ([#&#8203;2947](https://redirect.github.com/voidzero-dev/vite-plus/pull/2947)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - The Windows installer works when the PowerShell profile enables `Set-StrictMode`, and leaves the caller's strict mode unchanged ([#&#8203;3005](https://redirect.github.com/voidzero-dev/vite-plus/pull/3005)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Sourcing the Vite+ env script in POSIX shells is much faster with a long `PATH`, for example from 1.5 s to 6 ms in dash with 147 entries ([#&#8203;2905](https://redirect.github.com/voidzero-dev/vite-plus/pull/2905)), by [@&#8203;jonykru](https://redirect.github.com/jonykru). - Node.js version ranges from `.node-version`, `engines.node`, and `devEngines.runtime`, and package-manager version ranges, follow npm's semver rules ([#&#8203;2835](https://redirect.github.com/voidzero-dev/vite-plus/pull/2835)), by [@&#8203;ryuapp](https://redirect.github.com/ryuapp). - `vp migrate` adds the `tsdown <0.23` compatibility settings (`deps.resolveDepSubpath` and `attw.profile`) only for projects on an older tsdown, so upgrades from Vite+ 1.x or `tsdown@0.23.0` and later keep the modern defaults ([#&#8203;2910](https://redirect.github.com/voidzero-dev/vite-plus/pull/2910)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - `vp create vite:generator` keeps the description prompt visible instead of drawing the spinner over it, uses concrete version ranges for dependencies missing from the workspace catalog, adds `rootDir: "src"` to the generated `tsconfig.json`, and scaffolds generators on `bingo@0.13.2` with Zod 4 option schemas ([#&#8203;2940](https://redirect.github.com/voidzero-dev/vite-plus/pull/2940), [#&#8203;2996](https://redirect.github.com/voidzero-dev/vite-plus/pull/2996), [#&#8203;1831](https://redirect.github.com/voidzero-dev/vite-plus/pull/1831)), by [@&#8203;jong-kyung](https://redirect.github.com/jong-kyung), [@&#8203;fengmk2](https://redirect.github.com/fengmk2), and [@&#8203;renovate](https://redirect.github.com/renovate)\[bot]. - `vp create` stops processing an organization template archive that expands past fixed size, compression ratio, or entry count limits ([#&#8203;2950](https://redirect.github.com/voidzero-dev/vite-plus/pull/2950)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - `vp config` skips Git config writes that change nothing, so concurrent runs across linked worktrees no longer fail with `could not lock config file` after the first setup ([#&#8203;2958](https://redirect.github.com/voidzero-dev/vite-plus/pull/2958)), by [@&#8203;naokihaba](https://redirect.github.com/naokihaba). - Git hooks no longer append the legacy `$VP_HOME/bin` or `~/.vite-plus/bin` directory to `PATH`. They use the inherited environment with the project's `node_modules/.bin` first, so projects without a local `vite-plus` dependency need the Vite+ bin directory on the Git client's `PATH` ([#&#8203;2930](https://redirect.github.com/voidzero-dev/vite-plus/pull/2930)), by [@&#8203;liangmiQwQ](https://redirect.github.com/liangmiQwQ). - Concurrent commands that need the same uninstalled Node.js version download it once; the others wait and reuse the installation ([#&#8203;3024](https://redirect.github.com/voidzero-dev/vite-plus/pull/3024)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - `@voidzero-dev/vite-plus-core` declares the same `postcss`, optional `fsevents`, and Yuku parser ranges as the bundled Vite and tsdown, and `@oxlint/plugins` matches the bundled `oxlint` ([#&#8203;2921](https://redirect.github.com/voidzero-dev/vite-plus/pull/2921)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - `vp pack --help` lists both default env prefixes, `VITE_PACK_` and `TSDOWN_` ([#&#8203;3002](https://redirect.github.com/voidzero-dev/vite-plus/pull/3002)), by [@&#8203;jong-kyung](https://redirect.github.com/jong-kyung). - Prompts and status lines use one space after status symbols ([#&#8203;2928](https://redirect.github.com/voidzero-dev/vite-plus/pull/2928)), by [@&#8203;cpojer](https://redirect.github.com/cpojer). ##### Docs - Document shell completion, the global `-C` flag, the split directory layout, automatic update checks and how to opt out, package manager subcommands, and `vp env doctor` diagnostic scopes ([#&#8203;2972](https://redirect.github.com/voidzero-dev/vite-plus/pull/2972), [#&#8203;2956](https://redirect.github.com/voidzero-dev/vite-plus/pull/2956), [#&#8203;2973](https://redirect.github.com/voidzero-dev/vite-plus/pull/2973), [#&#8203;2960](https://redirect.github.com/voidzero-dev/vite-plus/pull/2960), [#&#8203;2975](https://redirect.github.com/voidzero-dev/vite-plus/pull/2975), [#&#8203;2982](https://redirect.github.com/voidzero-dev/vite-plus/pull/2982)), by [@&#8203;jong-kyung](https://redirect.github.com/jong-kyung). - Clarify how `vp exec` and `vpx` resolve commands, how `vp test` selects its runner, how `vp config` treats existing Git hooks, what `vp check` needs for type checking, and how global CLI environment variables behave ([#&#8203;2957](https://redirect.github.com/voidzero-dev/vite-plus/pull/2957), [#&#8203;2979](https://redirect.github.com/voidzero-dev/vite-plus/pull/2979), [#&#8203;2962](https://redirect.github.com/voidzero-dev/vite-plus/pull/2962), [#&#8203;2978](https://redirect.github.com/voidzero-dev/vite-plus/pull/2978), [#&#8203;2916](https://redirect.github.com/voidzero-dev/vite-plus/pull/2916), [#&#8203;2919](https://redirect.github.com/voidzero-dev/vite-plus/pull/2919)), by [@&#8203;jong-kyung](https://redirect.github.com/jong-kyung). - Correct migration prerequisites, minimum versions, and upgrade order, clarify tsup migration and staged configuration, fix local CLI installation without a global `vp`, and state the version requirements of `vp env uninstall` ([#&#8203;2990](https://redirect.github.com/voidzero-dev/vite-plus/pull/2990), [#&#8203;2923](https://redirect.github.com/voidzero-dev/vite-plus/pull/2923), [#&#8203;2944](https://redirect.github.com/voidzero-dev/vite-plus/pull/2944), [#&#8203;3004](https://redirect.github.com/voidzero-dev/vite-plus/pull/3004), [#&#8203;2946](https://redirect.github.com/voidzero-dev/vite-plus/pull/2946)), by [@&#8203;jong-kyung](https://redirect.github.com/jong-kyung). - Rename the install guide to Package Management, clarify package-management command compatibility, and align the create, run, and staged guides with CLI behavior and Vite Task defaults ([#&#8203;2929](https://redirect.github.com/voidzero-dev/vite-plus/pull/2929), [#&#8203;2925](https://redirect.github.com/voidzero-dev/vite-plus/pull/2925), [#&#8203;2939](https://redirect.github.com/voidzero-dev/vite-plus/pull/2939), [#&#8203;2941](https://redirect.github.com/voidzero-dev/vite-plus/pull/2941), [#&#8203;2908](https://redirect.github.com/voidzero-dev/vite-plus/pull/2908)), by [@&#8203;jong-kyung](https://redirect.github.com/jong-kyung). - Explain task cache behavior and how Vite build outputs are cached ([#&#8203;2963](https://redirect.github.com/voidzero-dev/vite-plus/pull/2963), [#&#8203;2942](https://redirect.github.com/voidzero-dev/vite-plus/pull/2942)), by [@&#8203;yusuke99](https://redirect.github.com/yusuke99) and [@&#8203;jong-kyung](https://redirect.github.com/jong-kyung). - Correct the `baseUrl` and editor setup guidance in troubleshooting, and clarify JetBrains IDE support ([#&#8203;2943](https://redirect.github.com/voidzero-dev/vite-plus/pull/2943), [#&#8203;3001](https://redirect.github.com/voidzero-dev/vite-plus/pull/3001)), by [@&#8203;jong-kyung](https://redirect.github.com/jong-kyung). - Note that `lazyPlugins` does not defer local module imports ([#&#8203;2967](https://redirect.github.com/voidzero-dev/vite-plus/pull/2967)), by [@&#8203;kshanxs](https://redirect.github.com/kshanxs). - Align inline comments in code examples ([#&#8203;2927](https://redirect.github.com/voidzero-dev/vite-plus/pull/2927)), by [@&#8203;yusuke99](https://redirect.github.com/yusuke99). ##### Chore - Bump vite-task to `9ba4cc9`; its user-facing changes are listed above ([#&#8203;3019](https://redirect.github.com/voidzero-dev/vite-plus/pull/3019)), by [@&#8203;wan9chi](https://redirect.github.com/wan9chi). - Speed up CI by removing platform waits, reusing native test binaries and dependency caches, skipping slow pnpm cache restores on macOS and Windows, and installing prebuilt `cargo-zigbuild` ([#&#8203;2961](https://redirect.github.com/voidzero-dev/vite-plus/pull/2961), [#&#8203;3023](https://redirect.github.com/voidzero-dev/vite-plus/pull/3023), [#&#8203;3015](https://redirect.github.com/voidzero-dev/vite-plus/pull/3015), [#&#8203;3010](https://redirect.github.com/voidzero-dev/vite-plus/pull/3010)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Run CI bootstrap scripts without unpinned `tsx`, isolate upstream CLI help capture from workspace overrides, and update security-action to v1.0.10 ([#&#8203;2948](https://redirect.github.com/voidzero-dev/vite-plus/pull/2948), [#&#8203;2976](https://redirect.github.com/voidzero-dev/vite-plus/pull/2976), [#&#8203;3022](https://redirect.github.com/voidzero-dev/vite-plus/pull/3022)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Cache the docs build with the Vite Task remote cache ([#&#8203;2926](https://redirect.github.com/voidzero-dev/vite-plus/pull/2926), [#&#8203;2951](https://redirect.github.com/voidzero-dev/vite-plus/pull/2951)), by [@&#8203;wan9chi](https://redirect.github.com/wan9chi). - Add a Nix flake for the contributor development environment ([#&#8203;2874](https://redirect.github.com/voidzero-dev/vite-plus/pull/2874), [#&#8203;2974](https://redirect.github.com/voidzero-dev/vite-plus/pull/2974)), by [@&#8203;myuron](https://redirect.github.com/myuron) and [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Stabilize the CLI help wrapping and browser snapshot tests ([#&#8203;2952](https://redirect.github.com/voidzero-dev/vite-plus/pull/2952), [#&#8203;3006](https://redirect.github.com/voidzero-dev/vite-plus/pull/3006)), by [@&#8203;myuron](https://redirect.github.com/myuron) and [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Exclude upstream-managed dependencies from Renovate ([#&#8203;2918](https://redirect.github.com/voidzero-dev/vite-plus/pull/2918)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Refine the release-manager guidance ([#&#8203;2917](https://redirect.github.com/voidzero-dev/vite-plus/pull/2917)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). ##### Bundled Versions | Tool | Version | Source | Changelog | | --------------- | ---------- | ------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | | vite | `8.3.4` | [`b6c20f6`](https://redirect.github.com/vitejs/vite/commit/b6c20f6a8126d8561891e5fb9368e8fc9da37538) | [8.3.4](https://redirect.github.com/vitejs/vite/releases/tag/v8.3.4) | | rolldown | `1.2.13` | [`f7de35f`](https://redirect.github.com/rolldown/rolldown/commit/f7de35f45bcd4cb8e4b6d8d11e74fbfb20b03127) | [1.2.13](https://redirect.github.com/rolldown/rolldown/releases/tag/v1.2.13) | | tsdown | `0.23.1` | [npm](https://npmx.dev/package/tsdown/v/0.23.1) | [0.23.1](https://redirect.github.com/rolldown/tsdown/releases/tag/v0.23.1) | | vitest | `5.0.4` | [npm](https://npmx.dev/package/vitest/v/5.0.4) | [5.0.4](https://redirect.github.com/vitest-dev/vitest/releases/tag/v5.0.4) | | oxlint | `1.88.0` | [npm](https://npmx.dev/package/oxlint/v/1.88.0) | [1.88.0](https://redirect.github.com/oxc-project/oxc/releases/tag/oxlint_v1.88.0) | | oxlint-tsgolint | `7.0.2004` | [npm](https://npmx.dev/package/oxlint-tsgolint/v/7.0.2004) | [7.0.2004](https://redirect.github.com/oxc-project/tsgolint/releases/tag/v7.0.2004) | | oxfmt | `0.73.0` | [npm](https://npmx.dev/package/oxfmt/v/0.73.0) | [0.73.0](https://redirect.github.com/oxc-project/oxc/releases/tag/oxfmt_v0.73.0) | ##### Upgrade ```bash vp upgrade ``` ##### New Contributors [@&#8203;ryuapp](https://redirect.github.com/ryuapp) [@&#8203;jonykru](https://redirect.github.com/jonykru) [@&#8203;myuron](https://redirect.github.com/myuron) [@&#8203;kshanxs](https://redirect.github.com/kshanxs) [@&#8203;mfechner](https://redirect.github.com/mfechner) **Full Changelog**: <voidzero-dev/vite-plus@v1.1.0...v1.2.0> ##### Published Packages - `@voidzero-dev/vite-plus-core@1.2.0` - `vite-plus@1.2.0` ##### Installation **macOS/Linux:** ```bash curl -fsSL https://vite.plus | bash ``` **Windows:** ```powershell irm https://vite.plus/ps1 | iex ``` Or download and run `vp-setup.exe` from the assets below. **Docker:** ```bash docker run --rm -it -v "$PWD:/app" -w /app ghcr.io/voidzero-dev/vite-plus:1.2.0 vp build ``` Run any `vp` command without installing it; see the [Docker guide](https://viteplus.dev/guide/docker) for more. </details> --- ### Configuration 📅 **Schedule**: (in timezone Asia/Shanghai) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/voidzero-dev/setup.viteplus.dev). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNTUuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjE1NS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 2d5f2cc commit ad4a8bb

2 files changed

Lines changed: 443 additions & 571 deletions

File tree

0 commit comments

Comments
 (0)