/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/cdk/testing/testbed/BUILD.bazel
53 строки
1 KB
Miles Malerba
ci: generate api json for cdk/drag-drop (#31115)
14 май 2025, 19:04
Не верифицирован
14 май 2025, 19:04
89edac9
Код
Авторство
О чём код?
load("//tools:defaults.bzl", "ng_web_test_suite", "ts_project") load("//tools/adev-api-extraction:extract_api_to_json.bzl", "extract_api_to_json") package(default_visibility = ["//visibility:public"]) ts_project( name = "testbed", srcs = glob( ["**/*.ts"], exclude = ["**/*.spec.ts"], ), deps = [ "//:node_modules/@angular/core", "//:node_modules/rxjs", "//src/cdk/keycodes", "//src/cdk/testing", ], ) filegroup( name = "source-files", srcs = glob( ["**/*.ts"], exclude = ["**/*.spec.ts"], ), ) ts_project( name = "unit_test_sources", testonly = True, srcs = glob(["**/*.spec.ts"]), deps = [ ":testbed", "//:node_modules/@angular/core", ], ) ng_web_test_suite( name = "unit_tests", deps = [":unit_test_sources"], ) extract_api_to_json( name = "json_api", srcs = [ ":source-files", ], entry_point = ":index.ts", module_name = "@angular/cdk/testing/testbed", output_name = "cdk_testing_testbed.json", private_modules = [""], repo = "angular/components", )