fix(bazel): Install angular repo before yarn_install (#28670)

PR closes https://github.com/angular/angular/issues/28636

PR Close #28670
This commit is contained in:
Keen Yee Liau
2019-02-13 09:44:54 +08:00
committed by Miško Hevery
parent 0c7581da89
commit 49fb8c3cb0
2 changed files with 4 additions and 18 deletions

View File

@ -52,6 +52,9 @@ check_bazel_version("0.18.0")
node_repositories()
yarn_install(
name = "npm",
# Need a reference to @angular here so that Bazel sets up the
# external repository before calling yarn_install
data = ["@angular//:LICENSE"],
package_json = "//:package.json",
yarn_lock = "//:yarn.lock",
)