Skip to content

Commit 0f40a90

Browse files
committed
build: add temporary patch to make tsec compatible with rules_nodejs v5
Adds a temporary patch to make `tsec` compatible with `rules_nodejs` v5 until google/tsec#25 is available/released.
1 parent 1ed3cd8 commit 0f40a90

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/postinstall-patches.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ for (const [fileName, patches] of ngDevPatches.entries()) {
122122
}
123123
}
124124

125+
// Workaround until tsec is compatible with `rules_nodejs` v5.
126+
// TODO: Remove when https://github.com/google/tsec/pull/25 is available.
127+
sed('-i', '@bazel/typescript', '@bazel/concatjs', 'node_modules/tsec/index.bzl');
128+
125129
log('\n# patch: delete d.ts files referring to rxjs-compat');
126130
// more info in https://github.com/angular/angular/pull/33786
127131
rm('-rf', [

0 commit comments

Comments
 (0)