2017-12-17 18:10:54 -05:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2018-03-07 14:26:11 -05:00
|
|
|
load("//tools:defaults.bzl", "ng_module", "ng_package")
|
2017-12-17 18:10:54 -05:00
|
|
|
|
2018-02-13 11:19:33 -05:00
|
|
|
ng_module(
|
2017-12-17 18:10:54 -05:00
|
|
|
name = "upgrade",
|
|
|
|
srcs = glob(
|
|
|
|
[
|
|
|
|
"*.ts",
|
2018-07-18 11:49:22 -04:00
|
|
|
"src/common/**/*.ts",
|
|
|
|
"src/dynamic/**/*.ts",
|
2017-12-17 18:10:54 -05:00
|
|
|
],
|
|
|
|
),
|
2019-02-14 02:33:01 -05:00
|
|
|
bundle_dts = True,
|
2017-12-17 18:10:54 -05:00
|
|
|
deps = [
|
|
|
|
"//packages/core",
|
|
|
|
"//packages/platform-browser",
|
|
|
|
"//packages/platform-browser-dynamic",
|
2018-10-04 16:14:14 -04:00
|
|
|
"@ngdeps//zone.js",
|
2017-12-17 18:10:54 -05:00
|
|
|
],
|
|
|
|
)
|
2018-03-07 14:26:11 -05:00
|
|
|
|
|
|
|
ng_package(
|
|
|
|
name = "npm_package",
|
2018-03-13 14:00:53 -04:00
|
|
|
srcs = [
|
|
|
|
"package.json",
|
|
|
|
"//packages/upgrade/static:package.json",
|
|
|
|
],
|
2018-03-07 14:26:11 -05:00
|
|
|
entry_point = "packages/upgrade/index.js",
|
2018-06-05 14:38:46 -04:00
|
|
|
tags = [
|
|
|
|
"release-with-framework",
|
|
|
|
],
|
2018-12-11 19:53:42 -05:00
|
|
|
# Do not add more to this list.
|
|
|
|
# Dependencies on the full npm_package cause long re-builds.
|
|
|
|
visibility = ["//visibility:private"],
|
2018-03-07 14:26:11 -05:00
|
|
|
deps = [
|
|
|
|
":upgrade",
|
|
|
|
"//packages/upgrade/static",
|
|
|
|
],
|
|
|
|
)
|