build: update to nodejs rules 0.39.0 (#33426)

This release brings in some important fixes. In particular the 2 segment linker fix for the new rollup_bundle and the strict peerDeps requirement will be important for angular users that opt in to bazel. See https://github.com/bazelbuild/rules_nodejs/releases/tag/0.39.0 for more details.

PR Close #33426
This commit is contained in:
Greg Magolan
2019-10-26 14:59:29 -07:00
committed by Andrew Kushnir
parent 4ee354da99
commit d8d8b8915c
8 changed files with 63 additions and 153 deletions

View File

@ -15,8 +15,8 @@ workspace(
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
RULES_NODEJS_VERSION = "0.38.3"
RULES_NODEJS_SHA256 = "ad4be2c6f40f5af70c7edf294955f9d9a0222c8e2756109731b25f79ea2ccea0"
RULES_NODEJS_VERSION = "0.39.0"
RULES_NODEJS_SHA256 = "26c39450ce2d825abee5583a43733863098ed29d3cbaebf084ebaca59a21a1c8"
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = RULES_NODEJS_SHA256,

View File

@ -50,9 +50,9 @@ function addDevDependenciesToPackageJson(options: Schema) {
'@angular/bazel': angularCoreVersion,
'@bazel/bazel': '^0.28.1',
'@bazel/ibazel': '^0.10.2',
'@bazel/karma': '0.38.3',
'@bazel/protractor': '0.38.3',
'@bazel/typescript': '0.38.3',
'@bazel/karma': '0.39.0',
'@bazel/protractor': '0.39.0',
'@bazel/typescript': '0.39.0',
'history-server': '^1.3.1',
};