angular/packages/compiler-cli
Andrew Scott 6fee6514c2 refactor(compiler-cli): decouple SymbolBuilder from BoundTarget and minimize adapter surface
Decouple `SymbolBuilder` from the full `BoundTarget` interface by introducing a purpose-built `SymbolBoundTarget` interface containing only the 4 methods required for symbol resolution. This eliminates the need for the large, pass-through `BoundTargetAdapter` and further isolates `SymbolBuilder` from compiler-internal implementation details.

Also minimize `TypeCheckableDirectiveMetaAdapter` by redefining `SymbolDirectiveMeta` to not extend `DirectiveMeta`, exposing only the properties actually used by `SymbolBuilder`.

Removed dead code `getDirectiveMeta` in `template_symbol_builder.ts` which was unused.

These changes improve maintainability and ensure a cleaner architecture by strictly defining the boundaries of what `SymbolBuilder` needs from the rest of the system.
By limiting the required inputs to only what's necessary for the implementation, we make it easier to re-use
the implementation between different compiler architectures
2026-04-08 11:33:41 -07:00
..
linker feat(core): Set default Component changeDetection strategy to OnPush 2026-03-24 16:25:02 -07:00
private refactor(compiler-cli): decouple SymbolBuilder from BoundTarget and minimize adapter surface 2026-04-08 11:33:41 -07:00
src refactor(compiler-cli): decouple SymbolBuilder from BoundTarget and minimize adapter surface 2026-04-08 11:33:41 -07:00
test fix(compiler-cli): error for type parameter declarations 2026-04-07 09:29:29 -07:00
BUILD.bazel refactor(compiler-cli): Export hybrid analysis from bin 2026-03-10 11:41:50 -07:00
esbuild.config.js build: use esbuild from aspect rules (#62568) 2025-07-10 13:45:15 -07:00
index.ts refactor(compiler-cli): Export hybrid_analysis symbols 2026-03-10 10:18:36 -07:00
package.json feat(core): drop support for TypeScript 5.9 2026-04-03 09:44:11 -07:00
tsconfig-test.json build: prepare for compiler-cli to be using ts_project (#61181) 2025-05-09 15:59:46 +00:00
tsconfig.json build: prepare for compiler-cli to be using ts_project (#61181) 2025-05-09 15:59:46 +00:00