Skip to content

Commit ad8b4a4

Browse files
committed
fixup! build: update to Angular v20 and Node v20
1 parent ad1ee55 commit ad8b4a4

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

WORKSPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ yarn_install(
9393
"//:tools/postinstall/apply-patches.js",
9494
"//:tools/postinstall/patches/@angular+bazel+16.0.0-next.6.patch",
9595
"//:tools/postinstall/patches/@bazel+concatjs+5.8.1.patch",
96+
"//:tools/postinstall/patches/@angular+build-tooling+0.0.0-1ebf18a3a60b182a3dbad12e9a149fd93af5c29b.patch",
9697
],
9798
# Currently disabled due to:
9899
# 1. Missing Windows support currently.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
diff --git a/node_modules/@angular/build-tooling/.DS_Store b/node_modules/@angular/build-tooling/.DS_Store
2+
new file mode 100644
3+
index 0000000..e69de29
4+
diff --git a/node_modules/@angular/build-tooling/bazel/.DS_Store b/node_modules/@angular/build-tooling/bazel/.DS_Store
5+
new file mode 100644
6+
index 0000000..e69de29
7+
diff --git a/node_modules/@angular/build-tooling/bazel/integration/.DS_Store b/node_modules/@angular/build-tooling/bazel/integration/.DS_Store
8+
new file mode 100644
9+
index 0000000..e69de29
10+
diff --git a/node_modules/@angular/build-tooling/bazel/integration/test_runner/runner.ts b/node_modules/@angular/build-tooling/bazel/integration/test_runner/runner.ts
11+
index cb9eec0..b99337a 100755
12+
--- a/node_modules/@angular/build-tooling/bazel/integration/test_runner/runner.ts
13+
+++ b/node_modules/@angular/build-tooling/bazel/integration/test_runner/runner.ts
14+
@@ -90,7 +90,12 @@ export class TestRunner {
15+
// We keep the temporary directory on disk if the users wants to debug the test.
16+
if (!this.isTestDebugMode) {
17+
debug('Deleting the integration test temporary directory..');
18+
- await fs.promises.rm(testTmpDir, {force: true, recursive: true, maxRetries: 3});
19+
+
20+
+ try {
21+
+ fs.rmSync(testTmpDir, {force: true, recursive: true, maxRetries: 3});
22+
+ } catch (e) {
23+
+ console.error(`Failed to delete temporary directory: ${testTmpDir}`);
24+
+ }
25+
}
26+
}
27+
}

0 commit comments

Comments
 (0)