Joey Perrott 0e76b32aa5 fix(dev-infra): prep ts-circular-deps to load via node_modules (#36165)
to run ts-circular-deps via installed node_modules, we needed to set
the hashbang of the script to be a node environment, and discover the
project directory based on where the script is run rather than the
scripts file location.

PR Close #36165
2020-03-23 11:36:28 -07:00

18 lines
478 B
Python

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 = [
"//dev-infra/utils:config",
"@npm//@types/glob",
"@npm//@types/node",
"@npm//@types/yargs",
"@npm//chalk",
"@npm//tslib",
"@npm//typescript",
],
)