2021-01-09 05:16:26 +01:00
|
|
|
load("//ts:prettier.bzl", "prettier", "prettier_test")
|
|
|
|
load("//ts:sql_format.bzl", "sql_format_setup")
|
2020-11-12 11:49:00 +01:00
|
|
|
|
|
|
|
prettier()
|
|
|
|
|
2021-01-09 05:16:26 +01:00
|
|
|
prettier_test(
|
|
|
|
name = "format_check",
|
|
|
|
srcs = glob([
|
|
|
|
"*.ts",
|
|
|
|
"*.js",
|
|
|
|
]),
|
|
|
|
)
|
|
|
|
|
|
|
|
sql_format_setup()
|
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
# Exported files
|
|
|
|
#################
|
|
|
|
|
|
|
|
exports_files([
|
|
|
|
"tsconfig.json",
|
|
|
|
".prettierrc",
|
|
|
|
".eslintrc.js",
|
2020-11-12 10:54:13 +01:00
|
|
|
"licenses.json",
|
2021-01-09 09:03:26 +01:00
|
|
|
"sql_format.ts",
|
2021-03-20 05:02:19 +01:00
|
|
|
"protobuf-shim.js",
|
2020-11-01 05:26:58 +01:00
|
|
|
])
|
2020-12-31 03:20:51 +01:00
|
|
|
|
|
|
|
alias(
|
|
|
|
name = "yarn",
|
2020-12-31 03:32:51 +01:00
|
|
|
actual = "@nodejs//:yarn",
|
2020-12-31 03:20:51 +01:00
|
|
|
)
|