mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
8f5cbcc845
This commit reorganizes the Angular code a bit, and moves signals into a newly defined `@angular/core/primitives` location. This will be used inside g3 to allow non-Angular targets to depend on the signals core without incurring a dependency on the whole framework. PR Close #51986
32 lines
616 B
Python
32 lines
616 B
Python
load("//tools:defaults.bzl", "jasmine_node_test", "karma_web_test_suite", "ts_library")
|
|
|
|
package(default_visibility = ["//visibility:private"])
|
|
|
|
ts_library(
|
|
name = "signals_lib",
|
|
testonly = True,
|
|
srcs = glob(
|
|
["**/*.ts"],
|
|
),
|
|
deps = [
|
|
"//packages/core",
|
|
"//packages/core/primitives/signals",
|
|
"//packages/core/src/util",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "signals",
|
|
bootstrap = ["//tools/testing:node_no_angular"],
|
|
deps = [
|
|
":signals_lib",
|
|
],
|
|
)
|
|
|
|
karma_web_test_suite(
|
|
name = "signals_web",
|
|
deps = [
|
|
":signals_lib",
|
|
],
|
|
)
|