Greg Magolan 93c2df23bf build: upgrade to rules_nodejs 1.0.0 (first stable release) (#34736)
Brings in the fix for stamping which was preventing many targets from getting cached.

PR Close #34736
2020-01-15 14:58:07 -05:00

27 lines
466 B
Python

load("//tools:defaults.bzl", "pkg_npm")
package(default_visibility = ["//visibility:public"])
exports_files([
"package.json",
"collection.json",
])
genrule(
name = "collection",
srcs = ["collection.json"],
outs = ["test-collection.json"],
cmd = "cp $< $@",
output_to_bindir = 1,
)
pkg_npm(
name = "npm_package",
srcs = [
"collection.json",
],
deps = [
"//packages/elements/schematics/ng-add",
],
)