build: restrict visibility of npm_package targets (#27611)
dependencies on these cause very long rebuilds which have to re-package angular. Such tests belong in the integration/ folder PR Close #27611
This commit is contained in:
parent
d528e30cef
commit
d32939d51a
|
@ -27,6 +27,11 @@ ng_package(
|
||||||
tags = [
|
tags = [
|
||||||
"release-with-framework",
|
"release-with-framework",
|
||||||
],
|
],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = [
|
||||||
|
"//packages/compiler/test:__pkg__",
|
||||||
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":animations",
|
":animations",
|
||||||
"//packages/animations/browser",
|
"//packages/animations/browser",
|
||||||
|
|
|
@ -14,6 +14,9 @@ npm_package(
|
||||||
"//packages/bazel/docs",
|
"//packages/bazel/docs",
|
||||||
],
|
],
|
||||||
tags = ["release-with-framework"],
|
tags = ["release-with-framework"],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/bazel/src/builders",
|
"//packages/bazel/src/builders",
|
||||||
"//packages/bazel/src/ng_package:lib",
|
"//packages/bazel/src/ng_package:lib",
|
||||||
|
|
|
@ -30,6 +30,17 @@ ng_package(
|
||||||
tags = [
|
tags = [
|
||||||
"release-with-framework",
|
"release-with-framework",
|
||||||
],
|
],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = [
|
||||||
|
"//packages/bazel/test/ng_package:__pkg__",
|
||||||
|
"//packages/compiler-cli/test:__pkg__",
|
||||||
|
"//packages/compiler-cli/test/diagnostics:__pkg__",
|
||||||
|
"//packages/compiler-cli/test/ngcc:__pkg__",
|
||||||
|
"//packages/compiler-cli/test/transformers:__pkg__",
|
||||||
|
"//packages/compiler/test:__pkg__",
|
||||||
|
"//packages/language-service/test:__pkg__",
|
||||||
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//packages/common",
|
"//packages/common",
|
||||||
"//packages/common/http",
|
"//packages/common/http",
|
||||||
|
|
|
@ -46,6 +46,9 @@ npm_package(
|
||||||
tags = [
|
tags = [
|
||||||
"release-with-framework",
|
"release-with-framework",
|
||||||
],
|
],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = [
|
deps = [
|
||||||
":compiler-cli",
|
":compiler-cli",
|
||||||
"//packages/compiler-cli/src/ngcc",
|
"//packages/compiler-cli/src/ngcc",
|
||||||
|
|
|
@ -24,6 +24,11 @@ ng_package(
|
||||||
tags = [
|
tags = [
|
||||||
"release-with-framework",
|
"release-with-framework",
|
||||||
],
|
],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = [
|
||||||
|
"//packages/language-service/test:__pkg__",
|
||||||
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":compiler",
|
":compiler",
|
||||||
"//packages/compiler/testing",
|
"//packages/compiler/testing",
|
||||||
|
|
|
@ -29,6 +29,17 @@ ng_package(
|
||||||
tags = [
|
tags = [
|
||||||
"release-with-framework",
|
"release-with-framework",
|
||||||
],
|
],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = [
|
||||||
|
"//packages/bazel/test/ng_package:__pkg__",
|
||||||
|
"//packages/compiler-cli/test:__pkg__",
|
||||||
|
"//packages/compiler-cli/test/diagnostics:__pkg__",
|
||||||
|
"//packages/compiler-cli/test/ngcc:__pkg__",
|
||||||
|
"//packages/compiler-cli/test/transformers:__pkg__",
|
||||||
|
"//packages/compiler/test:__pkg__",
|
||||||
|
"//packages/language-service/test:__pkg__",
|
||||||
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":core",
|
":core",
|
||||||
"//packages/core/testing",
|
"//packages/core/testing",
|
||||||
|
|
|
@ -31,6 +31,9 @@ ng_package(
|
||||||
tags = [
|
tags = [
|
||||||
"release-with-framework",
|
"release-with-framework",
|
||||||
],
|
],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = [
|
deps = [
|
||||||
":elements",
|
":elements",
|
||||||
],
|
],
|
||||||
|
|
|
@ -25,6 +25,12 @@ ng_package(
|
||||||
tags = [
|
tags = [
|
||||||
"release-with-framework",
|
"release-with-framework",
|
||||||
],
|
],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = [
|
||||||
|
"//packages/compiler-cli/test/diagnostics:__pkg__",
|
||||||
|
"//packages/language-service/test:__pkg__",
|
||||||
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":forms",
|
":forms",
|
||||||
],
|
],
|
||||||
|
|
|
@ -28,6 +28,9 @@ ng_package(
|
||||||
tags = [
|
tags = [
|
||||||
"release-with-framework",
|
"release-with-framework",
|
||||||
],
|
],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = [
|
deps = [
|
||||||
":http",
|
":http",
|
||||||
"//packages/http/testing",
|
"//packages/http/testing",
|
||||||
|
|
|
@ -27,6 +27,9 @@ npm_package(
|
||||||
tags = [
|
tags = [
|
||||||
"release-with-framework",
|
"release-with-framework",
|
||||||
],
|
],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = [
|
deps = [
|
||||||
":language-service",
|
":language-service",
|
||||||
"//packages/language-service/bundles:language-service",
|
"//packages/language-service/bundles:language-service",
|
||||||
|
|
|
@ -30,6 +30,9 @@ ng_package(
|
||||||
tags = [
|
tags = [
|
||||||
"release-with-framework",
|
"release-with-framework",
|
||||||
],
|
],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = [
|
deps = [
|
||||||
":platform-browser-dynamic",
|
":platform-browser-dynamic",
|
||||||
"//packages/platform-browser-dynamic/testing",
|
"//packages/platform-browser-dynamic/testing",
|
||||||
|
|
|
@ -31,6 +31,11 @@ ng_package(
|
||||||
tags = [
|
tags = [
|
||||||
"release-with-framework",
|
"release-with-framework",
|
||||||
],
|
],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = [
|
||||||
|
"//packages/compiler-cli/test:__pkg__",
|
||||||
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":platform-browser",
|
":platform-browser",
|
||||||
"//packages/platform-browser/animations",
|
"//packages/platform-browser/animations",
|
||||||
|
|
|
@ -37,6 +37,9 @@ ng_package(
|
||||||
tags = [
|
tags = [
|
||||||
"release-with-framework",
|
"release-with-framework",
|
||||||
],
|
],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = [
|
deps = [
|
||||||
":platform-server",
|
":platform-server",
|
||||||
"//packages/platform-server/testing",
|
"//packages/platform-server/testing",
|
||||||
|
|
|
@ -27,5 +27,8 @@ ng_package(
|
||||||
tags = [
|
tags = [
|
||||||
"release-with-framework",
|
"release-with-framework",
|
||||||
],
|
],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = [":platform-webworker-dynamic"],
|
deps = [":platform-webworker-dynamic"],
|
||||||
)
|
)
|
||||||
|
|
|
@ -27,6 +27,9 @@ ng_package(
|
||||||
tags = [
|
tags = [
|
||||||
"release-with-framework",
|
"release-with-framework",
|
||||||
],
|
],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = [
|
deps = [
|
||||||
":platform-webworker",
|
":platform-webworker",
|
||||||
],
|
],
|
||||||
|
|
|
@ -31,6 +31,12 @@ ng_package(
|
||||||
tags = [
|
tags = [
|
||||||
"release-with-framework",
|
"release-with-framework",
|
||||||
],
|
],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = [
|
||||||
|
"//packages/compiler-cli/test:__pkg__",
|
||||||
|
"//packages/compiler-cli/test/transformers:__pkg__",
|
||||||
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":router",
|
":router",
|
||||||
"//packages/router/testing",
|
"//packages/router/testing",
|
||||||
|
|
|
@ -51,6 +51,9 @@ ng_package(
|
||||||
tags = [
|
tags = [
|
||||||
"release-with-framework",
|
"release-with-framework",
|
||||||
],
|
],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = [
|
deps = [
|
||||||
":service-worker",
|
":service-worker",
|
||||||
"//packages/service-worker/config",
|
"//packages/service-worker/config",
|
||||||
|
|
|
@ -30,6 +30,9 @@ ng_package(
|
||||||
tags = [
|
tags = [
|
||||||
"release-with-framework",
|
"release-with-framework",
|
||||||
],
|
],
|
||||||
|
# Do not add more to this list.
|
||||||
|
# Dependencies on the full npm_package cause long re-builds.
|
||||||
|
visibility = ["//visibility:private"],
|
||||||
deps = [
|
deps = [
|
||||||
":upgrade",
|
":upgrade",
|
||||||
"//packages/upgrade/static",
|
"//packages/upgrade/static",
|
||||||
|
|
Loading…
Reference in New Issue