build: update to rules_nodejs 0.40.0 (#33802)

This release includes nodejs cross-platform RBE fix in https://github.com/bazelbuild/rules_nodejs/pull/1320 and adds `args` to terser_minified in https://github.com/bazelbuild/rules_nodejs/pull/1317. These changes are needed to land a few outstanding PRs.

* build: fixes for cross-platform RBE #33708
* build: update zone.js to use the new rollup_bundle #33329

fix: fix

PR Close #33802
This commit is contained in:
Greg Magolan
2019-11-13 09:04:26 -08:00
committed by Kara Erickson
parent 744a3854f3
commit ba4f171fac
9 changed files with 72 additions and 71 deletions

View File

@ -15,8 +15,8 @@ workspace(
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
RULES_NODEJS_VERSION = "0.39.1"
RULES_NODEJS_SHA256 = "3d7296d834208792fa3b2ded8ec04e75068e3de172fae79db217615bd75a6ff7"
RULES_NODEJS_VERSION = "0.40.0"
RULES_NODEJS_SHA256 = "9901bc17138a79135048fb0c107ee7a56e91815ec6594c08cb9a17b80276d62b"
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = RULES_NODEJS_SHA256,

View File

@ -50,11 +50,11 @@ function addDevDependenciesToPackageJson(options: Schema) {
'@angular/bazel': angularCoreVersion,
'@bazel/bazel': '1.0.0',
'@bazel/ibazel': '^0.10.2',
'@bazel/karma': '0.39.1',
'@bazel/protractor': '0.39.1',
'@bazel/rollup': '0.39.1',
'@bazel/terser': '0.39.1',
'@bazel/typescript': '0.39.1',
'@bazel/karma': '0.40.0',
'@bazel/protractor': '0.40.0',
'@bazel/rollup': '0.40.0',
'@bazel/terser': '0.40.0',
'@bazel/typescript': '0.40.0',
'history-server': '^1.3.1',
'rollup': '^1.25.2',
'rollup-plugin-commonjs': '^10.1.0',