build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871)

PR Close #28871
This commit is contained in:
Greg Magolan
2019-02-20 09:54:42 -08:00
committed by Andrew Kushnir
parent cd83a43462
commit ea09430039
220 changed files with 660 additions and 781 deletions

View File

@ -2,7 +2,7 @@ package(default_visibility = ["//visibility:public"])
load("//packages/bazel:index.bzl", "protractor_web_test_suite")
load("//tools:defaults.bzl", "jasmine_node_test", "ng_module", "ts_library")
load("@npm_bazel_typescript//:defs.bzl", "ts_devserver")
load("@npm_bazel_typescript//:index.bzl", "ts_devserver")
ng_module(
name = "core_examples",
@ -22,7 +22,7 @@ ng_module(
"//packages/platform-browser-dynamic",
"//packages/platform-browser/animations",
"//packages/router",
"@ngdeps//rxjs",
"@npm//rxjs",
],
)
@ -46,8 +46,8 @@ ts_library(
tsconfig = "//packages/examples:tsconfig-e2e.json",
deps = [
"//packages/examples/test-utils",
"@ngdeps//@types/jasminewd2",
"@ngdeps//protractor",
"@npm//@types/jasminewd2",
"@npm//protractor",
],
)
@ -57,12 +57,12 @@ ts_devserver(
index_html = "//packages/examples:index.html",
port = 4200,
scripts = [
"@ngdeps//node_modules/tslib:tslib.js",
"@npm//node_modules/tslib:tslib.js",
"//tools/rxjs:rxjs_umd_modules",
],
static_files = [
"@ngdeps//node_modules/zone.js:dist/zone.js",
"@ngdeps//node_modules/zone.js:dist/task-tracking.js",
"@npm//node_modules/zone.js:dist/zone.js",
"@npm//node_modules/zone.js:dist/task-tracking.js",
],
deps = [":core_examples"],
)
@ -74,8 +74,8 @@ protractor_web_test_suite(
server = ":devserver",
deps = [
":core_e2e_tests_lib",
"@ngdeps//protractor",
"@ngdeps//selenium-webdriver",
"@npm//protractor",
"@npm//selenium-webdriver",
],
)

View File

@ -8,8 +8,8 @@ ts_library(
],
deps = [
"//packages/core/testing",
"@ngdeps//@types/jasmine",
"@ngdeps//@types/node",
"@npm//@types/jasmine",
"@npm//@types/node",
],
)