mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Create a utility method for the latest git tag, sorted by committerdate, which matches SemVer, representing the latest version released on the branch. PR Close #41455
31 lines
858 B
Text
31 lines
858 B
Text
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/semver",
|
|
"@npm//@types/shelljs",
|
|
"@npm//@types/yargs",
|
|
"@npm//chalk",
|
|
"@npm//inquirer",
|
|
"@npm//semver",
|
|
"@npm//shelljs",
|
|
"@npm//tslib",
|
|
"@npm//typed-graphqlify",
|
|
"@npm//yargs",
|
|
],
|
|
)
|