762e057e85
Updates the Bazel NodeJS rules to v4.0.0-beta.0. This is necessary so that the Angular components repo can update, and it's generally good to stay as up-to-date as possible with the Bazel rules as it's easy to fall behind, and updating early allows us to discover issues affecting our tooling earlier (where they are easier to address due to e.g. potential breaking change policy). PR Close #42760
35 lines
929 B
Python
35 lines
929 B
Python
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/shelljs",
|
|
"@npm//@types/yargs",
|
|
"@npm//chalk",
|
|
"@npm//inquirer",
|
|
"@npm//semver",
|
|
"@npm//shelljs",
|
|
"@npm//tslib",
|
|
"@npm//typed-graphqlify",
|
|
"@npm//yargs",
|
|
],
|
|
)
|