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

@ -8,8 +8,8 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Fetch rules_nodejs so we can install our npm dependencies
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "ecaa54955b314b5e33948bd8f39e35c35ee89e905d8de1c03868100293510573",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.2.1/rules_nodejs-1.2.1.tar.gz"],
sha256 = "6bcef105e75cac3c5f8212e0d0431b6ec1aaa1963e093b0091474ab98ecf29d2",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.2.2/rules_nodejs-1.2.2.tar.gz"],
)
# Fetch sass rules for compiling sass files

View File

@ -23,11 +23,11 @@
"@angular/compiler": "file:../../dist/packages-dist/compiler",
"@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli",
"@bazel/bazel": "file:../../node_modules/@bazel/bazel",
"@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",
"@types/jasmine": "2.8.8",
"http-server": "0.12.0",
"karma": "4.4.1",

File diff suppressed because it is too large Load Diff