build: idiomatic install of @angular/bazel npm package (#26258) (#26488)

PR Close #26488
This commit is contained in:
Greg Magolan
2018-10-16 13:20:00 -07:00
committed by Igor Minar
parent 30d6233e83
commit 631998b2df
27 changed files with 4118 additions and 3621 deletions
@@ -3,9 +3,11 @@ load("//packages/bazel:index.bzl", "ng_module")
ng_module(
name = "test_module",
srcs = glob(["*.ts"]),
compiler = "//packages/bazel/src/ngc-wrapped",
entry_point = "index.ts",
flat_module_out_file = "flat_module_filename",
module_name = "some_npm_module",
ng_xi18n = "//packages/bazel/src/ngc-wrapped:xi18n",
node_modules = "@ngdeps//typescript:typescript__typings",
deps = [
"//packages/core",