| load("//infra-sk:index.bzl", "sk_demo_page_server", "sk_element", "sk_element_puppeteer_test", "sk_page") |
| |
| sk_demo_page_server( |
| name = "demo_page_server", |
| sk_page = ":task-sk-demo", |
| ) |
| |
| sk_element( |
| name = "task-sk", |
| sass_deps = [ |
| "//task_scheduler/modules:colors_sass_lib", |
| "//elements-sk/modules/styles:table_sass_lib", |
| ], |
| sass_srcs = ["task-sk.scss"], |
| sk_element_deps = [ |
| "//infra-sk/modules/human-date-sk", |
| "//task_scheduler/modules/task-graph-sk", |
| ], |
| ts_deps = [ |
| "//infra-sk/modules/ElementSk:index_ts_lib", |
| "//task_scheduler/modules/rpc:index_ts_lib", |
| "//elements-sk/modules:define_ts_lib", |
| "//infra-sk/modules:dom_ts_lib", |
| "//infra-sk/modules:human_ts_lib", |
| "//:node_modules/lit", |
| ], |
| ts_srcs = [ |
| "index.ts", |
| "task-sk.ts", |
| ], |
| visibility = ["//visibility:public"], |
| ) |
| |
| sk_page( |
| name = "task-sk-demo", |
| html_file = "task-sk-demo.html", |
| sk_element_deps = [ |
| "//infra-sk/modules/theme-chooser-sk", |
| ":task-sk", |
| ], |
| ts_deps = ["//task_scheduler/modules/rpc-mock:index_ts_lib"], |
| ts_entry_point = "task-sk-demo.ts", |
| ) |
| |
| sk_element_puppeteer_test( |
| name = "task-sk_puppeteer_test", |
| src = "task-sk_puppeteer_test.ts", |
| sk_demo_page_server = ":demo_page_server", |
| deps = [ |
| "//infra-sk/modules/theme-chooser-sk", |
| "//puppeteer-tests:util_ts_lib", |
| ], |
| ) |