Skip to content

Commit

Permalink
build: remove unused angular bazel postinstall patch (#18373)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
devversion authored and mmalerba committed Feb 5, 2020
1 parent 0f7a828 commit e7e1ec3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 89 deletions.
77 changes: 0 additions & 77 deletions tools/bazel/angular_bazel_rules_nodejs_1.0.0.patch

This file was deleted.

12 changes: 0 additions & 12 deletions tools/bazel/postinstall-patches.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,6 @@ shelljs.cd(projectDir);
// Workaround for https://github.com/angular/angular/issues/18810.
shelljs.exec('ngc -p angular-tsconfig.json');

try {
// Temporary patch to make @angular/bazel compatible with rules_nodejs 1.0.0.
// This is needed to resolve the dependency sandwich between angular components and
// repo framework. It can be removed with a future @angular/bazel update.
// try/catch needed for this the material CI tests to work in angular/repo
applyPatch(path.join(__dirname, './angular_bazel_rules_nodejs_1.0.0.patch'));
} catch (_) {}

// Temporary patch for ts-api-guardian to be compatible with rules_nodejs 1.0.0.
// TODO: a new ts-api-guardian release is needed.
applyPatch(path.join(__dirname, './ts_api_guardian_rules_nodejs_1.0.0.patch'));

// Workaround for https://github.com/angular/angular/issues/30586. It's not possible to
// enable tsickle decorator processing without enabling import rewriting to closure.
// This replacement allows us to enable decorator processing without rewriting imports.
Expand Down

0 comments on commit e7e1ec3

Please sign in to comment.