Files
angular/packages/compiler-cli/preprocessor
Andrew Scott 6d49c19e22 refactor(compiler-cli): configure VS Code extension host launch for ngp language service
Add VS Code launch and task configurations for launching and debugging the ngp-vscode-ng-language-service extension host in the monorepo, and fix build and runtime resolution issues when running outside Bazel:

- Add 'NGP VSCE: Launch Dev Client' and compound attach configs in .vscode/launch.json and 'NGP VSCE: build' task in .vscode/tasks.json.
- Update ngp-vscode-ng-language-service/build.js to use server/esbuild-tsconfig.json, mark @typescript/native-preview external, and define import.meta.url via banner.
- Update ngp-vscode-ng-language-service/tsconfig.json for TypeScript 7 compatibility (remove baseUrl, use relative paths, and specify node types).
- Resolve platform tsc/tsgo binary via createRequire from @typescript/native-preview/package.json so pnpm workspace layouts work, and await clientReady before sending angular/setTsApiPipe from fallback ts7Client.
- Allow analyzer_loader.ts to locate ng_analyze_wasm.js when walking up from a realpath'd bundle inside bazel-out.
2026-11-18 10:11:16 -08:00
..

Rust-based Compiler Preprocessor

Caution

Prototype — External Contributions Not Accepted

The Rust-based compiler preprocessor code in this directory is an early-stage prototype under active development by the Angular team.

We are not accepting issues, bug reports, feature requests, or pull requests for this package from external contributors at this time. Any issues or PRs opened for this code will be closed.

Overview

This directory contains a native AST analysis preprocessor and typecheck block (TCB) generation pipeline designed for high-performance Angular compilation and developer tooling integration. It combines Rust-based AST analysis (ng-analyze) using oxc with a TypeScript-based typechecking coordination layer.