Skip to content

Commit c56f05c

Browse files
devversiondylhunn
authored andcommitted
build: add temporary patch to make tsec compatible with rules_nodejs v5 (angular#45431)
Adds a temporary patch to make `tsec` compatible with `rules_nodejs` v5 until google/tsec#25 is available/released. PR Close angular#45431
1 parent 7f6859e commit c56f05c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/postinstall-patches.js

+4
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ for (const [fileName, patches] of ngDevPatches.entries()) {
139139
}
140140
}
141141

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

0 commit comments

Comments
 (0)