angular-cn/dev-infra/utils/BUILD.bazel

33 lines
872 B
Python
Raw Normal View History

load("//dev-infra:defaults.bzl", "ts_library")
ts_library(
name = "utils",
srcs = glob([
"*.ts",
"git/*.ts",
]),
# prodmode target must be set to es5 as the Octokit class, which is extended is not a proper
# prototyped object.
prodmode_target = "es5",
visibility = ["//dev-infra:__subpackages__"],
deps = [
"@npm//@octokit/core",
"@npm//@octokit/graphql",
"@npm//@octokit/plugin-paginate-rest",
"@npm//@octokit/plugin-rest-endpoint-methods",
"@npm//@octokit/rest",
"@npm//@octokit/types",
"@npm//@types/inquirer",
"@npm//@types/node",
"@npm//@types/semver",
"@npm//@types/yargs",
"@npm//chalk",
"@npm//inquirer",
"@npm//semver",
"@npm//tslib",
"@npm//typed-graphqlify",
"@npm//yargs",
],
)