7128de895f
Mistakenly stripped this out when removing the typescript dependencies
44 lines
854 B
Python
44 lines
854 B
Python
load("//ts/svelte:svelte.bzl", "compile_svelte", "svelte_check")
|
|
load("//ts:prettier.bzl", "prettier_test")
|
|
load("//ts:eslint.bzl", "eslint_test")
|
|
load("//ts:typescript.bzl", "typescript")
|
|
|
|
compile_svelte(
|
|
deps = ["//sass/bootstrap"],
|
|
)
|
|
|
|
typescript(
|
|
name = "components",
|
|
deps = [
|
|
":svelte",
|
|
"//ts/lib",
|
|
"//ts/sveltelib",
|
|
"@npm//@popperjs/core",
|
|
"@npm//@types/bootstrap",
|
|
"@npm//bootstrap",
|
|
"@npm//svelte",
|
|
],
|
|
)
|
|
|
|
# Tests
|
|
################
|
|
|
|
prettier_test()
|
|
|
|
eslint_test()
|
|
|
|
svelte_check(
|
|
name = "svelte_check",
|
|
srcs = glob([
|
|
"*.ts",
|
|
"*.svelte",
|
|
]) + [
|
|
"//sass:base_lib",
|
|
"//sass:button_mixins_lib",
|
|
"//sass:scrollbar_lib",
|
|
"//sass/bootstrap",
|
|
"@npm//@types/bootstrap",
|
|
"//ts/sveltelib:sveltelib_pkg",
|
|
],
|
|
)
|