2021-07-06 09:45:55 -04:00
|
|
|
load("//dev-infra:defaults.bzl", "ts_library")
|
2020-03-16 14:31:24 -04:00
|
|
|
|
|
|
|
ts_library(
|
2020-04-20 16:00:10 -04:00
|
|
|
name = "utils",
|
2020-06-15 12:20:05 -04:00
|
|
|
srcs = glob([
|
|
|
|
"*.ts",
|
|
|
|
"git/*.ts",
|
|
|
|
]),
|
2021-07-06 09:45:55 -04:00
|
|
|
|
2020-10-01 19:06:56 -04:00
|
|
|
# prodmode target must be set to es5 as the Octokit class, which is extended is not a proper
|
|
|
|
# prototyped object.
|
|
|
|
prodmode_target = "es5",
|
2020-03-16 14:31:24 -04:00
|
|
|
visibility = ["//dev-infra:__subpackages__"],
|
|
|
|
deps = [
|
2021-06-25 18:45:48 -04:00
|
|
|
"@npm//@octokit/core",
|
2020-05-05 18:37:31 -04:00
|
|
|
"@npm//@octokit/graphql",
|
2021-06-25 18:45:48 -04:00
|
|
|
"@npm//@octokit/plugin-paginate-rest",
|
|
|
|
"@npm//@octokit/plugin-rest-endpoint-methods",
|
2020-05-27 18:39:31 -04:00
|
|
|
"@npm//@octokit/rest",
|
2020-06-15 12:20:05 -04:00
|
|
|
"@npm//@octokit/types",
|
2020-05-15 11:21:01 -04:00
|
|
|
"@npm//@types/inquirer",
|
2020-03-16 14:31:24 -04:00
|
|
|
"@npm//@types/node",
|
2021-04-01 19:17:04 -04:00
|
|
|
"@npm//@types/semver",
|
2020-08-26 14:38:19 -04:00
|
|
|
"@npm//@types/yargs",
|
2020-05-18 18:37:18 -04:00
|
|
|
"@npm//chalk",
|
2020-07-20 14:53:26 -04:00
|
|
|
"@npm//inquirer",
|
2021-04-01 19:17:04 -04:00
|
|
|
"@npm//semver",
|
2020-03-16 14:31:24 -04:00
|
|
|
"@npm//tslib",
|
2020-05-05 18:37:31 -04:00
|
|
|
"@npm//typed-graphqlify",
|
2020-08-26 14:38:19 -04:00
|
|
|
"@npm//yargs",
|
2020-03-16 14:31:24 -04:00
|
|
|
],
|
|
|
|
)
|