build: upgrade bazel rules to latest (#20768)
Add enough BUILD files to make it possible to `bazel build packages/core/test` Also re-format BUILD.bazel files with Buildifier. Add a CI lint check that they stay formatted. PR Close #20768
This commit is contained in:
@ -1 +1,20 @@
|
||||
exports_files(["tsconfig-build.json"])
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
exports_files([
|
||||
"tsconfig-build.json",
|
||||
"tsconfig.json",
|
||||
])
|
||||
|
||||
load("@build_bazel_rules_typescript//:defs.bzl", "ts_config", "ts_library")
|
||||
|
||||
ts_config(
|
||||
name = "tsconfig",
|
||||
src = ":tsconfig-build.json",
|
||||
deps = [],
|
||||
)
|
||||
|
||||
ts_library(
|
||||
name = "types",
|
||||
srcs = glob(["*.ts"]),
|
||||
tsconfig = ":tsconfig",
|
||||
)
|
||||
|
Reference in New Issue
Block a user