Skip to content

Commit ad88d17

Browse files
committed
build: update tsec and drop corresponding postinstall patch
Updates tsec and drops the corresponding postinstall patch that we added when we updated to Bazel v5. See: google/tsec#25
1 parent 653457e commit ad88d17

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
"stylelint": "^14.5.0",
211211
"terser": "^5.10.0",
212212
"ts-node": "^10.4.0",
213-
"tsec": "0.2.1",
213+
"tsec": "0.2.2",
214214
"tsickle": "0.39.1",
215215
"tslint": "^6.1.3",
216216
"tsutils": "^3.21.0",

tools/postinstall/apply-patches.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const chalk = require('chalk');
1414
* Version of the post install patch. Needs to be incremented when
1515
* existing patches or edits have been modified.
1616
*/
17-
const PATCH_VERSION = 15;
17+
const PATCH_VERSION = 16;
1818

1919
/** Path to the project directory. */
2020
const projectDir = path.join(__dirname, '../..');
@@ -55,9 +55,6 @@ function applyPatches() {
5555
// Switches the devmode output for Angular Bazel to ES2020 target and module.
5656
applyPatch(path.join(__dirname, './devmode-es2020-bazel.patch'));
5757

58-
// Workaround until https://github.com/google/tsec/pull/25 is available.
59-
searchAndReplace('@bazel/typescript', '@bazel/concatjs', 'node_modules/tsec/index.bzl');
60-
6158
// More info in https://github.com/angular/angular/pull/33786
6259
shelljs.rm('-rf', [
6360
'node_modules/rxjs/add/',

0 commit comments

Comments
 (0)