Skip to content

Commit

Permalink
build: update visibility for npm package targets to work with new int…
Browse files Browse the repository at this point in the history
…egration test structure (#44238)

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
  • Loading branch information
devversion authored and alxhub committed Dec 8, 2021
1 parent 6c0905d commit 98c5063
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion packages/animations/BUILD.bazel
Expand Up @@ -28,7 +28,7 @@ ng_package(
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = [
"//integration:__pkg__",
"//integration:__subpackages__",
"//packages/compiler-cli/integrationtest:__pkg__",
"//packages/compiler/test:__pkg__",
],
Expand Down
2 changes: 1 addition & 1 deletion packages/bazel/BUILD.bazel
Expand Up @@ -26,7 +26,7 @@ pkg_npm(
tags = ["release-with-framework"],
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = ["//integration:__pkg__"],
visibility = ["//integration:__subpackages__"],
deps = [
"//packages/bazel/src/api-extractor:lib",
"//packages/bazel/src/ng_package:lib",
Expand Down
2 changes: 1 addition & 1 deletion packages/benchpress/BUILD.bazel
Expand Up @@ -26,7 +26,7 @@ pkg_npm(
],
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = ["//integration:__pkg__"],
visibility = ["//integration:__subpackages__"],
deps = [
":benchpress",
],
Expand Down
2 changes: 1 addition & 1 deletion packages/common/BUILD.bazel
Expand Up @@ -49,7 +49,7 @@ ng_package(
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = [
"//integration:__pkg__",
"//integration:__subpackages__",
"//packages/bazel/test/ng_package:__pkg__",
"//packages/compiler-cli/integrationtest:__pkg__",
"//packages/compiler-cli/ngcc/test:__pkg__",
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler-cli/BUILD.bazel
Expand Up @@ -133,7 +133,7 @@ pkg_npm(
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = [
"//integration:__pkg__",
"//integration:__subpackages__",
"//packages/compiler-cli/integrationtest:__pkg__",
],
deps = [
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler/BUILD.bazel
Expand Up @@ -31,7 +31,7 @@ ng_package(
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = [
"//integration:__pkg__",
"//integration:__subpackages__",
"//packages/compiler-cli/integrationtest:__pkg__",
"//packages/language-service/test:__pkg__",
],
Expand Down
2 changes: 1 addition & 1 deletion packages/core/BUILD.bazel
Expand Up @@ -61,7 +61,7 @@ ng_package(
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = [
"//integration:__pkg__",
"//integration:__subpackages__",
"//packages/bazel/test/ng_package:__pkg__",
"//packages/compiler-cli/integrationtest:__pkg__",
"//packages/compiler-cli/ngcc/test:__pkg__",
Expand Down
2 changes: 1 addition & 1 deletion packages/elements/BUILD.bazel
Expand Up @@ -25,7 +25,7 @@ ng_package(
],
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = ["//integration:__pkg__"],
visibility = ["//integration:__subpackages__"],
deps = [
":elements",
],
Expand Down
2 changes: 1 addition & 1 deletion packages/forms/BUILD.bazel
Expand Up @@ -27,7 +27,7 @@ ng_package(
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = [
"//integration:__pkg__",
"//integration:__subpackages__",
"//packages/compiler-cli/integrationtest:__pkg__",
"//packages/compiler-cli/test/diagnostics:__pkg__",
"//packages/language-service/test:__pkg__",
Expand Down
2 changes: 1 addition & 1 deletion packages/language-service/BUILD.bazel
Expand Up @@ -24,7 +24,7 @@ pkg_npm(
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = [
"//integration:__pkg__",
"//integration:__subpackages__",
],
deps = [
":api",
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-browser-dynamic/BUILD.bazel
Expand Up @@ -31,7 +31,7 @@ ng_package(
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = [
"//integration:__pkg__",
"//integration:__subpackages__",
"//packages/compiler-cli/integrationtest:__pkg__",
],
deps = [
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-browser/BUILD.bazel
Expand Up @@ -39,7 +39,7 @@ ng_package(
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = [
"//integration:__pkg__",
"//integration:__subpackages__",
"//packages/compiler-cli/integrationtest:__pkg__",
"//packages/compiler-cli/test:__pkg__",
],
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-server/BUILD.bazel
Expand Up @@ -50,7 +50,7 @@ ng_package(
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = [
"//integration:__pkg__",
"//integration:__subpackages__",
"//packages/compiler-cli/integrationtest:__pkg__",
],
deps = [
Expand Down
2 changes: 1 addition & 1 deletion packages/router/BUILD.bazel
Expand Up @@ -31,7 +31,7 @@ ng_package(
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = [
"//integration:__pkg__",
"//integration:__subpackages__",
"//packages/compiler-cli/integrationtest:__pkg__",
"//packages/compiler-cli/test:__pkg__",
"//packages/compiler-cli/test/transformers:__pkg__",
Expand Down
2 changes: 1 addition & 1 deletion packages/service-worker/BUILD.bazel
Expand Up @@ -51,7 +51,7 @@ ng_package(
],
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = ["//integration:__pkg__"],
visibility = ["//integration:__subpackages__"],
deps = [
":service-worker",
"//packages/service-worker/config",
Expand Down
2 changes: 1 addition & 1 deletion packages/upgrade/BUILD.bazel
Expand Up @@ -30,7 +30,7 @@ ng_package(
],
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = ["//integration:__pkg__"],
visibility = ["//integration:__subpackages__"],
deps = [
":upgrade",
"//packages/upgrade/static",
Expand Down

0 comments on commit 98c5063

Please sign in to comment.