blob: 08b8311fa59965c2e09df008937d00544ce24444 [file] [log] [blame] [edit]
load("//infra-sk:index.bzl", "sk_demo_page_server", "sk_element", "sk_element_puppeteer_test", "sk_page", "ts_library")
sk_element(
name = "blamelist-panel-sk",
sass_srcs = ["blamelist-panel-sk.scss"],
ts_deps = [
"//golden/modules:settings_ts_lib",
"//infra-sk/modules/ElementSk:index_ts_lib",
"//infra-sk/modules:string_ts_lib",
"//golden/modules:rpc_types_ts_lib",
"//elements-sk/modules:define_ts_lib",
"//infra-sk/modules:human_ts_lib",
"//:node_modules/lit",
],
ts_srcs = [
"blamelist-panel-sk.ts",
"index.ts",
],
visibility = ["//visibility:public"],
)
sk_page(
name = "blamelist-panel-sk-demo",
html_file = "blamelist-panel-sk-demo.html",
sk_element_deps = [":blamelist-panel-sk"],
ts_deps = [
"//golden/modules:settings_ts_lib",
":demo_data_ts_lib",
"//infra-sk/modules:dom_ts_lib",
],
ts_entry_point = "blamelist-panel-sk-demo.ts",
)
sk_element_puppeteer_test(
name = "blamelist-panel-sk_puppeteer_test",
src = "blamelist-panel-sk_puppeteer_test.ts",
sk_demo_page_server = ":demo_page_server",
deps = [
"//:node_modules/@types/chai",
"//:node_modules/chai",
"//puppeteer-tests:util_ts_lib",
],
)
ts_library(
name = "demo_data_ts_lib",
srcs = ["demo_data.ts"],
visibility = ["//visibility:public"],
deps = ["//golden/modules:rpc_types_ts_lib"],
)
sk_demo_page_server(
name = "demo_page_server",
sk_page = ":blamelist-panel-sk-demo",
)