mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
98c5063cd8
As mentioned in the previous commit, integration tests will be declared in subpackages of `//integration`. For these tests to still rely on the NPM packages from `HEAD`, we need to update the visibility. PR Close #44238
34 lines
678 B
Python
34 lines
678 B
Python
load("//tools:defaults.bzl", "pkg_npm", "ts_library")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
ts_library(
|
|
name = "benchpress",
|
|
srcs = glob(
|
|
[
|
|
"*.ts",
|
|
"src/**/*.ts",
|
|
],
|
|
),
|
|
deps = [
|
|
"//packages:types",
|
|
"//packages/core",
|
|
"@npm//@types/node",
|
|
"@npm//reflect-metadata",
|
|
],
|
|
)
|
|
|
|
pkg_npm(
|
|
name = "npm_package",
|
|
srcs = [
|
|
"README.md",
|
|
"package.json",
|
|
],
|
|
# Do not add more to this list.
|
|
# Dependencies on the full npm_package cause long re-builds.
|
|
visibility = ["//integration:__subpackages__"],
|
|
deps = [
|
|
":benchpress",
|
|
],
|
|
)
|