5b1fcccf33
* First attempt at adding a directory for icons under //ts * Fix image import * Fix import order * Add cloze button group * Fix issue with toolbar.toolbar dynamically slottable * Change tooltip for repeating cloze deletion * Fix repeat cloze button not working on macOS (dae)
46 lines
773 B
Python
46 lines
773 B
Python
load("//ts:prettier.bzl", "prettier", "prettier_test")
|
|
load("@build_bazel_rules_nodejs//:index.bzl", "copy_to_bin")
|
|
|
|
prettier()
|
|
|
|
prettier_test()
|
|
|
|
# Exported files
|
|
#################
|
|
|
|
exports_files([
|
|
".eslintrc.js",
|
|
"licenses.json",
|
|
"sql_format.ts",
|
|
"jest.config.js",
|
|
"package.json",
|
|
"protobuf-no-long.js",
|
|
"page.html",
|
|
])
|
|
|
|
# a copy needs to be placed in bazel-bin for libs with
|
|
# generated files
|
|
copy_to_bin(
|
|
name = "tsconfig_bin",
|
|
srcs = ["tsconfig.json"],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
alias(
|
|
name = "yarn",
|
|
actual = "@nodejs//:yarn",
|
|
)
|
|
|
|
alias(
|
|
name = "node",
|
|
actual = "@nodejs//:node",
|
|
)
|
|
|
|
filegroup(
|
|
name = "ts",
|
|
srcs = [
|
|
"//ts/icons",
|
|
],
|
|
visibility = ["//ts:__subpackages__"],
|
|
)
|