build: Move non-bazel deps to devDependencies (#26691)

This makes yarn_install of ngdeps under Bazel faster, since we don't need many of the large dependencies.
It's important because downstream angular/bazel users will observe the same install time.

PR Close #26691
This commit is contained in:
Alex Eagle
2018-10-22 14:26:52 -07:00
committed by Matias Niemelä
parent b95089db20
commit 66be3c9f51
5 changed files with 72 additions and 41 deletions

View File

@ -22,6 +22,13 @@ def rules_angular_dependencies():
# Download Bazel toolchain dependencies as needed by build actions
#
# TODO(gmagolan): updated to next tagged rules_typescript release
_maybe(
http_archive,
name = "build_bazel_rules_nodejs",
url = "https://github.com/bazelbuild/rules_nodejs/archive/0.15.3.zip",
strip_prefix = "rules_nodejs-0.15.3",
)
_maybe(
http_archive,
name = "build_bazel_rules_typescript",