Commit b386620
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
- crates/vite_static_config/src
- ecosystem-ci
- packages
- cli/binding
- core
- tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
192 | 198 | | |
193 | 199 | | |
194 | 200 | | |
| |||
0 commit comments