Anki/ts/sql_format/BUILD.bazel

19 lines
437 B
Text

load("//ts:typescript.bzl", "typescript")
load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")
_deps = [
"@npm//@sqltools/formatter",
"@npm//@types/diff",
"@npm//@types/node",
"@npm//diff",
]
typescript(
name = "sql_format_lib",
srcs = ["sql_format.ts"],
deps = _deps,
)
# a hack to allow us to define the test in a different file; there
# should be a better way
exports_files(["sql_format.ts"])