2019-01-16 04:19:01 -05:00
|
|
|
load("//tools:defaults.bzl", "jasmine_node_test", "ts_library")
|
2018-04-12 18:09:06 -04:00
|
|
|
|
2019-01-16 04:19:01 -05:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
2018-04-12 18:09:06 -04:00
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "ng-add",
|
2020-02-07 02:51:47 -05:00
|
|
|
srcs = [
|
|
|
|
"index.ts",
|
|
|
|
"schema.d.ts",
|
|
|
|
],
|
|
|
|
data = [
|
|
|
|
"schema.json",
|
|
|
|
],
|
2018-04-12 18:09:06 -04:00
|
|
|
deps = [
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//@angular-devkit/schematics",
|
2019-11-11 03:27:36 -05:00
|
|
|
"@npm//@schematics/angular",
|
2018-04-12 18:09:06 -04:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "test_lib",
|
2018-10-16 02:24:22 -04:00
|
|
|
testonly = True,
|
2019-01-16 04:19:01 -05:00
|
|
|
srcs = [
|
|
|
|
"index_spec.ts",
|
|
|
|
],
|
2018-04-12 18:09:06 -04:00
|
|
|
deps = [
|
|
|
|
":ng-add",
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//@angular-devkit/schematics",
|
2019-11-11 03:27:36 -05:00
|
|
|
"@npm//@schematics/angular",
|
2018-04-12 18:09:06 -04:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
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
|
|
|
],
|
|
|
|
)
|