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",
|
|
|
|
"src/**/*.ts",
|
|
|
|
],
|
|
|
|
),
|
|
|
|
module_name = "@angular/upgrade",
|
|
|
|
deps = [
|
|
|
|
"//packages/core",
|
|
|
|
"//packages/platform-browser",
|
|
|
|
"//packages/platform-browser-dynamic",
|
|
|
|
],
|
|
|
|
)
|
2018-03-07 14:26:11 -05:00
|
|
|
|
|
|
|
ng_package(
|
|
|
|
name = "npm_package",
|
|
|
|
srcs = ["package.json"],
|
|
|
|
entry_point = "packages/upgrade/index.js",
|
|
|
|
secondary_entry_points = [
|
|
|
|
"static",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
":upgrade",
|
|
|
|
"//packages/upgrade/static",
|
|
|
|
],
|
|
|
|
)
|