angular-docs-cn/packages/elements/schematics/ng-add/BUILD.bazel

47 lines
899 B
Python
Raw Normal View History

package(default_visibility = ["//visibility:public"])
load("//tools:defaults.bzl", "jasmine_node_test", "npm_package", "ts_library")
ts_library(
name = "ng-add",
srcs = glob(
[
"index.ts",
"schema.ts",
],
),
deps = [
"//packages/common",
"//packages/core",
"@ngdeps//@angular-devkit/schematics",
"@rxjs",
],
)
ts_library(
name = "test_lib",
testonly = True,
srcs = glob(
[
"index_spec.ts",
],
),
deps = [
":ng-add",
"//packages/common",
"//packages/core",
"@ngdeps//@angular-devkit/schematics",
"@rxjs",
"@rxjs//operators",
],
)
jasmine_node_test(
name = "test",
deps = [
":test_lib",
"//packages/elements/schematics:collection",
"@ngdeps//@schematics/angular",
],
)