build(bazel): do not build rxjs from source under Bazel (#28720)
PR Close #28720
This commit is contained in:
parent
eb39633823
commit
25aae64274
|
@ -19,15 +19,6 @@ http_archive(
|
||||||
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/0.18.6/rules_nodejs-0.18.6.tar.gz"],
|
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/0.18.6/rules_nodejs-0.18.6.tar.gz"],
|
||||||
)
|
)
|
||||||
|
|
||||||
# Fetch the rxjs repository since we build rxjs from source
|
|
||||||
# TODO(gregmagolan): use rxjs bundles in the bazel build
|
|
||||||
http_archive(
|
|
||||||
name = "rxjs",
|
|
||||||
sha256 = "72b0b4e517f43358f554c125e40e39f67688cd2738a8998b4a266981ed32f403",
|
|
||||||
strip_prefix = "package/src",
|
|
||||||
url = "https://registry.yarnpkg.com/rxjs/-/rxjs-6.3.3.tgz",
|
|
||||||
)
|
|
||||||
|
|
||||||
# Use a mock @npm repository while we are building angular from source
|
# Use a mock @npm repository while we are building angular from source
|
||||||
# downstream. Angular will get its npm dependencies with in @ngdeps which
|
# downstream. Angular will get its npm dependencies with in @ngdeps which
|
||||||
# is setup in ng_setup_workspace().
|
# is setup in ng_setup_workspace().
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
"@angular/platform-browser-dynamic": "file:../angular/dist/packages-dist/platform-browser-dynamic",
|
"@angular/platform-browser-dynamic": "file:../angular/dist/packages-dist/platform-browser-dynamic",
|
||||||
"@angular/router": "file:../angular/dist/packages-dist/router",
|
"@angular/router": "file:../angular/dist/packages-dist/router",
|
||||||
"core-js": "^2.5.4",
|
"core-js": "^2.5.4",
|
||||||
"rxjs": "~6.3.3",
|
"rxjs": "~6.4.0",
|
||||||
"tslib": "^1.9.0",
|
"tslib": "^1.9.0",
|
||||||
"zone.js": "~0.8.26"
|
"zone.js": "~0.8.26"
|
||||||
},
|
},
|
||||||
|
|
|
@ -24,15 +24,6 @@ local_repository(
|
||||||
path = "../..",
|
path = "../..",
|
||||||
)
|
)
|
||||||
|
|
||||||
# Fetch the rxjs repository since we build rxjs from source
|
|
||||||
# TODO(gregmagolan): use rxjs bundles in the Bazel build
|
|
||||||
http_archive(
|
|
||||||
name = "rxjs",
|
|
||||||
sha256 = "72b0b4e517f43358f554c125e40e39f67688cd2738a8998b4a266981ed32f403",
|
|
||||||
strip_prefix = "package/src",
|
|
||||||
url = "https://registry.yarnpkg.com/rxjs/-/rxjs-6.3.3.tgz",
|
|
||||||
)
|
|
||||||
|
|
||||||
# Check the bazel version and download npm dependencies
|
# Check the bazel version and download npm dependencies
|
||||||
load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories", "yarn_install")
|
load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories", "yarn_install")
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
package(default_visibility = ["//visibility:public"])
|
package(default_visibility = ["//visibility:public"])
|
||||||
|
|
||||||
load("@angular//:index.bzl", "ng_module")
|
load("@angular//:index.bzl", "ng_module")
|
||||||
|
load("@build_bazel_rules_nodejs//:defs.bzl", "http_server", "nodejs_binary", "rollup_bundle")
|
||||||
|
load("@build_bazel_rules_nodejs//internal/web_package:web_package.bzl", "web_package")
|
||||||
|
load("@build_bazel_rules_typescript//:defs.bzl", "ts_devserver")
|
||||||
|
|
||||||
# Allow targets under sub-packages to reference the tsconfig.json file
|
# Allow targets under sub-packages to reference the tsconfig.json file
|
||||||
exports_files(["tsconfig.json"])
|
exports_files(["tsconfig.json"])
|
||||||
|
@ -14,29 +17,34 @@ ng_module(
|
||||||
"@npm//@angular/core",
|
"@npm//@angular/core",
|
||||||
"@npm//@angular/platform-browser",
|
"@npm//@angular/platform-browser",
|
||||||
"@npm//@types",
|
"@npm//@types",
|
||||||
|
"@npm//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
load("@build_bazel_rules_typescript//:defs.bzl", "ts_devserver")
|
filegroup(
|
||||||
|
name = "rxjs_umd_modules",
|
||||||
|
srcs = [
|
||||||
|
# do not sort
|
||||||
|
"@npm//node_modules/rxjs:bundles/rxjs.umd.js",
|
||||||
|
":rxjs_shims.js",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
ts_devserver(
|
ts_devserver(
|
||||||
name = "devserver",
|
name = "devserver",
|
||||||
additional_root_paths = [
|
|
||||||
"npm/node_modules/tslib",
|
|
||||||
"npm/node_modules/zone.js/dist",
|
|
||||||
],
|
|
||||||
entry_module = "bazel_integration_test/src/main",
|
entry_module = "bazel_integration_test/src/main",
|
||||||
|
index_html = "index.html",
|
||||||
scripts = [
|
scripts = [
|
||||||
"@npm//node_modules/@angular/common:bundles/common.umd.js",
|
"@npm//node_modules/@angular/common:bundles/common.umd.js",
|
||||||
"@npm//node_modules/@angular/common:bundles/common-http.umd.js",
|
"@npm//node_modules/@angular/common:bundles/common-http.umd.js",
|
||||||
"@npm//node_modules/@angular/core:bundles/core.umd.js",
|
"@npm//node_modules/@angular/core:bundles/core.umd.js",
|
||||||
"@npm//node_modules/@angular/platform-browser:bundles/platform-browser.umd.js",
|
"@npm//node_modules/@angular/platform-browser:bundles/platform-browser.umd.js",
|
||||||
|
"@npm//node_modules/tslib:tslib.js",
|
||||||
|
":rxjs_umd_modules",
|
||||||
],
|
],
|
||||||
serving_path = "/bundle.min.js",
|
serving_path = "/bundle.min.js",
|
||||||
static_files = [
|
static_files = [
|
||||||
"@npm//node_modules/tslib:tslib.js",
|
|
||||||
"@npm//node_modules/zone.js:dist/zone.min.js",
|
"@npm//node_modules/zone.js:dist/zone.min.js",
|
||||||
"index.html",
|
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//src",
|
"//src",
|
||||||
|
@ -46,8 +54,6 @@ ts_devserver(
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
load("@build_bazel_rules_nodejs//:defs.bzl", "nodejs_binary", "rollup_bundle")
|
|
||||||
|
|
||||||
rollup_bundle(
|
rollup_bundle(
|
||||||
name = "bundle",
|
name = "bundle",
|
||||||
entry_point = "src/main",
|
entry_point = "src/main",
|
||||||
|
@ -56,25 +62,25 @@ rollup_bundle(
|
||||||
"@npm//@angular/common",
|
"@npm//@angular/common",
|
||||||
"@npm//@angular/core",
|
"@npm//@angular/core",
|
||||||
"@npm//@angular/platform-browser",
|
"@npm//@angular/platform-browser",
|
||||||
|
"@npm//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
# Needed because the prodserver only loads static files that appear under this
|
web_package(
|
||||||
# package.
|
name = "prodapp",
|
||||||
genrule(
|
assets = [
|
||||||
name = "zone.js",
|
# do not sort
|
||||||
srcs = ["@npm//node_modules/zone.js:dist/zone.min.js"],
|
"@npm//node_modules/zone.js:dist/zone.min.js",
|
||||||
outs = ["zone.min.js"],
|
":bundle.min.js",
|
||||||
cmd = "cp $< $@",
|
],
|
||||||
|
data = [
|
||||||
|
":bundle",
|
||||||
|
],
|
||||||
|
index_html = "index.html",
|
||||||
)
|
)
|
||||||
|
|
||||||
load("@build_bazel_rules_nodejs//:defs.bzl", "http_server")
|
|
||||||
|
|
||||||
http_server(
|
http_server(
|
||||||
name = "prodserver",
|
name = "prodserver",
|
||||||
data = [
|
data = [":prodapp"],
|
||||||
"index.html",
|
templated_args = ["src/prodapp"],
|
||||||
":bundle",
|
|
||||||
":zone.js",
|
|
||||||
],
|
|
||||||
)
|
)
|
||||||
|
|
|
@ -69,8 +69,6 @@ ts_web_test_suite(
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":test_lib",
|
":test_lib",
|
||||||
# This will be removed with https://github.com/angular/angular/pull/28720. This is the
|
"//src:rxjs_umd_modules",
|
||||||
# only remaining dependency that we still build from source here.
|
|
||||||
"@rxjs",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,10 +3,11 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Bazel Integration Test</title>
|
<title>Bazel Integration Test</title>
|
||||||
|
<base href="/">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<!-- The Angular application will be bootstrapped into this element. -->
|
||||||
<app-component></app-component>
|
<app-component></app-component>
|
||||||
<script src="/zone.min.js"></script>
|
|
||||||
<script src="/bundle.min.js"></script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"@angular/platform-browser": "file:../angular/dist/packages-dist/platform-browser",
|
"@angular/platform-browser": "file:../angular/dist/packages-dist/platform-browser",
|
||||||
"@angular/platform-browser-dynamic": "file:../angular/dist/packages-dist/platform-browser-dynamic",
|
"@angular/platform-browser-dynamic": "file:../angular/dist/packages-dist/platform-browser-dynamic",
|
||||||
"reflect-metadata": "0.1.12",
|
"reflect-metadata": "0.1.12",
|
||||||
"rxjs": "6.3.3",
|
"rxjs": "6.4.0",
|
||||||
"tslib": "1.9.3",
|
"tslib": "1.9.3",
|
||||||
"zone.js": "0.8.26"
|
"zone.js": "0.8.26"
|
||||||
},
|
},
|
||||||
|
|
|
@ -0,0 +1,35 @@
|
||||||
|
/**
|
||||||
|
* @license
|
||||||
|
* Copyright Google Inc. All Rights Reserved.
|
||||||
|
*
|
||||||
|
* Use of this source code is governed by an MIT-style license that can be
|
||||||
|
* found in the LICENSE file at https://angular.io/license
|
||||||
|
*/
|
||||||
|
|
||||||
|
// rxjs/operators
|
||||||
|
(function(factory) {
|
||||||
|
if (typeof module === 'object' && typeof module.exports === 'object') {
|
||||||
|
var v = factory(require, exports);
|
||||||
|
if (v !== undefined) module.exports = v;
|
||||||
|
} else if (typeof define === 'function' && define.amd) {
|
||||||
|
define('rxjs/operators', ['exports', 'rxjs'], factory);
|
||||||
|
}
|
||||||
|
})(function(exports, rxjs) {
|
||||||
|
'use strict';
|
||||||
|
Object.keys(rxjs.operators).forEach(function(key) { exports[key] = rxjs.operators[key]; });
|
||||||
|
Object.defineProperty(exports, '__esModule', {value: true});
|
||||||
|
});
|
||||||
|
|
||||||
|
// rxjs/testing
|
||||||
|
(function(factory) {
|
||||||
|
if (typeof module === 'object' && typeof module.exports === 'object') {
|
||||||
|
var v = factory(require, exports);
|
||||||
|
if (v !== undefined) module.exports = v;
|
||||||
|
} else if (typeof define === 'function' && define.amd) {
|
||||||
|
define('rxjs/testing', ['exports', 'rxjs'], factory);
|
||||||
|
}
|
||||||
|
})(function(exports, rxjs) {
|
||||||
|
'use strict';
|
||||||
|
Object.keys(rxjs.testing).forEach(function(key) { exports[key] = rxjs.testing[key]; });
|
||||||
|
Object.defineProperty(exports, '__esModule', {value: true});
|
||||||
|
});
|
|
@ -28,7 +28,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/benchmarks/src/largeform/ng2/index",
|
entry_module = "angular/modules/benchmarks/src/largeform/ng2/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -27,7 +27,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/benchmarks/src/largetable/ng2/index",
|
entry_module = "angular/modules/benchmarks/src/largetable/ng2/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -24,7 +24,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/benchmarks/src/largetable/ng2_switch/index",
|
entry_module = "angular/modules/benchmarks/src/largetable/ng2_switch/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -24,6 +24,7 @@ ng_rollup_bundle(
|
||||||
tags = ["ivy-only"],
|
tags = ["ivy-only"],
|
||||||
deps = [
|
deps = [
|
||||||
":largetable_lib",
|
":largetable_lib",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/benchmarks/src/tree/ng2/index",
|
entry_module = "angular/modules/benchmarks/src/tree/ng2/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -22,7 +22,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/benchmarks/src/tree/ng2_next/index",
|
entry_module = "angular/modules/benchmarks/src/tree/ng2_next/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
deps = [":ng2_next"],
|
deps = [":ng2_next"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/benchmarks/src/tree/ng2_static/index",
|
entry_module = "angular/modules/benchmarks/src/tree/ng2_static/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -24,7 +24,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/benchmarks/src/tree/ng2_switch/index",
|
entry_module = "angular/modules/benchmarks/src/tree/ng2_switch/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -23,6 +23,7 @@ ng_rollup_bundle(
|
||||||
tags = ["ivy-only"],
|
tags = ["ivy-only"],
|
||||||
deps = [
|
deps = [
|
||||||
":tree_lib",
|
":tree_lib",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/benchmarks/src/tree/render3_function/index",
|
entry_module = "angular/modules/benchmarks/src/tree/render3_function/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
deps = [":render3_function_lib"],
|
deps = [":render3_function_lib"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/async/index",
|
entry_module = "angular/modules/playground/src/async/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -21,7 +21,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/hello_world/index",
|
entry_module = "angular/modules/playground/src/hello_world/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -14,6 +14,7 @@ ng_module(
|
||||||
"//packages/http",
|
"//packages/http",
|
||||||
"//packages/platform-browser",
|
"//packages/platform-browser",
|
||||||
"//packages/platform-browser-dynamic",
|
"//packages/platform-browser-dynamic",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -23,7 +24,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/http/index",
|
entry_module = "angular/modules/playground/src/http/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -23,7 +23,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/jsonp/index",
|
entry_module = "angular/modules/playground/src/jsonp/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -21,7 +21,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/key_events/index",
|
entry_module = "angular/modules/playground/src/key_events/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -22,7 +22,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/model_driven_forms/index",
|
entry_module = "angular/modules/playground/src/model_driven_forms/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -22,7 +22,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/order_management/index",
|
entry_module = "angular/modules/playground/src/order_management/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -22,7 +22,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/person_management/index",
|
entry_module = "angular/modules/playground/src/person_management/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -30,7 +30,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/relative_assets/index",
|
entry_module = "angular/modules/playground/src/relative_assets/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -15,6 +15,7 @@ ng_module(
|
||||||
"//packages/platform-browser",
|
"//packages/platform-browser",
|
||||||
"//packages/platform-browser-dynamic",
|
"//packages/platform-browser-dynamic",
|
||||||
"//packages/router",
|
"//packages/router",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/sourcemap/index",
|
entry_module = "angular/modules/playground/src/sourcemap/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -21,7 +21,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/svg/index",
|
entry_module = "angular/modules/playground/src/svg/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -22,7 +22,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/template_driven_forms/index",
|
entry_module = "angular/modules/playground/src/template_driven_forms/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -21,7 +21,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/upgrade/index",
|
entry_module = "angular/modules/playground/src/upgrade/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -27,7 +27,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/web_workers/input/index",
|
entry_module = "angular/modules/playground/src/web_workers/input/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = ["@ngdeps//node_modules/zone.js:dist/zone.js"],
|
static_files = ["@ngdeps//node_modules/zone.js:dist/zone.js"],
|
||||||
deps = [":input"],
|
deps = [":input"],
|
||||||
)
|
)
|
||||||
|
|
|
@ -27,7 +27,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/web_workers/kitchen_sink/index",
|
entry_module = "angular/modules/playground/src/web_workers/kitchen_sink/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = ["@ngdeps//node_modules/zone.js:dist/zone.js"],
|
static_files = ["@ngdeps//node_modules/zone.js:dist/zone.js"],
|
||||||
deps = [":kitchen_sink"],
|
deps = [":kitchen_sink"],
|
||||||
)
|
)
|
||||||
|
|
|
@ -27,7 +27,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/web_workers/message_broker/index",
|
entry_module = "angular/modules/playground/src/web_workers/message_broker/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = ["@ngdeps//node_modules/zone.js:dist/zone.js"],
|
static_files = ["@ngdeps//node_modules/zone.js:dist/zone.js"],
|
||||||
deps = [":message_broker"],
|
deps = [":message_broker"],
|
||||||
)
|
)
|
||||||
|
|
|
@ -15,6 +15,7 @@ ng_module(
|
||||||
"//packages/platform-webworker",
|
"//packages/platform-webworker",
|
||||||
"//packages/platform-webworker-dynamic",
|
"//packages/platform-webworker-dynamic",
|
||||||
"//packages/router",
|
"//packages/router",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -29,7 +30,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/web_workers/router/index",
|
entry_module = "angular/modules/playground/src/web_workers/router/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = ["@ngdeps//node_modules/zone.js:dist/zone.js"],
|
static_files = ["@ngdeps//node_modules/zone.js:dist/zone.js"],
|
||||||
deps = [":router"],
|
deps = [":router"],
|
||||||
)
|
)
|
||||||
|
|
|
@ -30,7 +30,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/web_workers/todo/index",
|
entry_module = "angular/modules/playground/src/web_workers/todo/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = ["@ngdeps//node_modules/zone.js:dist/zone.js"],
|
static_files = ["@ngdeps//node_modules/zone.js:dist/zone.js"],
|
||||||
deps = [":todo"],
|
deps = [":todo"],
|
||||||
)
|
)
|
||||||
|
|
|
@ -22,7 +22,10 @@ ts_devserver(
|
||||||
entry_module = "angular/modules/playground/src/zippy_component/index",
|
entry_module = "angular/modules/playground/src/zippy_component/index",
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
|
|
|
@ -85,6 +85,7 @@
|
||||||
"rollup": "^1.1.0",
|
"rollup": "^1.1.0",
|
||||||
"rollup-plugin-node-resolve": "^4.0.0",
|
"rollup-plugin-node-resolve": "^4.0.0",
|
||||||
"rollup-plugin-sourcemaps": "^0.4.2",
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
||||||
|
"rxjs": "^6.4.0",
|
||||||
"selenium-webdriver": "3.5.0",
|
"selenium-webdriver": "3.5.0",
|
||||||
"shelljs": "^0.8.1",
|
"shelljs": "^0.8.1",
|
||||||
"source-map": "^0.6.1",
|
"source-map": "^0.6.1",
|
||||||
|
@ -139,7 +140,6 @@
|
||||||
"mutation-observer": "^1.0.3",
|
"mutation-observer": "^1.0.3",
|
||||||
"rewire": "2.5.2",
|
"rewire": "2.5.2",
|
||||||
"rollup-plugin-commonjs": "8.1.0",
|
"rollup-plugin-commonjs": "8.1.0",
|
||||||
"rxjs": "^6.3.0",
|
|
||||||
"sauce-connect": "https://saucelabs.com/downloads/sc-4.5.1-linux.tar.gz",
|
"sauce-connect": "https://saucelabs.com/downloads/sc-4.5.1-linux.tar.gz",
|
||||||
"semver": "5.4.1",
|
"semver": "5.4.1",
|
||||||
"tslint": "5.7.0",
|
"tslint": "5.7.0",
|
||||||
|
|
|
@ -25,7 +25,6 @@ ts_library(
|
||||||
"@ngdeps//@angular-devkit/architect",
|
"@ngdeps//@angular-devkit/architect",
|
||||||
"@ngdeps//@angular-devkit/core",
|
"@ngdeps//@angular-devkit/core",
|
||||||
"@ngdeps//@types/node",
|
"@ngdeps//@types/node",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
"@rxjs//operators",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -28,13 +28,6 @@ http_archive(
|
||||||
strip_prefix = "angular-%s" % ANGULAR_VERSION,
|
strip_prefix = "angular-%s" % ANGULAR_VERSION,
|
||||||
)
|
)
|
||||||
|
|
||||||
# RxJS
|
|
||||||
RXJS_VERSION = "<%= RXJS_VERSION %>"
|
|
||||||
http_archive(
|
|
||||||
name = "rxjs",
|
|
||||||
url = "https://registry.yarnpkg.com/rxjs/-/rxjs-%s.tgz" % RXJS_VERSION,
|
|
||||||
strip_prefix = "package/src",
|
|
||||||
)
|
|
||||||
<% if (sass) { %>
|
<% if (sass) { %>
|
||||||
# Rules for compiling sass
|
# Rules for compiling sass
|
||||||
RULES_SASS_VERSION = "<%= RULES_SASS_VERSION %>"
|
RULES_SASS_VERSION = "<%= RULES_SASS_VERSION %>"
|
||||||
|
|
|
@ -7,6 +7,15 @@ load("@build_bazel_rules_nodejs//internal/web_package:web_package.bzl", "web_pac
|
||||||
load("@build_bazel_rules_typescript//:defs.bzl", "ts_devserver", "ts_library")
|
load("@build_bazel_rules_typescript//:defs.bzl", "ts_devserver", "ts_library")
|
||||||
<% if (sass) { %>load("@io_bazel_rules_sass//:defs.bzl", "multi_sass_binary")
|
<% if (sass) { %>load("@io_bazel_rules_sass//:defs.bzl", "multi_sass_binary")
|
||||||
|
|
||||||
|
filegroup(
|
||||||
|
name = "rxjs_umd_modules",
|
||||||
|
srcs = [
|
||||||
|
# do not sort
|
||||||
|
"@npm//node_modules/rxjs:bundles/rxjs.umd.js",
|
||||||
|
":rxjs_shims.js",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
multi_sass_binary(
|
multi_sass_binary(
|
||||||
name = "styles",
|
name = "styles",
|
||||||
srcs = glob(["**/*.scss"]),
|
srcs = glob(["**/*.scss"]),
|
||||||
|
@ -32,13 +41,17 @@ ng_module(
|
||||||
"@angular//packages/platform-browser",<% if (routing) { %>
|
"@angular//packages/platform-browser",<% if (routing) { %>
|
||||||
"@angular//packages/router",<% } %>
|
"@angular//packages/router",<% } %>
|
||||||
"@npm//@types",
|
"@npm//@types",
|
||||||
|
"@npm//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
rollup_bundle(
|
rollup_bundle(
|
||||||
name = "bundle",
|
name = "bundle",
|
||||||
entry_point = "src/main.prod",
|
entry_point = "src/main.prod",
|
||||||
deps = ["//src"],
|
deps = [
|
||||||
|
"//src",
|
||||||
|
"@npm//rxjs",
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
web_package(
|
web_package(
|
||||||
|
@ -63,15 +76,14 @@ history_server(
|
||||||
ts_devserver(
|
ts_devserver(
|
||||||
name = "devserver",
|
name = "devserver",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
additional_root_paths = [
|
|
||||||
"npm/node_modules/zone.js/dist",
|
|
||||||
"npm/node_modules/tslib",
|
|
||||||
],
|
|
||||||
entry_module = "<%= utils.underscore(name) %>/src/main.dev",
|
entry_module = "<%= utils.underscore(name) %>/src/main.dev",
|
||||||
serving_path = "/bundle.min.js",
|
serving_path = "/bundle.min.js",
|
||||||
|
scripts = [
|
||||||
|
"@npm//node_modules/tslib:tslib.js",
|
||||||
|
":rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@npm//node_modules/zone.js:dist/zone.min.js",
|
"@npm//node_modules/zone.js:dist/zone.min.js",
|
||||||
"@npm//node_modules/tslib:tslib.js",
|
|
||||||
],
|
],
|
||||||
index_html = "index.html",
|
index_html = "index.html",
|
||||||
deps = [":src"],
|
deps = [":src"],
|
||||||
|
@ -116,6 +128,7 @@ ts_web_test_suite(
|
||||||
"@io_bazel_rules_webtesting//browsers:chromium-local",
|
"@io_bazel_rules_webtesting//browsers:chromium-local",
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
|
":rxjs_umd_modules",
|
||||||
":test_lib",
|
":test_lib",
|
||||||
"@npm//karma-jasmine",
|
"@npm//karma-jasmine",
|
||||||
],
|
],
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
/**
|
||||||
|
* @fileoverview Provides named UMD shims for `rxjs/operators` and `rxjs/testing`.
|
||||||
|
* This file should be included in the "scripts" of a "ts_devserver"
|
||||||
|
* rule and the "deps" of a "ts_web_test_suite" rule.
|
||||||
|
*/
|
||||||
|
// rxjs/operators
|
||||||
|
(function(factory) {
|
||||||
|
if (typeof module === 'object' && typeof module.exports === 'object') {
|
||||||
|
var v = factory(require, exports);
|
||||||
|
if (v !== undefined) module.exports = v;
|
||||||
|
} else if (typeof define === 'function' && define.amd) {
|
||||||
|
define('rxjs/operators', ['exports', 'rxjs'], factory);
|
||||||
|
}
|
||||||
|
})(function(exports, rxjs) {
|
||||||
|
'use strict';
|
||||||
|
Object.keys(rxjs.operators).forEach(function(key) { exports[key] = rxjs.operators[key]; });
|
||||||
|
Object.defineProperty(exports, '__esModule', {value: true});
|
||||||
|
});
|
||||||
|
|
||||||
|
// rxjs/testing
|
||||||
|
(function(factory) {
|
||||||
|
if (typeof module === 'object' && typeof module.exports === 'object') {
|
||||||
|
var v = factory(require, exports);
|
||||||
|
if (v !== undefined) module.exports = v;
|
||||||
|
} else if (typeof define === 'function' && define.amd) {
|
||||||
|
define('rxjs/testing', ['exports', 'rxjs'], factory);
|
||||||
|
}
|
||||||
|
})(function(exports, rxjs) {
|
||||||
|
'use strict';
|
||||||
|
Object.keys(rxjs.testing).forEach(function(key) { exports[key] = rxjs.testing[key]; });
|
||||||
|
Object.defineProperty(exports, '__esModule', {value: true});
|
||||||
|
});
|
|
@ -94,7 +94,6 @@ export default function(options: BazelWorkspaceOptions): Rule {
|
||||||
'RULES_NODEJS_VERSION': '0.18.6',
|
'RULES_NODEJS_VERSION': '0.18.6',
|
||||||
'RULES_NODEJS_SHA256': '1416d03823fed624b49a0abbd9979f7c63bbedfd37890ddecedd2fe25cccebc6',
|
'RULES_NODEJS_SHA256': '1416d03823fed624b49a0abbd9979f7c63bbedfd37890ddecedd2fe25cccebc6',
|
||||||
'ANGULAR_VERSION': existingVersions.Angular || clean(latestVersions.Angular),
|
'ANGULAR_VERSION': existingVersions.Angular || clean(latestVersions.Angular),
|
||||||
'RXJS_VERSION': existingVersions.RxJs || clean(latestVersions.RxJs),
|
|
||||||
// TODO(kyliau): Consider moving this to latest-versions.ts
|
// TODO(kyliau): Consider moving this to latest-versions.ts
|
||||||
'RULES_SASS_VERSION': '1.17.0',
|
'RULES_SASS_VERSION': '1.17.0',
|
||||||
};
|
};
|
||||||
|
|
|
@ -12,7 +12,7 @@ ng_module(
|
||||||
),
|
),
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,6 @@ ng_module(
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/common",
|
"//packages/common",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -11,8 +11,7 @@ ts_library(
|
||||||
"//packages/common/http/testing",
|
"//packages/common/http/testing",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"//packages/core/testing",
|
"//packages/core/testing",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
"@rxjs//operators",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,6 @@ ng_module(
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/common/http",
|
"//packages/common/http",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -9,6 +9,7 @@ ts_library(
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/common/http",
|
"//packages/common/http",
|
||||||
"//packages/common/http/testing",
|
"//packages/common/http/testing",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
* found in the LICENSE file at https://angular.io/license
|
* found in the LICENSE file at https://angular.io/license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/// <reference types="rxjs" />
|
||||||
|
|
||||||
import {HttpClient} from '@angular/common/http';
|
import {HttpClient} from '@angular/common/http';
|
||||||
import {HttpClientTestingBackend} from '@angular/common/http/testing/src/backend';
|
import {HttpClientTestingBackend} from '@angular/common/http/testing/src/backend';
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,6 @@ ng_module(
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/common",
|
"//packages/common",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -18,6 +18,6 @@ ng_module(
|
||||||
"//packages/platform-server",
|
"//packages/platform-server",
|
||||||
"//packages/router",
|
"//packages/router",
|
||||||
"@ngdeps//reflect-metadata",
|
"@ngdeps//reflect-metadata",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -12,6 +12,6 @@ ng_module(
|
||||||
module_name = "lib1_built",
|
module_name = "lib1_built",
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -13,6 +13,6 @@ ng_module(
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/compiler-cli/integrationtest/bazel/injectable_def/lib1",
|
"//packages/compiler-cli/integrationtest/bazel/injectable_def/lib1",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -14,6 +14,6 @@ ng_module(
|
||||||
tags = ["ivy-only"],
|
tags = ["ivy-only"],
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -92,6 +92,7 @@ jasmine_node_test(
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"//tools/testing:node",
|
"//tools/testing:node",
|
||||||
"@ngdeps//minimist",
|
"@ngdeps//minimist",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
"@ngdeps//tsickle",
|
"@ngdeps//tsickle",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -17,9 +17,8 @@ ng_module(
|
||||||
"//packages/core/src/interface",
|
"//packages/core/src/interface",
|
||||||
"//packages/core/src/reflection",
|
"//packages/core/src/reflection",
|
||||||
"//packages/core/src/util",
|
"//packages/core/src/util",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
"@ngdeps//zone.js",
|
"@ngdeps//zone.js",
|
||||||
"@rxjs",
|
|
||||||
"@rxjs//operators",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,6 @@ ts_library(
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/core/src/interface",
|
"//packages/core/src/interface",
|
||||||
"//packages/core/src/util",
|
"//packages/core/src/util",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
"@rxjs//operators",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -14,7 +14,6 @@ ts_library(
|
||||||
),
|
),
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/core/src/interface",
|
"//packages/core/src/interface",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
"@rxjs//operators",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -31,9 +31,8 @@ ts_library(
|
||||||
"//packages/private/testing",
|
"//packages/private/testing",
|
||||||
"//packages/router",
|
"//packages/router",
|
||||||
"//packages/router/testing",
|
"//packages/router/testing",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
"@ngdeps//zone.js",
|
"@ngdeps//zone.js",
|
||||||
"@rxjs",
|
|
||||||
"@rxjs//operators",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,7 @@ ng_rollup_bundle(
|
||||||
deps = [
|
deps = [
|
||||||
":animation_world",
|
":animation_world",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,7 @@ ng_rollup_bundle(
|
||||||
deps = [
|
deps = [
|
||||||
":cyclic_import",
|
":cyclic_import",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,7 @@ ng_rollup_bundle(
|
||||||
deps = [
|
deps = [
|
||||||
":hello_world",
|
":hello_world",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,7 @@ ng_rollup_bundle(
|
||||||
deps = [
|
deps = [
|
||||||
":hello_world_i18n",
|
":hello_world_i18n",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@ ng_rollup_bundle(
|
||||||
":hello_world",
|
":hello_world",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"//packages/platform-browser",
|
"//packages/platform-browser",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,7 @@ ng_rollup_bundle(
|
||||||
deps = [
|
deps = [
|
||||||
":injection",
|
":injection",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,7 @@ ng_rollup_bundle(
|
||||||
"//packages/common",
|
"//packages/common",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"//packages/core/test/bundling/util:reflect_metadata",
|
"//packages/core/test/bundling/util:reflect_metadata",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,7 @@ ng_rollup_bundle(
|
||||||
"//packages/common",
|
"//packages/common",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"//packages/core/test/bundling/util:reflect_metadata",
|
"//packages/core/test/bundling/util:reflect_metadata",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,7 @@ ng_rollup_bundle(
|
||||||
"//packages/core/test/bundling/util:reflect_metadata",
|
"//packages/core/test/bundling/util:reflect_metadata",
|
||||||
"//packages/platform-browser",
|
"//packages/platform-browser",
|
||||||
"//packages/platform-browser-dynamic",
|
"//packages/platform-browser-dynamic",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,7 @@ ts_library(
|
||||||
"//packages/platform-browser/animations",
|
"//packages/platform-browser/animations",
|
||||||
"//packages/platform-browser/testing",
|
"//packages/platform-browser/testing",
|
||||||
"//packages/private/testing",
|
"//packages/private/testing",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
* found in the LICENSE file at https://angular.io/license
|
* found in the LICENSE file at https://angular.io/license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/// <reference types="rxjs" />
|
||||||
|
|
||||||
import {EventEmitter} from '@angular/core';
|
import {EventEmitter} from '@angular/core';
|
||||||
|
|
||||||
import {defineComponent, defineDirective} from '../../src/render3/index';
|
import {defineComponent, defineDirective} from '../../src/render3/index';
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
* found in the LICENSE file at https://angular.io/license
|
* found in the LICENSE file at https://angular.io/license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/// <reference types="rxjs" />
|
||||||
|
|
||||||
import {EventEmitter} from '@angular/core';
|
import {EventEmitter} from '@angular/core';
|
||||||
|
|
||||||
import {defineComponent, defineDirective} from '../../src/render3/index';
|
import {defineComponent, defineDirective} from '../../src/render3/index';
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
* found in the LICENSE file at https://angular.io/license
|
* found in the LICENSE file at https://angular.io/license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/// <reference types="rxjs" />
|
||||||
|
|
||||||
import {NgForOfContext} from '@angular/common';
|
import {NgForOfContext} from '@angular/common';
|
||||||
import {ElementRef, QueryList, TemplateRef, ViewContainerRef} from '@angular/core';
|
import {ElementRef, QueryList, TemplateRef, ViewContainerRef} from '@angular/core';
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ ng_module(
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"//packages/platform-browser",
|
"//packages/platform-browser",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ ts_library(
|
||||||
"//packages/common",
|
"//packages/common",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"@ngdeps//@angular-devkit/schematics",
|
"@ngdeps//@angular-devkit/schematics",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -31,8 +31,7 @@ ts_library(
|
||||||
"//packages/common",
|
"//packages/common",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"@ngdeps//@angular-devkit/schematics",
|
"@ngdeps//@angular-devkit/schematics",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
"@rxjs//operators",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ ts_library(
|
||||||
"//packages/platform-browser-dynamic",
|
"//packages/platform-browser-dynamic",
|
||||||
"//packages/platform-browser-dynamic/testing",
|
"//packages/platform-browser-dynamic/testing",
|
||||||
"//packages/platform-browser/testing",
|
"//packages/platform-browser/testing",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ ng_module(
|
||||||
"//packages/platform-browser",
|
"//packages/platform-browser",
|
||||||
"//packages/platform-browser-dynamic",
|
"//packages/platform-browser-dynamic",
|
||||||
"//packages/router",
|
"//packages/router",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -40,7 +40,10 @@ ts_devserver(
|
||||||
entry_module = "@angular/examples/common/main",
|
entry_module = "@angular/examples/common/main",
|
||||||
index_html = "//packages/examples:index.html",
|
index_html = "//packages/examples:index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
# This is needed because the "ngComponentOutlet" test uses the JIT compiler
|
# This is needed because the "ngComponentOutlet" test uses the JIT compiler
|
||||||
|
|
|
@ -22,6 +22,7 @@ ng_module(
|
||||||
"//packages/platform-browser-dynamic",
|
"//packages/platform-browser-dynamic",
|
||||||
"//packages/platform-browser/animations",
|
"//packages/platform-browser/animations",
|
||||||
"//packages/router",
|
"//packages/router",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -42,7 +43,10 @@ ts_devserver(
|
||||||
entry_module = "@angular/examples/core/main",
|
entry_module = "@angular/examples/core/main",
|
||||||
index_html = "//packages/examples:index.html",
|
index_html = "//packages/examples:index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
"@ngdeps//node_modules/zone.js:dist/task-tracking.js",
|
"@ngdeps//node_modules/zone.js:dist/task-tracking.js",
|
||||||
|
|
|
@ -18,6 +18,7 @@ ng_module(
|
||||||
"//packages/platform-browser",
|
"//packages/platform-browser",
|
||||||
"//packages/platform-browser-dynamic",
|
"//packages/platform-browser-dynamic",
|
||||||
"//packages/router",
|
"//packages/router",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -39,7 +40,10 @@ ts_devserver(
|
||||||
entry_module = "@angular/examples/forms/main",
|
entry_module = "@angular/examples/forms/main",
|
||||||
index_html = "//packages/examples:index.html",
|
index_html = "//packages/examples:index.html",
|
||||||
port = 4200,
|
port = 4200,
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
static_files = [
|
static_files = [
|
||||||
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
"@ngdeps//node_modules/zone.js:dist/zone.js",
|
||||||
],
|
],
|
||||||
|
|
|
@ -48,7 +48,10 @@ def create_upgrade_example_targets(name, srcs, e2e_srcs, entry_module, assets =
|
||||||
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
"@ngdeps//node_modules/reflect-metadata:Reflect.js",
|
||||||
],
|
],
|
||||||
index_html = "//packages/examples:index.html",
|
index_html = "//packages/examples:index.html",
|
||||||
scripts = ["@ngdeps//node_modules/tslib:tslib.js"],
|
scripts = [
|
||||||
|
"@ngdeps//node_modules/tslib:tslib.js",
|
||||||
|
"//tools/rxjs:rxjs_umd_modules",
|
||||||
|
],
|
||||||
deps = [":%s_sources" % name],
|
deps = [":%s_sources" % name],
|
||||||
data = assets,
|
data = assets,
|
||||||
)
|
)
|
||||||
|
|
|
@ -13,7 +13,7 @@ ng_module(
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"//packages/platform-browser",
|
"//packages/platform-browser",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,7 @@ ts_library(
|
||||||
"//packages/platform-browser",
|
"//packages/platform-browser",
|
||||||
"//packages/platform-browser/testing",
|
"//packages/platform-browser/testing",
|
||||||
"//packages/private/testing",
|
"//packages/private/testing",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
"@rxjs//operators",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ ng_module(
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"//packages/platform-browser",
|
"//packages/platform-browser",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ ts_library(
|
||||||
"//packages/http/testing",
|
"//packages/http/testing",
|
||||||
"//packages/platform-browser",
|
"//packages/platform-browser",
|
||||||
"//packages/platform-browser/testing",
|
"//packages/platform-browser/testing",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,6 @@ ng_module(
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"//packages/http",
|
"//packages/http",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -12,6 +12,7 @@ ls_rollup_bundle(
|
||||||
visibility = ["//packages/language-service:__pkg__"],
|
visibility = ["//packages/language-service:__pkg__"],
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/language-service",
|
"//packages/language-service",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
"@ngdeps//tslib",
|
"@ngdeps//tslib",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -18,7 +18,7 @@ ts_library(
|
||||||
"//packages/platform-browser/animations",
|
"//packages/platform-browser/animations",
|
||||||
"//packages/platform-browser/testing",
|
"//packages/platform-browser/testing",
|
||||||
"//packages/private/testing",
|
"//packages/private/testing",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ ts_library(
|
||||||
"//packages/platform-browser/animations",
|
"//packages/platform-browser/animations",
|
||||||
"//packages/platform-browser/testing",
|
"//packages/platform-browser/testing",
|
||||||
"//packages/private/testing",
|
"//packages/private/testing",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,6 @@ ng_module(
|
||||||
"//packages/core/testing",
|
"//packages/core/testing",
|
||||||
"//packages/platform-browser",
|
"//packages/platform-browser",
|
||||||
"@ngdeps//@types/jasmine",
|
"@ngdeps//@types/jasmine",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -21,8 +21,8 @@ ng_module(
|
||||||
"//packages/platform-browser-dynamic",
|
"//packages/platform-browser-dynamic",
|
||||||
"//packages/platform-browser/animations",
|
"//packages/platform-browser/animations",
|
||||||
"@ngdeps//@types/node",
|
"@ngdeps//@types/node",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
"@ngdeps//zone.js",
|
"@ngdeps//zone.js",
|
||||||
"@rxjs",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,7 @@ ts_library(
|
||||||
"//packages/platform-browser",
|
"//packages/platform-browser",
|
||||||
"//packages/platform-server",
|
"//packages/platform-server",
|
||||||
"//packages/private/testing",
|
"//packages/private/testing",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
"@rxjs//operators",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,7 @@ ng_module(
|
||||||
"//packages/compiler",
|
"//packages/compiler",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"//packages/platform-browser",
|
"//packages/platform-browser",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,7 @@ ng_module(
|
||||||
"//packages/common",
|
"//packages/common",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"//packages/platform-browser",
|
"//packages/platform-browser",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
"@rxjs//operators",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -15,9 +15,7 @@ ts_library(
|
||||||
"//packages/private/testing",
|
"//packages/private/testing",
|
||||||
"//packages/router",
|
"//packages/router",
|
||||||
"//packages/router/testing",
|
"//packages/router/testing",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
"@rxjs//operators",
|
|
||||||
"@rxjs//testing",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ ng_module(
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"//packages/router",
|
"//packages/router",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -12,5 +12,6 @@ ng_module(
|
||||||
"//packages/common/testing",
|
"//packages/common/testing",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"//packages/router",
|
"//packages/router",
|
||||||
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -13,8 +13,7 @@ ng_module(
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/common",
|
"//packages/common",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
"@rxjs//operators",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,7 @@ ts_library(
|
||||||
"//packages/service-worker/testing",
|
"//packages/service-worker/testing",
|
||||||
"//packages/service-worker/worker",
|
"//packages/service-worker/worker",
|
||||||
"//packages/service-worker/worker/testing",
|
"//packages/service-worker/worker/testing",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
"@rxjs//operators",
|
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,6 @@ ng_module(
|
||||||
srcs = glob(["**/*.ts"]),
|
srcs = glob(["**/*.ts"]),
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
|
@ -10,6 +10,6 @@ ts_library(
|
||||||
"//packages:types",
|
"//packages:types",
|
||||||
"//packages/core",
|
"//packages/core",
|
||||||
"//packages/service-worker/worker",
|
"//packages/service-worker/worker",
|
||||||
"@rxjs",
|
"@ngdeps//rxjs",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue