mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Reworks some of the existing compiler APIs to make them easier to use in a schematic and exposes a few new ones to surface information we already had. High-level list of changes: * `getPotentialImportsFor` now requires a class reference, instead of a `PotentialDirective | PotentialPipe`. * New `getNgModuleMetadata` method has been added to the type checker. * New `getPipeMetadata` method has been added to the type checker. * New `getUsedDirectives` method has been added to the type checker. * New `getUsedPipes` method has been added to the type checker. * The `decorator` property was exposed on the `TypeCheckableDirectiveMeta`. The property was already present at runtime, but it wasn't specified on the interface. PR Close #48730
21 lines
797 B
Text
21 lines
797 B
Text
load("//tools:defaults.bzl", "ts_library")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
ts_library(
|
|
name = "private",
|
|
srcs = glob(["*.ts"]),
|
|
deps = [
|
|
"//packages/compiler-cli/src/ngtsc/annotations",
|
|
"//packages/compiler-cli/src/ngtsc/file_system",
|
|
"//packages/compiler-cli/src/ngtsc/imports",
|
|
"//packages/compiler-cli/src/ngtsc/logging",
|
|
"//packages/compiler-cli/src/ngtsc/partial_evaluator",
|
|
"//packages/compiler-cli/src/ngtsc/perf",
|
|
"//packages/compiler-cli/src/ngtsc/reflection",
|
|
"//packages/compiler-cli/src/ngtsc/sourcemaps",
|
|
"//packages/compiler-cli/src/ngtsc/typecheck/api",
|
|
"//packages/compiler-cli/src/transformers/downlevel_decorators_transform",
|
|
"@npm//typescript",
|
|
],
|
|
)
|