Skip to content

Commit 1a5438d

Browse files
chore(deps): update vite+ to v0.3.1 (#50)
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)) | [`0.3.0` → `0.3.1`](https://renovatebot.com/diffs/npm/vite/0.3.0/0.3.1) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@voidzero-dev%2fvite-plus-core/0.3.1?slim=true) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@voidzero-dev%2fvite-plus-core/0.3.1?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@voidzero-dev%2fvite-plus-core/0.3.0/0.3.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@voidzero-dev%2fvite-plus-core/0.3.0/0.3.1?slim=true) | | [vite-plus](https://viteplus.dev/guide) ([source](https://redirect.github.com/voidzero-dev/vite-plus/tree/HEAD/packages/cli)) | [`0.3.0` → `0.3.1`](https://renovatebot.com/diffs/npm/vite-plus/0.3.0/0.3.1) | ![age](https://developer.mend.io/api/mc/badges/age/npm/vite-plus/0.3.1?slim=true) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite-plus/0.3.1?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite-plus/0.3.0/0.3.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite-plus/0.3.0/0.3.1?slim=true) | --- ### Release Notes <details> <summary>voidzero-dev/vite-plus (vite)</summary> ### [`v0.3.1`](https://redirect.github.com/voidzero-dev/vite-plus/releases/tag/v0.3.1): vite-plus v0.3.1: manage package-manager versions with vp env [Compare Source](https://redirect.github.com/voidzero-dev/vite-plus/compare/v0.3.0...v0.3.1) `vp env` now manages Node.js and package-manager versions together. This release also fixes TanStack Start routing and stale Vitest aliases. ##### Breaking Changes ##### Package-manager setup Vite+ replaces Corepack with managed `npm`, `pnpm`, `yarn`, and `bun` commands. It removes the `corepack` shim and legacy global package-manager installations ([#&#8203;2391](https://redirect.github.com/voidzero-dev/vite-plus/pull/2391)), by [@&#8203;liangmiQwQ](https://redirect.github.com/liangmiQwQ). Replace Corepack setup commands in shell profiles, CI jobs, and Dockerfiles: | Previous setup | Replacement | | ------------------------------ | ------------------------------------------------- | | `corepack enable` | `vp env setup` | | `vp install -g pnpm@<version>` | `vp env default pnpm@<version>` | | `vp install -g yarn@<version>` | `vp env default yarn@<version>` | | `vp install -g bun@<version>` | `vp env default bun@<version>` | | `vp install -g corepack` | Use the managed package-manager commands directly | Use `vp env pin <manager>@<version>` to set a project version. ##### `vp env` command scope and JSON output Unscoped `vp env` commands now operate on Node.js and package managers. Package managers support independent defaults, project pins, session overrides, and installation commands ([#&#8203;2398](https://redirect.github.com/voidzero-dev/vite-plus/pull/2398)), by [@&#8203;liangmiQwQ](https://redirect.github.com/liangmiQwQ). Add `node` to limit an operation to Node.js, for example, `vp env off node` or `vp env unpin node`. Bare versions, such as `vp env default 22.19.0`, still select Node.js. Update scripts that read JSON output: | Command | New output structure | | ------------------------------------------------- | ------------------------------------ | | `vp env current --json` | `node` and `package_manager` objects | | `vp env list --json`, `vp env list-remote --json` | `node` and `package_managers` groups | See the [environment guide](https://viteplus.dev/guide/env). ##### `vp pack` migration to `tsdown@0.23` `vp pack` now uses `tsdown@0.23`, which removes deprecated options and changes defaults ([#&#8203;2614](https://redirect.github.com/voidzero-dev/vite-plus/pull/2614)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). 1. Run `vp migrate` to update supported static configurations and package scripts, including projects that already use Vite+. 2. Check migration warnings in `vite.config.*`, `tsdown.config.*`, and `package.json`. 3. Update dynamic configurations manually. Arrays built with `.map()` require manual changes, even when migration reports no warning. 4. Run `vp pack` to check the result. | Previous option | Replacement | | ------------------------------------------------------------------ | ------------------------------------------------ | | `bundle: false` | `unbundle: true` | | `outExtension` | `outExtensions` | | `publicDir` / `--public-dir` | `copy` / `--copy` | | `removeNodeProtocol: true` | `nodeProtocol: 'strip'` | | `injectStyle` | `css.inject` | | `inlineOnly` / `deps.onlyAllowBundle` | `deps.onlyBundle` | | `noExternal` | `deps.alwaysBundle` | | `skipNodeModulesBundle: true` / `deps.skipNodeModulesBundle: true` | `deps.neverBundle: true` | | `dts.tsgo: true` / `dts.oxc: true` | `dts.generator: 'tsgo'` / `dts.generator: 'oxc'` | Migration preserves the previous defaults for dependency resolution and [ATTW](https://tsdown.dev/options/lint#attw-are-the-types-wrong). `tsdown` no longer supports Node.js `25`. Use Node.js `^22.18.0`, `^24.11.0`, or `>=26.0.0`. The programmatic `build()` API now returns `{ bundles, watch }`. See the [complete migration guide](https://redirect.github.com/rolldown/tsdown/releases/tag/v0.23.0) for declaration and TypeScript module-resolution changes. ##### CLI argument validation `vp staged`, `vp config`, `vp hooks`, `vp migrate`, and `vp create` now reject unsupported options and extra positional arguments ([#&#8203;2523](https://redirect.github.com/voidzero-dev/vite-plus/pull/2523)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). Remove unsupported arguments from scripts. For example, replace `vp config --hooks-only` with `vp config --no-agent`. ##### Highlights - Fix TanStack Start HTTP `404` responses caused by separate Vite runtime copies ([#&#8203;2617](https://redirect.github.com/voidzero-dev/vite-plus/pull/2617)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Reduce the Windows `vp-shim.exe` size from `214 KiB` to `14 KiB` ([#&#8203;2466](https://redirect.github.com/voidzero-dev/vite-plus/pull/2466)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Add `vp check --quiet` to hide lint warning diagnostics while retaining errors and summary counts ([#&#8203;2593](https://redirect.github.com/voidzero-dev/vite-plus/pull/2593)), by [@&#8203;RSS1102](https://redirect.github.com/RSS1102). ##### Features - Add `vp sync-versions --json` so automation can request dependency alignment plans from manifest snapshots without changing project files ([#&#8203;2600](https://redirect.github.com/voidzero-dev/vite-plus/pull/2600)), by [@&#8203;afonsojramos](https://redirect.github.com/afonsojramos). - Make `vp create --git` suggest an initial commit command after Git initialization ([#&#8203;2581](https://redirect.github.com/voidzero-dev/vite-plus/pull/2581)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Make `vp migrate` replace frozen `voidzero-dev/setup-vp@v1` workflow references with the supported version pin ([#&#8203;2540](https://redirect.github.com/voidzero-dev/vite-plus/pull/2540)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Upgrade `rolldown` from `1.2.5` to `1.2.7`, `tsdown` from `0.22.14` to `0.23.0`, and Oxc from `0.146.0` to `0.148.0`. Upgrade `oxlint` from `1.79.0` to `1.81.0` and `oxfmt` from `0.64.0` to `0.66.0`. These versions can flag code that passed before. Run `vp fmt` after upgrading if CI runs `vp check` ([#&#8203;2580](https://redirect.github.com/voidzero-dev/vite-plus/pull/2580), [#&#8203;2613](https://redirect.github.com/voidzero-dev/vite-plus/pull/2613)), by [@&#8203;voidzero-guard](https://redirect.github.com/voidzero-guard)\[bot]. ##### Fixes & Enhancements - Resolve package-manager versions without rewriting `package.json`. Use `vp env pin` or `vp env unpin` to change project declarations explicitly ([#&#8203;2399](https://redirect.github.com/voidzero-dev/vite-plus/pull/2399)), by [@&#8203;liangmiQwQ](https://redirect.github.com/liangmiQwQ). - Let `vp migrate` repair stale `vitest` aliases that previously prevented the CLI from starting ([#&#8203;2605](https://redirect.github.com/voidzero-dev/vite-plus/pull/2605)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Keep Vite DevTools within the version ranges supported by the bundled Vite ([#&#8203;2559](https://redirect.github.com/voidzero-dev/vite-plus/pull/2559)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Keep automatic Vitest upgrades on the supported `4.x` major ([#&#8203;2612](https://redirect.github.com/voidzero-dev/vite-plus/pull/2612)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Remove a deprecated `tsdown` option from the prompts package build ([#&#8203;2597](https://redirect.github.com/voidzero-dev/vite-plus/pull/2597)), by [@&#8203;jong-kyung](https://redirect.github.com/jong-kyung). ##### Refactor - Use the updated `which` dependency to resolve relative `PATH` entries ([#&#8203;2583](https://redirect.github.com/voidzero-dev/vite-plus/pull/2583)), by [@&#8203;RSS1102](https://redirect.github.com/RSS1102). - Remove the unused `async-trait` annotation from `JsRuntimeProvider` ([#&#8203;2538](https://redirect.github.com/voidzero-dev/vite-plus/pull/2538)), by [@&#8203;jong-kyung](https://redirect.github.com/jong-kyung). ##### Docs - Add Azure Pipelines setup instructions ([#&#8203;2553](https://redirect.github.com/voidzero-dev/vite-plus/pull/2553)), by [@&#8203;naokihaba](https://redirect.github.com/naokihaba). - Correct Zed Oxc formatter settings and include JSX and TSX ([#&#8203;2592](https://redirect.github.com/voidzero-dev/vite-plus/pull/2592)), by [@&#8203;joschuba](https://redirect.github.com/joschuba). - Add Wrangler deployment configuration for the documentation site ([#&#8203;2596](https://redirect.github.com/voidzero-dev/vite-plus/pull/2596)), by [@&#8203;mdong1909](https://redirect.github.com/mdong1909). - Explain conflicts between pnpm and Vite+ runtime management, including the `runtimeOnFail` setting ([#&#8203;2620](https://redirect.github.com/voidzero-dev/vite-plus/pull/2620)), by [@&#8203;liangmiQwQ](https://redirect.github.com/liangmiQwQ). ##### Chore - Run CLI snapshots without published release packages ([#&#8203;2625](https://redirect.github.com/voidzero-dev/vite-plus/pull/2625)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Update the release-manager skill with package-install checks, changelog guidance, and announcement handling ([#&#8203;2548](https://redirect.github.com/voidzero-dev/vite-plus/pull/2548)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Wait for npm dependencies to become available before publishing dependent release packages ([#&#8203;2601](https://redirect.github.com/voidzero-dev/vite-plus/pull/2601)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Remove old Docker preview images ([#&#8203;2539](https://redirect.github.com/voidzero-dev/vite-plus/pull/2539)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Stabilize external-tool snapshots and isolate npm network cases ([#&#8203;2577](https://redirect.github.com/voidzero-dev/vite-plus/pull/2577), [#&#8203;2604](https://redirect.github.com/voidzero-dev/vite-plus/pull/2604)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Avoid unreliable Fish PPA setup in CI ([#&#8203;2560](https://redirect.github.com/voidzero-dev/vite-plus/pull/2560)), by [@&#8203;fengmk2](https://redirect.github.com/fengmk2). - Update the `vinext` fixture to an upstream fix ([#&#8203;2571](https://redirect.github.com/voidzero-dev/vite-plus/pull/2571)), by [@&#8203;jong-kyung](https://redirect.github.com/jong-kyung). - Stabilize the pnpm snapshot and Nuxt build in CI ([#&#8203;2591](https://redirect.github.com/voidzero-dev/vite-plus/pull/2591)), by [@&#8203;voidzero-guard](https://redirect.github.com/voidzero-guard)\[bot]. - Pin pnpm in project-creation build-approval fixtures ([#&#8203;2616](https://redirect.github.com/voidzero-dev/vite-plus/pull/2616)), by [@&#8203;liangmiQwQ](https://redirect.github.com/liangmiQwQ). - Remove unused documentation components, assets, and the typewriter dependency ([#&#8203;2550](https://redirect.github.com/voidzero-dev/vite-plus/pull/2550), [#&#8203;2562](https://redirect.github.com/voidzero-dev/vite-plus/pull/2562)), by [@&#8203;jong-kyung](https://redirect.github.com/jong-kyung). - Remove duplicate `tempfile` dependencies, an unused runtime helper, and unused error variants. Update the `unit_bindings` lint name ([#&#8203;2555](https://redirect.github.com/voidzero-dev/vite-plus/pull/2555), [#&#8203;2558](https://redirect.github.com/voidzero-dev/vite-plus/pull/2558), [#&#8203;2566](https://redirect.github.com/voidzero-dev/vite-plus/pull/2566), [#&#8203;2567](https://redirect.github.com/voidzero-dev/vite-plus/pull/2567)), by [@&#8203;jong-kyung](https://redirect.github.com/jong-kyung). - Update GitHub Actions dependencies, including `actions/setup-node` `v7` ([#&#8203;2544](https://redirect.github.com/voidzero-dev/vite-plus/pull/2544), [#&#8203;2545](https://redirect.github.com/voidzero-dev/vite-plus/pull/2545), [#&#8203;2582](https://redirect.github.com/voidzero-dev/vite-plus/pull/2582), [#&#8203;2618](https://redirect.github.com/voidzero-dev/vite-plus/pull/2618)), by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot]. - Update `crate-ci/typos` through `v1.50.1` ([#&#8203;2584](https://redirect.github.com/voidzero-dev/vite-plus/pull/2584), [#&#8203;2589](https://redirect.github.com/voidzero-dev/vite-plus/pull/2589), [#&#8203;2609](https://redirect.github.com/voidzero-dev/vite-plus/pull/2609)), by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot]. - Update repository pnpm to `11.24.0` ([#&#8203;2590](https://redirect.github.com/voidzero-dev/vite-plus/pull/2590)), by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot]. - Update `voidzero-dev/setup-vp` to `v1.19.0` ([#&#8203;2619](https://redirect.github.com/voidzero-dev/vite-plus/pull/2619)), by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot]. ##### Bundled Versions | Tool | Version | Source | | ----------------- | ---------- | ------------------------------------------------------------------------------------------------- | | `vite` | `8.2.2` | [`de1111a`](https://redirect.github.com/vitejs/vite/commit/de1111ab0be00879b404e7ed3b2a80e264edddc1) | | `rolldown` | `1.2.7` | [`26b4c6e`](https://redirect.github.com/rolldown/rolldown/commit/26b4c6e56c5553d72a910d0f73d60fa331c0ed88) | | `tsdown` | `0.23.0` | [npm](https://npmx.dev/package/tsdown/v/0.23.0) | | `vitest` | `4.1.11` | [npm](https://npmx.dev/package/vitest/v/4.1.11) | | `oxlint` | `1.81.0` | [npm](https://npmx.dev/package/oxlint/v/1.81.0) | | `oxlint-tsgolint` | `7.0.2001` | [npm](https://npmx.dev/package/oxlint-tsgolint/v/7.0.2001) | | `oxfmt` | `0.66.0` | [npm](https://npmx.dev/package/oxfmt/v/0.66.0) | ##### Upgrade ```bash vp upgrade ``` ##### New Contributors [@&#8203;afonsojramos](https://redirect.github.com/afonsojramos), [@&#8203;joschuba](https://redirect.github.com/joschuba) **Full Changelog**: <voidzero-dev/vite-plus@v0.3.0...v0.3.1> ##### Published Packages - `@voidzero-dev/vite-plus-core@0.3.1` - `vite-plus@0.3.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:0.3.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 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:eyJjcmVhdGVkSW5WZXIiOiI0NC42OS4xIiwidXBkYXRlZEluVmVyIjoiNDQuNjkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 7cc6c16 commit 1a5438d

2 files changed

Lines changed: 378 additions & 353 deletions

File tree

0 commit comments

Comments
 (0)