Skip to content

Commit

Permalink
ci: Upgrade tsec to 0.2.0. (#44205)
Browse files Browse the repository at this point in the history
tools/tsec.bzl is now part of tsec. Remove from Angular repo and update
BUILD.bazel files.

PR Close #44205
  • Loading branch information
uraj authored and thePunderWoman committed Nov 24, 2021
1 parent 6afcc2f commit b8dd936
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 230 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
"sauce-connect": "https://saucelabs.com/downloads/sc-4.6.2-linux.tar.gz",
"semver": "^7.3.5",
"ts-node": "^10.0.0",
"tsec": "0.1.11",
"tsec": "0.2.0",
"tslint-eslint-rules": "5.4.0",
"tslint-no-toplevel-property-access": "0.0.2",
"typed-graphqlify": "^3.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("//tools:defaults.bzl", "ng_package", "ts_library")
load("//tools:tsec.bzl", "tsec_test")
load("@npm//tsec:index.bzl", "tsec_test")

package(default_visibility = ["//visibility:public"])

Expand Down
2 changes: 1 addition & 1 deletion packages/core/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
load("@build_bazel_rules_nodejs//:index.bzl", "generated_file_test")
load("//tools:defaults.bzl", "api_golden_test", "api_golden_test_npm_package", "ng_module", "ng_package")
load("//tools:tsec.bzl", "tsec_test")
load("@npm//tsec:index.bzl", "tsec_test")
load("//packages/common/locales:index.bzl", "generate_base_locale_file")

package(default_visibility = ["//visibility:public"])
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/compiler/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("//tools:defaults.bzl", "ts_library")
load("//tools:tsec.bzl", "tsec_test")
load("@npm//tsec:index.bzl", "tsec_test")

package(default_visibility = [
"//packages/compiler/test:__pkg__",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/di/interface/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("//tools:defaults.bzl", "ts_library")
load("//tools:tsec.bzl", "tsec_test")
load("@npm//tsec:index.bzl", "tsec_test")

package(default_visibility = [
"//packages/core:__subpackages__",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/interface/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("//tools:defaults.bzl", "ts_library")
load("//tools:tsec.bzl", "tsec_test")
load("@npm//tsec:index.bzl", "tsec_test")

package(default_visibility = [
"//packages/core:__subpackages__",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/reflection/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("//tools:defaults.bzl", "ts_library")
load("//tools:tsec.bzl", "tsec_test")
load("@npm//tsec:index.bzl", "tsec_test")

package(default_visibility = [
"//packages/core:__subpackages__",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/util/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("//tools:defaults.bzl", "ts_library")
load("//tools:tsec.bzl", "tsec_test")
load("@npm//tsec:index.bzl", "tsec_test")

package(default_visibility = [
"//packages/core:__subpackages__",
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-browser/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("//tools:defaults.bzl", "api_golden_test_npm_package", "ng_module", "ng_package")
load("//tools:tsec.bzl", "tsec_test")
load("@npm//tsec:index.bzl", "tsec_test")

package(default_visibility = ["//visibility:public"])

Expand Down
2 changes: 1 addition & 1 deletion packages/platform-browser/animations/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("//tools:defaults.bzl", "ng_module")
load("//tools:tsec.bzl", "tsec_test")
load("@npm//tsec:index.bzl", "tsec_test")

package(default_visibility = ["//visibility:public"])

Expand Down
2 changes: 1 addition & 1 deletion packages/platform-server/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("//tools:defaults.bzl", "api_golden_test_npm_package", "ng_module", "ng_package")
load("//tools:tsec.bzl", "tsec_test")
load("@npm//tsec:index.bzl", "tsec_test")

package(default_visibility = ["//visibility:public"])

Expand Down
2 changes: 1 addition & 1 deletion packages/platform-server/init/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("//tools:defaults.bzl", "ng_module")
load("//tools:tsec.bzl", "tsec_test")
load("@npm//tsec:index.bzl", "tsec_test")

package(default_visibility = ["//visibility:public"])

Expand Down
214 changes: 0 additions & 214 deletions tools/tsec.bzl

This file was deleted.

8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13910,10 +13910,10 @@ ts-node@^10.0.0, ts-node@^10.2.1:
make-error "^1.1.1"
yn "3.1.1"

tsec@0.1.11:
version "0.1.11"
resolved "https://registry.yarnpkg.com/tsec/-/tsec-0.1.11.tgz#d24d0b36bfd73c83bf39db4211d29a0469457da4"
integrity sha512-GzUW2kyV8UgmEp0NPkcxsnlXimJj02kchmVde6FnzUfvpAp+l36MKT2swcCd0aS8QWfqaXNckXrFtjZhIGJWkw==
tsec@0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/tsec/-/tsec-0.2.0.tgz#f8417b6929eaf71c61ca9593e96f1f2f94cbc9b9"
integrity sha512-fk70XZHb7AIcPI6PbtlHp/rXbca4G+ocfjJxc4M3daf66VUsQc82WppqD0jle5FaqVLRLV37ukmwjCOSjXdI+A==
dependencies:
glob "^7.1.1"
minimatch "^3.0.3"
Expand Down

0 comments on commit b8dd936

Please sign in to comment.