mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
4fae4dbba8
Use the packaged versions of the packages instead of the local ts_project dependencies to prevent multiple versions of the deps to enter test bundles PR Close #62413
33 lines
643 B
Python
33 lines
643 B
Python
load("//adev/shared-docs:defaults.bzl", "ng_project", "ts_project")
|
|
|
|
package(default_visibility = ["//visibility:private"])
|
|
|
|
ts_project(
|
|
name = "pipes",
|
|
srcs = [
|
|
"index.ts",
|
|
],
|
|
visibility = ["//adev/shared-docs:__subpackages__"],
|
|
deps = [
|
|
":lib_rjs",
|
|
],
|
|
)
|
|
|
|
ng_project(
|
|
name = "lib",
|
|
srcs = glob(
|
|
[
|
|
"**/*.ts",
|
|
],
|
|
exclude = [
|
|
"index.ts",
|
|
"**/*.spec.ts",
|
|
],
|
|
),
|
|
deps = [
|
|
"//:node_modules/@angular/core",
|
|
"//adev/shared-docs/interfaces:interfaces_rjs",
|
|
"//adev/shared-docs/utils:utils_rjs",
|
|
],
|
|
)
|