feat(dev-infra): create common config file loading util (#36091)

Create a common config file loading utility function and the
necessary util directory.  This util directory can provide common
utility functions for usage inside of the dev-infra package.

PR Close #36091
This commit is contained in:
Joey Perrott
2020-03-16 11:31:24 -07:00
committed by Andrew Kushnir
parent 61c37954c6
commit 52d66ea5a9
4 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1,17 @@
load("@npm_bazel_typescript//:index.bzl", "ts_library")
ts_library(
name = "config",
srcs = [
"config.ts",
],
visibility = ["//dev-infra:__subpackages__"],
deps = [
"@npm//@types/json5",
"@npm//@types/node",
"@npm//@types/shelljs",
"@npm//json5",
"@npm//shelljs",
"@npm//tslib",
],
)