Skip to content

Commit 7a3e200

Browse files
devversiondylhunn
authored andcommitted
build: temporarily patch @bazel/concatjs to unblock tsickle update (angular#47018)
Temporary patch until bazel-contrib/rules_nodejs#3517 is available in another `rules_nodejs` release. We can remove this patch, but for now it doesn't hurt. On the external side the tsickle code path is not hit at all anyway, but we need to satisfy the TypeScript checker. PR Close angular#47018
1 parent ea89677 commit 7a3e200

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+
// TODO: Remove when https://github.com/bazelbuild/rules_nodejs/pull/3517 is available.
143+
sed('-i', 'private rootDirsRelative;', 'rootDirsRelative(fileName: string): string;',
144+
'node_modules/@bazel/concatjs/internal/tsc_wrapped/compiler_host.d.ts');
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)