refactor: move ts-circular-dependencies tool to dev-infra (#35647)

PR Close #35647
This commit is contained in:
Paul Gschwendtner 2020-03-17 12:57:28 +01:00 committed by Andrew Kushnir
parent 9ea53803f7
commit 7aab399c84
8 changed files with 17 additions and 8 deletions

View File

@ -0,0 +1,16 @@
load("@npm_bazel_typescript//:index.bzl", "ts_library")
ts_library(
name = "ts-circular-dependencies",
srcs = glob(["*.ts"]),
module_name = "@angular/dev-infra-private/ts-circular-dependencies",
visibility = ["//dev-infra:__subpackages__"],
deps = [
"@npm//@types/glob",
"@npm//@types/node",
"@npm//@types/yargs",
"@npm//chalk",
"@npm//tslib",
"@npm//typescript",
],
)

View File

@ -35,7 +35,7 @@
"tslint": "tsc -p tools/tsconfig.json && tslint -c tslint.json \"+(packages|modules|scripts|tools)/**/*.+(js|ts)\"",
"public-api:check": "node goldens/public-api/manage.js test",
"public-api:update": "node goldens/public-api/manage.js accept",
"ts-circular-deps": "ts-node --project tools/ts-circular-dependencies/tsconfig.json tools/ts-circular-dependencies/index.ts"
"ts-circular-deps": "ts-node dev-infra/ts-circular-dependencies/index.ts"
},
"// 1": "dependencies are used locally and by bazel",
"dependencies": {

View File

@ -1,7 +0,0 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es2015",
"strict": true
}
}