Skip to content

Commit ea4ba6c

Browse files
chore(deps): update vite-plus to v1.0.0 (#174)
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.0.0-rc.0` → `1.0.0`](https://renovatebot.com/diffs/npm/vite/1.0.0-rc.0/1.0.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@voidzero-dev%2fvite-plus-core/1.0.0?slim=true) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@voidzero-dev%2fvite-plus-core/1.0.0?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@voidzero-dev%2fvite-plus-core/1.0.0-rc.0/1.0.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@voidzero-dev%2fvite-plus-core/1.0.0-rc.0/1.0.0?slim=true) | | [vite-plus](https://viteplus.dev/guide) ([source](https://redirect.github.com/voidzero-dev/vite-plus/tree/HEAD/packages/cli)) | [`1.0.0-rc.0` → `1.0.0`](https://renovatebot.com/diffs/npm/vite-plus/1.0.0-rc.0/1.0.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/vite-plus/1.0.0?slim=true) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite-plus/1.0.0?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite-plus/1.0.0-rc.0/1.0.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite-plus/1.0.0-rc.0/1.0.0?slim=true) | --- ### Release Notes <details> <summary>voidzero-dev/vite-plus (vite)</summary> ### [`v1.0.0`](https://redirect.github.com/voidzero-dev/vite-plus/releases/tag/v1.0.0): vite-plus v1.0.0: Vite+ 1.0 is stable [Compare Source](https://redirect.github.com/voidzero-dev/vite-plus/compare/v1.0.0-rc.1...v1.0.0) Vite+ 1.0 is stable ([announcement](https://voidzero.dev/posts/announcing-vite-plus-1-0)). This release promotes [v1.0.0-rc.1](https://redirect.github.com/voidzero-dev/vite-plus/releases/tag/v1.0.0-rc.1) to stable with no code changes. ##### Notable changes since v0.3.3 v1.0.0 includes everything from the two release candidates below. See each release's notes for the full list of changes. - [v1.0.0-rc.0](https://redirect.github.com/voidzero-dev/vite-plus/releases/tag/v1.0.0-rc.0): `vp test` moves to `vitest@5.0.1`, and the CLI now requires Node.js `^22.18.0 || ^24.11.0 || >=26.0.0`. `vp staged` has new Node.js and Git minimums. Standalone installs and `vp upgrade` verify release provenance. - [v1.0.0-rc.1](https://redirect.github.com/voidzero-dev/vite-plus/releases/tag/v1.0.0-rc.1): task cache settings in `run.tasks` move under `cache`. `vp lint` and `vp fmt` run from a package directory now use the same config as your editor. Projects on v1.0.0-rc.1 need no changes. Projects on v1.0.0-rc.0 whose tasks set `env`, `untrackedEnv`, `input`, or `output` should run `vp migrate` to move those settings under `cache`. For a Vite+ 0.3 project, follow [Upgrade from Vite+ 0.3 to 1.0](https://viteplus.dev/guide/migrate#upgrade-from-vite-0-3-to-1-0) and run `vp migrate` before you update the project's dependencies. ##### Bundled Versions | Tool | Version | Source | | --------------- | ---------- | ------------------------------------------------------------------------------------------------- | | vite | `8.3.1` | [`39ddf7c`](https://redirect.github.com/vitejs/vite/commit/39ddf7ccf7e7469ff6a3ba37bca38c32ea804d6e) | | rolldown | `1.2.11` | [`8df4219`](https://redirect.github.com/rolldown/rolldown/commit/8df421985114ecfaf52cce038d4a5a6ea8c05408) | | tsdown | `0.23.0` | [npm](https://npmx.dev/package/tsdown/v/0.23.0) | | vitest | `5.0.1` | [npm](https://npmx.dev/package/vitest/v/5.0.1) | | oxlint | `1.85.0` | [npm](https://npmx.dev/package/oxlint/v/1.85.0) | | oxlint-tsgolint | `7.0.2003` | [npm](https://npmx.dev/package/oxlint-tsgolint/v/7.0.2003) | | oxfmt | `0.70.0` | [npm](https://npmx.dev/package/oxfmt/v/0.70.0) | ##### Upgrade ```bash vp upgrade ``` **Full Changelog**: <voidzero-dev/vite-plus@v1.0.0-rc.1...v1.0.0> ##### Published Packages - `@voidzero-dev/vite-plus-core@1.0.0` - `vite-plus@1.0.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.0.0 vp build ``` Run any `vp` command without installing it; see the [Docker guide](https://viteplus.dev/guide/docker) for more. ### [`v1.0.0-rc.1`](https://redirect.github.com/voidzero-dev/vite-plus/releases/tag/v1.0.0-rc.1): vite-plus v1.0.0-rc.1: task cache settings move under `cache` [Compare Source](https://redirect.github.com/voidzero-dev/vite-plus/compare/v1.0.0-rc.0...v1.0.0-rc.1) Task cache settings now live under `cache`, and `vp migrate` moves existing task settings for you. `vp lint` and `vp fmt` run from a package directory now pick the same config as your editor, and piped `vp` output exits cleanly. ##### Breaking Changes Task cache settings in `run.tasks` now go inside `cache` ([vite-task#749](https://redirect.github.com/voidzero-dev/vite-task/pull/749)), by [@&#8203;wan9chi](https://redirect.github.com/wan9chi). | Old (top level of a task) | New | | ------------------------- | -------------------- | | `env` | `cache.env` | | `untrackedEnv` | `cache.untrackedEnv` | | `input` | `cache.input` | | `output` | `cache.output` | Run `vp migrate` to move these fields for you. It updates tasks in `vite.config.*` files. If a task is defined somewhere else, such as a shared module, `vp run` shows an error listing that task and the fields to move, so you can fix it by hand. `cache: true` is the same as `cache: {}`. See the [task cache migration rules](https://viteplus.dev/guide/migrate-rules#task-cache-configuration) and the [`cache` reference](https://viteplus.dev/config/run#cache). ##### Highlights - `vp lint` and `vp fmt` run from a package directory now use the same config as Oxlint, Oxfmt, and the language server, so results match your editor. `vp check` still applies the workspace-root settings ([#&#8203;2807](https://redirect.github.com/voidzero-dev/vite-plus/pull/2807)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Global `vp` commands now exit cleanly when piped into a command that closes early, such as `vp --version | head -n 1`, instead of aborting with exit code 134 ([#&#8203;2785](https://redirect.github.com/voidzero-dev/vite-plus/pull/2785), [#&#8203;2793](https://redirect.github.com/voidzero-dev/vite-plus/pull/2793)), by [@&#8203;naokihaba](https://redirect.github.com/naokihaba). - Fixed a rare race on macOS where a cached task could fail with `oils I/O error (main): No such process` under heavy parallel load ([vite-task#703](https://redirect.github.com/voidzero-dev/vite-task/pull/703)), by [@&#8203;lifeiscontent](https://redirect.github.com/lifeiscontent). ##### Features - The bundled tools update `vite@8.3.0` -> `vite@8.3.1`, `rolldown@1.2.9` -> `rolldown@1.2.11`, and `oxlint-tsgolint@7.0.2002` -> `oxlint-tsgolint@7.0.2003` ([#&#8203;2805](https://redirect.github.com/voidzero-dev/vite-plus/pull/2805), [#&#8203;2812](https://redirect.github.com/voidzero-dev/vite-plus/pull/2812)), by [@&#8203;voidzero-guard](https://redirect.github.com/voidzero-guard)\[bot]. ##### Fixes & Enhancements - Async `defineConfig` callbacks now type-check lint and format options, such as `'warn'` rule severities, the same way as synchronous callbacks, so configs updated by `vp migrate` no longer fail with `TS2769` ([#&#8203;2803](https://redirect.github.com/voidzero-dev/vite-plus/pull/2803)), by [@&#8203;TheAlexLichter](https://redirect.github.com/TheAlexLichter). - `vp test --help` now lists the Vitest 5 options `--repeats`, `--injectCjsGlobals`, `--fsModuleCache`, `--fsModuleCachePath`, and `--sharedViteServer` ([#&#8203;2809](https://redirect.github.com/voidzero-dev/vite-plus/pull/2809)), by [@&#8203;Marve10s](https://redirect.github.com/Marve10s). - On Windows, `vp run` now matches environment variable names regardless of letter case ([vite-task#747](https://redirect.github.com/voidzero-dev/vite-task/pull/747)), by [@&#8203;wan9chi](https://redirect.github.com/wan9chi). ##### Docs - The copy prompt dialog no longer nests scroll areas and shows clearer copy feedback ([#&#8203;2794](https://redirect.github.com/voidzero-dev/vite-plus/pull/2794), [#&#8203;2799](https://redirect.github.com/voidzero-dev/vite-plus/pull/2799)), by [@&#8203;liangmiQwQ](https://redirect.github.com/liangmiQwQ) and [@&#8203;Boshen](https://redirect.github.com/Boshen). ##### Chore - Snapshot tests share prepared packages and one Chromium process, run faster on every platform, and no longer read the live npm registry in the standalone npm fallback case ([#&#8203;2771](https://redirect.github.com/voidzero-dev/vite-plus/pull/2771), [#&#8203;2786](https://redirect.github.com/voidzero-dev/vite-plus/pull/2786), [#&#8203;2797](https://redirect.github.com/voidzero-dev/vite-plus/pull/2797)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2) and [@&#8203;voidzero-guard](https://redirect.github.com/voidzero-guard)\[bot]. - The snapshot setup check links the local `vite-plus` package into its reference home instead of installing the version under release from npm, so it passes before that version is published ([#&#8203;2819](https://redirect.github.com/voidzero-dev/vite-plus/pull/2819)), by [@&#8203;wan9chi](https://redirect.github.com/wan9chi). - The preview migration harness installs a project's committed dependencies before running `vp migrate`, so the Vitest 5 migration can read the original Vitest version ([#&#8203;2822](https://redirect.github.com/voidzero-dev/vite-plus/pull/2822)), by [@&#8203;wan9chi](https://redirect.github.com/wan9chi). - The standalone install workflow loads the generated environment before running `vp env doctor` ([#&#8203;2790](https://redirect.github.com/voidzero-dev/vite-plus/pull/2790)), by [@&#8203;naokihaba](https://redirect.github.com/naokihaba). ##### Bundled Versions | Tool | Version | Source | | --------------- | ---------- | ------------------------------------------------------------------------------------------------- | | vite | `8.3.1` | [`39ddf7c`](https://redirect.github.com/vitejs/vite/commit/39ddf7ccf7e7469ff6a3ba37bca38c32ea804d6e) | | rolldown | `1.2.11` | [`8df4219`](https://redirect.github.com/rolldown/rolldown/commit/8df421985114ecfaf52cce038d4a5a6ea8c05408) | | tsdown | `0.23.0` | [npm](https://npmx.dev/package/tsdown/v/0.23.0) | | vitest | `5.0.1` | [npm](https://npmx.dev/package/vitest/v/5.0.1) | | oxlint | `1.85.0` | [npm](https://npmx.dev/package/oxlint/v/1.85.0) | | oxlint-tsgolint | `7.0.2003` | [npm](https://npmx.dev/package/oxlint-tsgolint/v/7.0.2003) | | oxfmt | `0.70.0` | [npm](https://npmx.dev/package/oxfmt/v/0.70.0) | ##### Upgrade ```bash vp upgrade ``` ##### New Contributors [@&#8203;Marve10s](https://redirect.github.com/Marve10s), [@&#8203;lifeiscontent](https://redirect.github.com/lifeiscontent) **Full Changelog**: <voidzero-dev/vite-plus@v1.0.0-rc.0...v1.0.0-rc.1> ##### Published Packages - `@voidzero-dev/vite-plus-core@1.0.0-rc.1` - `vite-plus@1.0.0-rc.1` ##### 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.0.0-rc.1 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 becomes conflicted, 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-vp). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMTIuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjEyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJuZWVkcy1idW5kbGUtcmVidWlsZCJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent d3383c0 commit ea4ba6c

2 files changed

Lines changed: 133 additions & 109 deletions

File tree

0 commit comments

Comments
 (0)