Skip to content

Commit 4e64087

Browse files
feat(deps): upgrade upstream dependencies (#2311)
## Summary - Automated upgrade of upstream dependencies. - Bumps `rolldown` to `v1.2.2 (872b98a)`. - Bumps catalog `rolldown-plugin-dts` (`^0.27.0` -> `^0.28.0`) and `@napi-rs/*` tooling. - Syncs the `rolldown-plugin-dts` `dts()` option in `packages/core/build.ts` (`oxc: true` -> `generator: 'oxc'`) for the new plugin major. ## Dependency updates | Package | From | To | | --- | --- | --- | | `rolldown` | `93c535d` | `v1.2.2 (872b98a)` | | `rolldown-plugin-dts` | `^0.27.0` | `^0.28.0` | | `@napi-rs/cli` | `^3.8.0` | `^3.8.2` | | `@napi-rs/wasm-runtime` | `^1.2.0` | `^1.2.2` | ## Code changes - `packages/core/build.ts`: update the `dts()` plugin option from `oxc: true` to `generator: 'oxc'` to match `rolldown-plugin-dts` v0.28. - `pnpm-workspace.yaml`: bump `rolldown-plugin-dts`, `@napi-rs/cli`, and `@napi-rs/wasm-runtime` catalog entries; add `@napi-rs/wasm-runtime` to `minimumReleaseAgeExclude`. - `packages/core/package.json`: update `bundledVersions.rolldown` from `1.2.1` to `1.2.2`. - Lockfile-only churn in `Cargo.lock` and `pnpm-lock.yaml`; upstream version pin updated in `packages/tools/.upstream-versions.json`. ## 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) <fengmk2@gmail.com>
1 parent 5981c6e commit 4e64087

10 files changed

Lines changed: 402 additions & 52 deletions

File tree

.github/workflows/e2e-test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,10 @@ jobs:
308308
vp test
309309
- name: vinext
310310
node-version: 24
311-
# The vinext suite is ~7000 tests and needs more than the default
312-
# 10-minute job budget on 4-core runners.
313-
timeout: 15
311+
# The full vinext suite (~7000 tests) outgrew a 15-minute budget
312+
# on 4-core runners, so run one shard of the unit project here;
313+
# the rest of the suite is covered by vinext's own CI.
314+
timeout: 20
314315
command: |
315316
# vp migrate's auto-install passes --ignore-scripts on pnpm v11
316317
# (vinext pins pnpm 11), which skips vinext's approved
@@ -320,7 +321,7 @@ jobs:
320321
vp run build
321322
vp check --fix
322323
vp run check
323-
vp run test
324+
vp test run --project unit --shard=1/3
324325
- name: reactive-resume
325326
node-version: 24
326327
command: |

Cargo.lock

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/vite_js_runtime/src/runtime.rs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -786,6 +786,10 @@ mod tests {
786786
}
787787

788788
#[tokio::test]
789+
#[cfg_attr(
790+
target_env = "musl",
791+
ignore = "latest can outrun the unofficial-builds musl channel"
792+
)]
789793
async fn test_download_runtime_for_project_no_dev_engines() {
790794
let temp_dir = TempDir::new().unwrap();
791795
let temp_path = AbsolutePathBuf::new(temp_dir.path().to_path_buf()).unwrap();
@@ -818,6 +822,10 @@ mod tests {
818822
}
819823

820824
#[tokio::test]
825+
#[cfg_attr(
826+
target_env = "musl",
827+
ignore = "latest can outrun the unofficial-builds musl channel"
828+
)]
821829
async fn test_download_runtime_for_project_does_not_write_back_when_no_version() {
822830
let temp_dir = TempDir::new().unwrap();
823831
let temp_path = AbsolutePathBuf::new(temp_dir.path().to_path_buf()).unwrap();
@@ -899,6 +907,10 @@ mod tests {
899907
}
900908

901909
#[tokio::test]
910+
#[cfg_attr(
911+
target_env = "musl",
912+
ignore = "latest can outrun the unofficial-builds musl channel"
913+
)]
902914
async fn test_download_runtime_for_project_no_package_json() {
903915
let temp_dir = TempDir::new().unwrap();
904916
let temp_path = AbsolutePathBuf::new(temp_dir.path().to_path_buf()).unwrap();
@@ -1210,6 +1222,10 @@ mod tests {
12101222
// ==========================================
12111223

12121224
#[tokio::test]
1225+
#[cfg_attr(
1226+
target_env = "musl",
1227+
ignore = "latest can outrun the unofficial-builds musl channel"
1228+
)]
12131229
async fn test_invalid_node_version_file_is_ignored() {
12141230
let temp_dir = TempDir::new().unwrap();
12151231
let temp_path = AbsolutePathBuf::new(temp_dir.path().to_path_buf()).unwrap();
@@ -1232,6 +1248,10 @@ mod tests {
12321248
}
12331249

12341250
#[tokio::test]
1251+
#[cfg_attr(
1252+
target_env = "musl",
1253+
ignore = "latest can outrun the unofficial-builds musl channel"
1254+
)]
12351255
async fn test_invalid_engines_node_is_ignored() {
12361256
let temp_dir = TempDir::new().unwrap();
12371257
let temp_path = AbsolutePathBuf::new(temp_dir.path().to_path_buf()).unwrap();
@@ -1251,6 +1271,10 @@ mod tests {
12511271
}
12521272

12531273
#[tokio::test]
1274+
#[cfg_attr(
1275+
target_env = "musl",
1276+
ignore = "latest can outrun the unofficial-builds musl channel"
1277+
)]
12541278
async fn test_invalid_dev_engines_runtime_is_ignored() {
12551279
let temp_dir = TempDir::new().unwrap();
12561280
let temp_path = AbsolutePathBuf::new(temp_dir.path().to_path_buf()).unwrap();
@@ -1449,6 +1473,10 @@ mod tests {
14491473
}
14501474

14511475
#[tokio::test]
1476+
#[cfg_attr(
1477+
target_env = "musl",
1478+
ignore = "latest can outrun the unofficial-builds musl channel"
1479+
)]
14521480
async fn test_download_runtime_for_project_with_lts_latest_alias() {
14531481
let temp_dir = TempDir::new().unwrap();
14541482
let temp_path = AbsolutePathBuf::new(temp_dir.path().to_path_buf()).unwrap();

0 commit comments

Comments
 (0)