mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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
37 lines
852 B
Text
37 lines
852 B
Text
load("//tools:defaults.bzl", "jasmine_node_test", "karma_web_test_suite", "ts_library")
|
|
load("//tools/circular_dependency_test:index.bzl", "circular_dependency_test")
|
|
|
|
circular_dependency_test(
|
|
name = "circular_deps_test",
|
|
entry_point = "angular/packages/core/rxjs-interop/index.mjs",
|
|
deps = ["//packages/core/rxjs-interop"],
|
|
)
|
|
|
|
ts_library(
|
|
name = "test_lib",
|
|
testonly = True,
|
|
srcs = glob(["**/*.ts"]),
|
|
deps = [
|
|
"//packages:types",
|
|
"//packages/core",
|
|
"//packages/core/rxjs-interop",
|
|
"//packages/core/testing",
|
|
"//packages/private/testing",
|
|
"@npm//rxjs",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "test",
|
|
bootstrap = ["//tools/testing:node"],
|
|
deps = [
|
|
":test_lib",
|
|
],
|
|
)
|
|
|
|
karma_web_test_suite(
|
|
name = "test_web",
|
|
deps = [
|
|
":test_lib",
|
|
],
|
|
)
|