/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/cdk/schematics/testing/BUILD.bazel
36 строк
1 KB
Joey Perrott
build: enable strict deps enforcement for ts_project (#31780)
25 сен 2025, 02:49
Не верифицирован
25 сен 2025, 02:49
5373ced
Код
Авторство
О чём код?
load("@aspect_rules_ts//ts:defs.bzl", "ts_config") load("//tools:defaults.bzl", "ts_project") package(default_visibility = ["//visibility:public"]) ts_config( name = "tsconfig", src = "tsconfig.json", deps = [ "//src/cdk/schematics:tsconfig", ], ) ts_project( name = "testing", testonly = True, srcs = glob(["**/*.ts"]), # Needed to ensure these files are picked up as CommonJS, as otherwise # the higher-level `package.json` from `src/package.json` is `type: module`. data = ["//src/cdk/schematics:package_json"], tsconfig = ":tsconfig", deps = [ "//:node_modules/@angular-devkit/core", "//:node_modules/@angular-devkit/schematics", "//:node_modules/@angular/core", "//:node_modules/@bazel/runfiles", "//:node_modules/@schematics/angular", "//:node_modules/@types/fs-extra", "//:node_modules/@types/jasmine", "//:node_modules/@types/node", "//:node_modules/fs-extra", "//:node_modules/glob", "//:node_modules/jsonc-parser", "//:node_modules/rxjs", ], )