build(bazel): update to rule_nodejs 0.10.0 (#24759)

PR Close #24759
This commit is contained in:
Greg Magolan 2018-07-04 09:37:51 -07:00 committed by Miško Hevery
parent f62876bbcb
commit 1e74ea9e60
5 changed files with 22 additions and 23 deletions

View File

@ -6,9 +6,9 @@ workspace(name = "angular")
http_archive(
name = "build_bazel_rules_nodejs",
url = "https://github.com/bazelbuild/rules_nodejs/archive/0.9.1.zip",
strip_prefix = "rules_nodejs-0.9.1",
sha256 = "6139762b62b37c1fd171d7f22aa39566cb7dc2916f0f801d505a9aaf118c117f",
url = "https://github.com/bazelbuild/rules_nodejs/archive/0.10.0.zip",
strip_prefix = "rules_nodejs-0.10.0",
sha256 = "2f77623311da8b5009b1c7eade12de8e15fa3cd2adf9dfcc9f87cb2082b2211f",
)
http_archive(

View File

@ -1238,9 +1238,6 @@
{
"name": "Quote"
},
{
"name": "R3_COMPILE_INJECTABLE"
},
{
"name": "ReadKeyExpr"
},
@ -1257,10 +1254,10 @@
"name": "RecursiveAstVisitor"
},
{
"name": "RefCountOperator$1"
"name": "RefCountOperator"
},
{
"name": "RefCountSubscriber$1"
"name": "RefCountSubscriber"
},
{
"name": "ReferenceAst"
@ -1916,21 +1913,9 @@
{
"name": "__extends$2"
},
{
"name": "__extends$26"
},
{
"name": "__extends$28"
},
{
"name": "__extends$29"
},
{
"name": "__extends$3"
},
{
"name": "__extends$30"
},
{
"name": "__extends$4"
},
@ -1943,6 +1928,18 @@
{
"name": "__extends$7"
},
{
"name": "__extends$q"
},
{
"name": "__extends$r"
},
{
"name": "__extends$s"
},
{
"name": "__extends$u"
},
{
"name": "__read"
},

View File

@ -9,10 +9,10 @@
"name": "EMPTY_ARRAY$1"
},
{
"name": "GET_PROPERTY_NAME$1"
"name": "GET_PROPERTY_NAME"
},
{
"name": "INJECTOR$1"
"name": "INJECTOR"
},
{
"name": "Inject"
@ -51,7 +51,7 @@
"name": "THROW_IF_NOT_FOUND"
},
{
"name": "USE_VALUE$1"
"name": "USE_VALUE"
},
{
"name": "_THROW_IF_NOT_FOUND"

View File

@ -15,6 +15,7 @@ def js_expected_symbol_test(name, src, golden, **kwargs):
"""
all_data = [src, golden]
all_data += [Label("//tools/symbol-extractor:lib")]
all_data += [Label("@bazel_tools//tools/bash/runfiles")]
entry_point = "angular/tools/symbol-extractor/cli.js"
nodejs_test(

View File

@ -24,6 +24,7 @@ def ts_api_guardian_test(name, golden, actual, data = [], **kwargs):
data += [
"//tools/ts-api-guardian:lib",
"//tools/ts-api-guardian:bin/ts-api-guardian",
"@bazel_tools//tools/bash/runfiles",
]
args = [