mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
6388675878
Priori to this commit, in the case the subscription was emitting synchronous we were leaking the subscription. This commit fixes it.
43 lines
953 B
Python
43 lines
953 B
Python
load("//tools:defaults.bzl", "generate_api_docs", "ng_project")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
exports_files(["package.json"])
|
|
|
|
ng_project(
|
|
name = "rxjs-interop",
|
|
srcs = glob(
|
|
[
|
|
"*.ts",
|
|
"src/**/*.ts",
|
|
],
|
|
),
|
|
deps = [
|
|
"//:node_modules/rxjs",
|
|
"//packages/core",
|
|
"//packages/core/primitives/signals",
|
|
"//packages/core/src/util",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "files_for_docgen",
|
|
srcs = glob([
|
|
"*.ts",
|
|
"src/**/*.ts",
|
|
]) + ["PACKAGE.md"],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
generate_api_docs(
|
|
name = "core_rxjs-interop_docs",
|
|
srcs = [
|
|
":files_for_docgen",
|
|
"//packages:common_files_and_deps_for_docs",
|
|
"//packages/common:files_for_docgen",
|
|
"//packages/common/http:files_for_docgen",
|
|
],
|
|
entry_point = ":index.ts",
|
|
module_name = "@angular/core/rxjs-interop",
|
|
)
|