Andrew Kushnir 3d668162d9 Revert "refactor(dev-infra): remove usages and dependency on shelljs (#42394)" (#42829)
This reverts commit f0d857eff876033359a7c284171775041f75db5d.

PR Close #42829
2021-07-12 15:24:54 -07:00

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",
],
)