Skip to content

Commit

Permalink
build: update tsec and drop corresponding postinstall patch
Browse files Browse the repository at this point in the history
Updates tsec and drops the corresponding postinstall patch that
we added when we updated to Bazel v5. See: google/tsec#25
  • Loading branch information
devversion committed Apr 26, 2022
1 parent 653457e commit ad88d17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
"stylelint": "^14.5.0",
"terser": "^5.10.0",
"ts-node": "^10.4.0",
"tsec": "0.2.1",
"tsec": "0.2.2",
"tsickle": "0.39.1",
"tslint": "^6.1.3",
"tsutils": "^3.21.0",
Expand Down
5 changes: 1 addition & 4 deletions tools/postinstall/apply-patches.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const chalk = require('chalk');
* Version of the post install patch. Needs to be incremented when
* existing patches or edits have been modified.
*/
const PATCH_VERSION = 15;
const PATCH_VERSION = 16;

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

// Workaround until https://github.com/google/tsec/pull/25 is available.
searchAndReplace('@bazel/typescript', '@bazel/concatjs', 'node_modules/tsec/index.bzl');

// More info in https://github.com/angular/angular/pull/33786
shelljs.rm('-rf', [
'node_modules/rxjs/add/',
Expand Down

0 comments on commit ad88d17

Please sign in to comment.