Files
angular__angular/adev/shared-docs/components/select/BUILD.bazel
T
Joey Perrott 4fae4dbba8 build: migrate adev to use packaged version of @angular/* packages (#62413)
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
2025-07-02 16:10:25 +00:00

47 lines
969 B
Python

load("//adev/shared-docs:defaults.bzl", "ng_project", "ts_project")
load("//tools:defaults2.bzl", "ng_web_test_suite", "sass_binary")
package(default_visibility = ["//visibility:private"])
ng_project(
name = "select",
srcs = [
"select.component.ts",
],
assets = [
":select.component.css",
"select.component.html",
],
visibility = [
"//adev/shared-docs/components:__pkg__",
],
deps = [
"//:node_modules/@angular/common",
"//:node_modules/@angular/core",
"//:node_modules/@angular/forms",
],
)
sass_binary(
name = "style",
src = "select.component.scss",
)
ts_project(
name = "test_lib",
testonly = True,
srcs = glob(
["*.spec.ts"],
),
deps = [
":select_rjs",
"//:node_modules/@angular/core",
],
)
ng_web_test_suite(
name = "test",
tsconfig = "//adev/shared-docs:tsconfig_test",
deps = [":test_lib_rjs"],
)