Skip to content

Commit

Permalink
build: add temporary patch to make tsec compatible with `rules_node…
Browse files Browse the repository at this point in the history
…js` v5

Adds a temporary patch to make `tsec` compatible with `rules_nodejs` v5
until google/tsec#25 is available/released.
  • Loading branch information
devversion committed Mar 24, 2022
1 parent 0da9323 commit 4b32f61
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/postinstall-patches.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ for (const [fileName, patches] of ngDevPatches.entries()) {
}
}

// Workaround until tsec is compatible with `rules_nodejs` v5.
// TODO: Remove when https://github.com/google/tsec/pull/25 is available.
sed('-i', '@bazel/typescript', '@bazel/concatjs', 'node_modules/tsec/index.bzl');

log('\n# patch: delete d.ts files referring to rxjs-compat');
// more info in https://github.com/angular/angular/pull/33786
rm('-rf', [
Expand Down

0 comments on commit 4b32f61

Please sign in to comment.