2018-06-04 13:45:27 -04:00
|
|
|
load("//tools:defaults.bzl", "npm_package", "ts_library")
|
2017-12-17 18:10:54 -05:00
|
|
|
|
2019-01-16 04:19:01 -05:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2017-12-17 18:10:54 -05:00
|
|
|
ts_library(
|
|
|
|
name = "language-service",
|
|
|
|
srcs = glob(
|
|
|
|
[
|
|
|
|
"*.ts",
|
|
|
|
"src/**/*.ts",
|
|
|
|
],
|
|
|
|
),
|
|
|
|
deps = [
|
|
|
|
"//packages:types",
|
|
|
|
"//packages/compiler",
|
|
|
|
"//packages/compiler-cli",
|
|
|
|
"//packages/core",
|
2018-10-04 16:14:14 -04:00
|
|
|
"@ngdeps//@types/node",
|
|
|
|
"@ngdeps//typescript",
|
2017-12-17 18:10:54 -05:00
|
|
|
],
|
|
|
|
)
|
2018-03-13 14:00:53 -04:00
|
|
|
|
|
|
|
npm_package(
|
|
|
|
name = "npm_package",
|
|
|
|
srcs = ["package.json"],
|
2018-03-30 16:48:47 -04:00
|
|
|
tags = [
|
2018-04-03 19:12:25 -04:00
|
|
|
"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-04-03 19:12:25 -04:00
|
|
|
deps = [
|
|
|
|
":language-service",
|
|
|
|
"//packages/language-service/bundles:language-service",
|
2018-03-30 16:48:47 -04:00
|
|
|
],
|
2018-03-13 14:00:53 -04:00
|
|
|
)
|