Skip to content

Commit b386620

Browse files
feat(deps): upgrade upstream dependencies (#1924)
## Summary - Automated upgrade of upstream dependencies, including the rolldown tag bump to `v1.1.2` and vite to `v8.1.0`. - Bumps the oxc toolchain (oxfmt, oxlint, `@oxc-project/*`, `oxc-*`) from `0.136.0`/`0.55.0`/`1.70.0` to `0.137.0`/`0.56.0`/`1.71.0`, plus the workspace oxc crates `0.135.0` -> `0.137.0`. - Required a small source fix in `vite_static_config` for the oxc parser API change and regenerated NAPI bindings. - `build-upstream` step failed; see Build status. ## Dependency updates | Package | From | To | | --- | --- | --- | | `rolldown` | `d7f919c` | `v1.1.2 (e0d0b1b)` | | `vite` | `f94df87` | `v8.1.0 (63b1489)` | | `oxfmt` | `0.55.0` | `0.56.0` | | `oxlint` | `1.70.0` | `1.71.0` | | `@oxc-project/runtime` | `0.136.0` | `0.137.0` | | `@oxc-project/types` | `0.136.0` | `0.137.0` | | `oxc-minify` | `0.136.0` | `0.137.0` | | `oxc-parser` | `0.136.0` | `0.137.0` | | `oxc-transform` | `0.136.0` | `0.137.0` | <details><summary>Unchanged dependencies</summary> - `vitest` and `@vitest/*`: `4.1.9` - `tsdown`: `0.22.3` - `@oxc-node/cli`: `0.1.0` - `@oxc-node/core`: `0.1.0` - `oxlint-tsgolint`: `0.23.0` - `@vitejs/devtools`: `0.3.3` </details> ## Code changes - `crates/vite_static_config/src/lib.rs`: use `result.diagnostics` instead of `result.errors` for the oxc parser result (oxc `0.135` -> `0.137` API change). - `Cargo.toml`: bump workspace oxc crates `0.135.0` -> `0.137.0`, `oxc_resolver` `11.21.0` -> `11.21.3`, `oxc_sourcemap` `7` -> `8.0.1`; drop unused workspace deps (`commondir`, `num-format`, `ropey`, `urlencoding`, `rolldown_plugin_vite_wasm_fallback`); add `idna_adapter` and `supports-color` pins. - `packages/cli/binding/index.cjs`, `packages/cli/binding/index.d.cts`: regenerated NAPI bindings (add `BindingErrorStage` export; remove React Compiler option types). - `packages/core/package.json`: bump `bundledVersions` (`vite` `8.1.0`, `rolldown` `1.1.2`) and `@vitejs/devtools` peer range `^0.1.18` -> `^0.3.0`. - `pnpm-workspace.yaml`: catalog bumps (`@babel/*` `7.24.7` -> `7.29.7`, `@napi-rs/cli`, `acorn`) and added `minimumReleaseAgeExclude` entries. - `Cargo.lock`, `pnpm-lock.yaml`: lockfile updates. ## Build status - `sync-remote-and-build`: success - `build-upstream`: failure --------- Co-authored-by: voidzero-guard[bot] <278573678+voidzero-guard[bot]@users.noreply.github.com> Co-authored-by: MK <fengmk2@gmail.com>
1 parent 053fc93 commit b386620

11 files changed

Lines changed: 1105 additions & 1586 deletions

File tree

.github/workflows/test-vp-create.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,12 @@ jobs:
189189
# Force full dependency rewriting so the library template's existing
190190
# vite-plus dep gets overridden with the local tgz
191191
VP_FORCE_MIGRATE: '1'
192+
# yarn 4 quarantines packages published within `npmMinimalAgeGate`
193+
# (default 1440 min / 24h). When an oxlint bump landed <24h ago, the
194+
# migration step's `vp dlx @oxlint/migrate@<bundled oxlint>` fails with
195+
# `YN0016 ... are quarantined`. The migrate tool is version-pinned to the
196+
# bundled oxlint, so disable the gate for this test (no-op for npm/pnpm/bun).
197+
YARN_NPM_MINIMAL_AGE_GATE: '0'
192198
steps:
193199
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
194200

0 commit comments

Comments
 (0)