Revert "refactor: handle breaking changes in rules_nodejs 1.0.0 (#34589)" (#34730)

This reverts commit 9bb349e1c8.

PR Close #34730
This commit is contained in:
atscott
2020-01-10 13:40:02 -08:00
parent 0e01d5c5de
commit 4955c256d2
69 changed files with 131 additions and 318 deletions

View File

@ -70,6 +70,7 @@ ts_library(
jasmine_node_test(
name = "test",
bootstrap = ["angular/tools/testing/init_node_spec.js"],
data = [
"//packages/animations:npm_package",
"//packages/common:npm_package",
@ -79,12 +80,10 @@ jasmine_node_test(
# Disabled as these tests pertain to the old ngc compilation and are not relevant in Ivy.
"no-ivy-aot",
],
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
deps = [
":test_lib",
":test_node_only_lib",
"//tools/testing:node",
"//tools/testing:node_es5",
"@npm//base64-js",
"@npm//source-map",
],

View File

@ -16,11 +16,10 @@ ts_library(
jasmine_node_test(
name = "css_parser",
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
bootstrap = ["angular/tools/testing/init_node_spec.js"],
deps = [
":css_parser_lib",
"//tools/testing:node",
"//tools/testing:node_es5",
],
)

View File

@ -15,11 +15,10 @@ ts_library(
jasmine_node_test(
name = "expression_parser",
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
bootstrap = ["angular/tools/testing/init_node_spec.js"],
deps = [
":expression_parser_lib",
"//tools/testing:node",
"//tools/testing:node_es5",
],
)

View File

@ -13,11 +13,10 @@ ts_library(
jasmine_node_test(
name = "ml_parser",
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
bootstrap = ["angular/tools/testing/init_node_spec.js"],
deps = [
":ml_parser_lib",
"//tools/testing:node",
"//tools/testing:node_es5",
],
)

View File

@ -18,10 +18,9 @@ ts_library(
jasmine_node_test(
name = "test",
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
bootstrap = ["angular/tools/testing/init_node_spec.js"],
deps = [
":test_lib",
"//tools/testing:node",
"//tools/testing:node_es5",
],
)

View File

@ -17,11 +17,10 @@ ts_library(
jasmine_node_test(
name = "selector",
templated_args = ["--node_options=--require=$(rlocation $(location //tools/testing:node_es5))"],
bootstrap = ["angular/tools/testing/init_node_spec.js"],
deps = [
":selector_lib",
"//tools/testing:node",
"//tools/testing:node_es5",
],
)