2018-04-12 18:09:06 -04:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2018-06-04 13:45:27 -04:00
|
|
|
load("//tools:defaults.bzl", "npm_package", "ts_library")
|
2018-04-12 18:09:06 -04:00
|
|
|
load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "ng-add",
|
|
|
|
srcs = glob(
|
|
|
|
[
|
|
|
|
"index.ts",
|
|
|
|
"schema.ts",
|
|
|
|
],
|
|
|
|
),
|
|
|
|
deps = [
|
|
|
|
"//packages/common",
|
|
|
|
"//packages/core",
|
|
|
|
"@rxjs",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
|
|
|
testonly = 1,
|
|
|
|
srcs = glob(
|
|
|
|
[
|
|
|
|
"index_spec.ts",
|
|
|
|
],
|
|
|
|
),
|
|
|
|
deps = [
|
|
|
|
":ng-add",
|
|
|
|
"//packages/common",
|
|
|
|
"//packages/core",
|
|
|
|
"@rxjs",
|
|
|
|
"@rxjs//operators",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
jasmine_node_test(
|
|
|
|
name = "test",
|
|
|
|
deps = [
|
|
|
|
":test_lib",
|
2018-05-11 02:35:21 -04:00
|
|
|
"//packages/elements/schematics:collection",
|
2018-04-12 18:09:06 -04:00
|
|
|
],
|
|
|
|
)
|