30 lines
803 B
Python
30 lines
803 B
Python
load("@npm//@bazel/typescript:index.bzl", "ts_library")
|
|
|
|
ts_library(
|
|
name = "utils",
|
|
srcs = glob([
|
|
"*.ts",
|
|
"git/*.ts",
|
|
]),
|
|
module_name = "@angular/dev-infra-private/utils",
|
|
# 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/graphql",
|
|
"@npm//@octokit/rest",
|
|
"@npm//@octokit/types",
|
|
"@npm//@types/inquirer",
|
|
"@npm//@types/node",
|
|
"@npm//@types/shelljs",
|
|
"@npm//@types/yargs",
|
|
"@npm//chalk",
|
|
"@npm//inquirer",
|
|
"@npm//shelljs",
|
|
"@npm//tslib",
|
|
"@npm//typed-graphqlify",
|
|
"@npm//yargs",
|
|
],
|
|
)
|