Skip to content

build: update to latest ts-api-guardian version #18330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
"shelljs": "^0.8.3",
"stylelint": "^12.0.0",
"terser": "^4.3.9",
"ts-api-guardian": "^0.4.6",
"ts-api-guardian": "^0.5.0",
"ts-node": "^3.0.4",
"tsickle": "0.38.0",
"tslint": "^5.20.0",
Expand Down
8 changes: 2 additions & 6 deletions tools/bazel/postinstall-patches.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const path = require('path');
const fs = require('fs');

/**
* Version of the post install patch. Needs to be incremented when patches
* have been added or removed.
* Version of the post install patch. Needs to be incremented when
* existing patches or edits have been modified.
*/
const PATCH_VERSION = 2;

Expand All @@ -37,10 +37,6 @@ try {
applyPatch(path.join(__dirname, './angular_bazel_rules_nodejs_1.0.0.patch'));
} catch (_) {}

// Temporary patch for ts-api-guardian to be compatible with rules_nodejs 1.0.0.
// TODO: a new ts-api-guardian release is needed.
applyPatch(path.join(__dirname, './ts_api_guardian_rules_nodejs_1.0.0.patch'));

// Workaround for https://github.com/angular/angular/issues/30586. It's not possible to
// enable tsickle decorator processing without enabling import rewriting to closure.
// This replacement allows us to enable decorator processing without rewriting imports.
Expand Down
13 changes: 0 additions & 13 deletions tools/bazel/ts_api_guardian_rules_nodejs_1.0.0.patch

This file was deleted.

8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11275,10 +11275,10 @@ try-require@^1.0.0:
resolved "https://registry.yarnpkg.com/try-require/-/try-require-1.2.1.tgz#34489a2cac0c09c1cc10ed91ba011594d4333be2"
integrity sha1-NEiaLKwMCcHMEO2RugEVlNQzO+I=

ts-api-guardian@^0.4.6:
version "0.4.6"
resolved "https://registry.yarnpkg.com/ts-api-guardian/-/ts-api-guardian-0.4.6.tgz#ebd9a700b40de6ca4dbc5c468e322fe86476b6db"
integrity sha512-V+AVEe4HCi3j0mKrvSBNZN6zoY0eIw2r9vcWrqu4vhGlpASgPTSwuPHtxctx4qMBH5ieyqO6rf1LrQfsr8s5tw==
ts-api-guardian@^0.5.0:
version "0.5.0"
resolved "https://registry.yarnpkg.com/ts-api-guardian/-/ts-api-guardian-0.5.0.tgz#1b63546dfd61581054802bdc8d5915ceebcc2c35"
integrity sha512-BjVlb23FUqWU+wmdHkLdaHcllU+v/Cca26sY40bCkM15BCF2yc17daOm+UXyvxQ9NndPM/40m+X+GLyDkrE9tA==
dependencies:
chalk "^2.3.1"
diff "^3.5.0"
Expand Down