Skip to content

Commit f676683

Browse files
authored
build: remove unused angular bazel postinstall patch (#18373)
In the past, when the framework repo updated their `rules_nodejs` version, a patch on the components was needed in order to make the `components-repo-unit-tests` job on framework green. Since this update PR already landed, and we updated to the Angular version that includes these changes, we can remove the patch.
1 parent e6e2382 commit f676683

File tree

2 files changed

+0
-85
lines changed

2 files changed

+0
-85
lines changed

tools/bazel/angular_bazel_rules_nodejs_1.0.0.patch

Lines changed: 0 additions & 77 deletions
This file was deleted.

tools/bazel/postinstall-patches.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@ shelljs.cd(projectDir);
2929
// Workaround for https://github.com/angular/angular/issues/18810.
3030
shelljs.exec('ngc -p angular-tsconfig.json');
3131

32-
try {
33-
// Temporary patch to make @angular/bazel compatible with rules_nodejs 1.0.0.
34-
// This is needed to resolve the dependency sandwich between angular components and
35-
// repo framework. It can be removed with a future @angular/bazel update.
36-
// try/catch needed for this the material CI tests to work in angular/repo
37-
applyPatch(path.join(__dirname, './angular_bazel_rules_nodejs_1.0.0.patch'));
38-
} catch (_) {}
39-
4032
// Workaround for https://github.com/angular/angular/issues/30586. It's not possible to
4133
// enable tsickle decorator processing without enabling import rewriting to closure.
4234
// This replacement allows us to enable decorator processing without rewriting imports.

0 commit comments

Comments
 (0)