build: introduce a package.bzl (#26488)

This lets Angular Bazel users install our transitive deps, rather than have to list them in their WORKSPACE file.
If they want a different version of one of these deps, they just need to install it before calling rules_angular_dependencies.

PR Close #26488
This commit is contained in:
Alex Eagle
2018-09-26 22:20:16 -07:00
committed by Igor Minar
parent 4c2ce4e8ba
commit b6c9678f21
5 changed files with 263 additions and 90 deletions
+1 -2
View File
@@ -8,9 +8,8 @@ genrule(
npm_package(
name = "npm_package",
srcs = [
srcs = glob(["*.bzl"]) + [
"BUILD.bazel",
"index.bzl",
"package.json",
"//packages/bazel/src:package_assets",
],