build: update to rules_nodejs 1.2.2 (#34961)

Fixes issue with yarn_install not following yarn-path in .yarnrc when bazel run from yarn with `yarn bazel ...` (rules_nodejs: fix: unset YARN_IGNORE_PATH in yarn_install before calling yarn #1588)

PR Close #34961
This commit is contained in:
Greg Magolan
2020-01-30 22:08:10 -08:00
committed by Misko Hevery
parent e4cf71c9f3
commit 2984c00f43
8 changed files with 88 additions and 950 deletions

View File

@ -15,8 +15,8 @@ workspace(
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
RULES_NODEJS_VERSION = "1.2.1"
RULES_NODEJS_SHA256 = "ecaa54955b314b5e33948bd8f39e35c35ee89e905d8de1c03868100293510573"
RULES_NODEJS_VERSION = "1.2.2"
RULES_NODEJS_SHA256 = "6bcef105e75cac3c5f8212e0d0431b6ec1aaa1963e093b0091474ab98ecf29d2"
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = RULES_NODEJS_SHA256,

View File

@ -40,11 +40,11 @@ function addDevDependenciesToPackageJson(options: Schema) {
['@angular/bazel', angularCore.version],
['@bazel/bazel', '2.0.0'],
['@bazel/ibazel', '0.10.3'],
['@bazel/karma', '1.2.1'],
['@bazel/protractor', '1.2.1'],
['@bazel/rollup', '1.2.1'],
['@bazel/terser', '1.2.1'],
['@bazel/typescript', '1.2.1'],
['@bazel/karma', '1.2.2'],
['@bazel/protractor', '1.2.2'],
['@bazel/rollup', '1.2.2'],
['@bazel/terser', '1.2.2'],
['@bazel/typescript', '1.2.2'],
['history-server', '1.3.1'],
['html-insert-assets', '0.2.0'],
['karma', '4.4.1'],