2019-07-30 13:02:17 -04:00
|
|
|
load("//tools:defaults.bzl", "ng_package", "ts_library")
|
|
|
|
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "localize",
|
|
|
|
srcs = glob(
|
|
|
|
[
|
|
|
|
"*.ts",
|
|
|
|
"src/**/*.ts",
|
|
|
|
],
|
|
|
|
),
|
|
|
|
module_name = "@angular/localize",
|
|
|
|
deps = [
|
2019-09-13 07:46:05 -04:00
|
|
|
"//packages/compiler",
|
2019-08-10 07:51:30 -04:00
|
|
|
"//packages/localize/src/localize",
|
2019-07-30 13:02:17 -04:00
|
|
|
"@npm//@types/node",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
ng_package(
|
|
|
|
name = "npm_package",
|
|
|
|
srcs = [
|
|
|
|
"package.json",
|
2019-08-10 07:51:30 -04:00
|
|
|
"//packages/localize/init:package.json",
|
2019-07-30 13:02:17 -04:00
|
|
|
],
|
|
|
|
entry_point = ":index.ts",
|
2019-09-20 11:05:45 -04:00
|
|
|
packages = [
|
|
|
|
"//packages/localize/schematics:npm_package",
|
|
|
|
],
|
2019-07-30 13:02:17 -04:00
|
|
|
tags = [
|
|
|
|
"release-with-framework",
|
|
|
|
],
|
|
|
|
deps = [
|
|
|
|
":localize",
|
2019-08-10 07:51:30 -04:00
|
|
|
"//packages/localize/init",
|
2019-07-30 13:02:17 -04:00
|
|
|
],
|
|
|
|
)
|