build: update nodejs bazel rules (#14466)

* Updates to the latest version of the NodeJS rules to that we have:
https://github.com/bazelbuild/rules_nodejs/commit/c40ceb960af4213164d4299d8fbc8220ebdd727f

This should fix the flaky CircleCI bazel builds and should be
prioritized if possible.
This commit is contained in:
Paul Gschwendtner
2018-12-12 22:41:29 +01:00
committed by vivian-hu
parent 97f52c0924
commit a3fef46a8e
+5 -2
View File
@@ -5,8 +5,11 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Add NodeJS rules (explicitly used for sass bundle rules)
http_archive(
name = "build_bazel_rules_nodejs",
url = "https://github.com/bazelbuild/rules_nodejs/archive/0.16.3.zip",
strip_prefix = "rules_nodejs-0.16.3",
# TODO(devversion): temporarily depend on a specific commit because we want to make sure that
# our CI is not flaky until there is a new version of the NodeJS rules. See commit:
# https://github.com/bazelbuild/rules_nodejs/commit/c40ceb960af4213164d4299d8fbc8220ebdd727f
url = "https://github.com/bazelbuild/rules_nodejs/archive/c40ceb960af4213164d4299d8fbc8220ebdd727f.zip",
strip_prefix = "rules_nodejs-c40ceb960af4213164d4299d8fbc8220ebdd727f",
)
# Add TypeScript rules