Files
Alex Rickabaugh 8f5cbcc845 refactor: move signals code into primitives package (#51986)
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
2023-10-06 15:12:00 -07:00

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",
],
)