2019-12-28 19:37:59 -05:00
|
|
|
load("//tools:defaults.bzl", "pkg_npm", "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",
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//@types/node",
|
|
|
|
"@npm//typescript",
|
2017-12-17 18:10:54 -05:00
|
|
|
],
|
|
|
|
)
|
2018-03-13 14:00:53 -04:00
|
|
|
|
2019-12-28 19:37:59 -05:00
|
|
|
pkg_npm(
|
2018-03-13 14:00:53 -04:00
|
|
|
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.
|
2020-02-04 14:45:40 -05:00
|
|
|
visibility = [
|
|
|
|
"//integration:__pkg__",
|
|
|
|
],
|
2018-04-03 19:12:25 -04:00
|
|
|
deps = [
|
|
|
|
":language-service",
|
2019-10-29 17:21:30 -04:00
|
|
|
# min bundle is not used at the moment; omit from package to speed up build
|
|
|
|
"//packages/language-service/bundles:language-service.umd.js",
|
2020-04-29 18:08:22 -04:00
|
|
|
"//packages/language-service/bundles:ivy.umd.js",
|
2018-03-30 16:48:47 -04:00
|
|
|
],
|
2018-03-13 14:00:53 -04:00
|
|
|
)
|