11 Commits
Author SHA1 Message Date
Angular Robot ff38487f56 build: lock file maintenance
See associated pull request for more information.
2026-11-17 10:14:02 -08:00
Angular Robot 5d34814f9d build: lock file maintenance
See associated pull request for more information.
2026-11-10 09:33:44 -08:00
Andrew Scott f513487c41 refactor(compiler-cli): add perf tracing to the preprocessor and ng-analyze
Adds opt-in performance tracing to the preprocessor CLI and the Rust
ng-analyze sidecar, controlled by three new flags:
2026-11-09 19:54:32 +01:00
Angular Robot 592e7de306 build: lock file maintenance
See associated pull request for more information.
2026-11-04 10:49:22 -08:00
Angular Robot f6486074e8 build: lock file maintenance
See associated pull request for more information.
2026-10-28 13:14:13 -07:00
Matt Berry b81b37d58b Revert "build: update rust dependencies"
This reverts commit 3d5bfdf167.
Also reverts follow-up commit 4690b54bec (#71651).

The Oxc 0.144 -> 0.155 update in `ng-analyze` (#71599) requires a separate
dependency update in google3. Reverting to unblock google3 sync.
2026-10-27 17:11:27 -07:00
Angular Robot 3d5bfdf167 build: update rust dependencies
See associated pull request for more information.

Updates the `ng-analyze` preprocessor for the Oxc 0.155 API changes:
JavaScript string values in the AST are now `JSStr` instead of `Str`,
static property names are `StaticPropertyName` instead of `Cow<str>`,
and `ParserReturn::panicked` was renamed to `ParserReturn::fatal_error`.

`wasm-bindgen` stays pinned to 0.2.121 to match the CLI bundled with
`rules_rust_wasm_bindgen`.

Closes #71376 as a pr takeover
2026-10-26 14:33:23 -07:00
Angular Robot 1c6f6b2afb build: lock file maintenance
See associated pull request for more information.
2026-10-20 00:32:05 -07:00
Angular Robot ec1bd2a2cd build: lock file maintenance
See associated pull request for more information.
2026-10-14 11:17:46 -07:00
Angular Robot 3d0c9c8c35 build: lock file maintenance
See associated pull request for more information.
2026-10-14 10:10:19 -07:00
4e4ad75144 refactor(compiler-cli): integrate hybrid preprocessor into compiler-cli
Integrate the hybrid Angular preprocessor (NGP) under packages/compiler-cli/preprocessor,
along with its language service integration, VS Code extension, and Rust/Wasm Bazel toolchain.

Key components included:
- Rust-based AST analyzer and Wasm compilation target (packages/compiler-cli/preprocessor/ng-analyze)
- Preprocessor engine and Jasmine test suites (packages/compiler-cli/preprocessor)
- Language service extension and specs (packages/compiler-cli/preprocessor/language-service)
- Experimental VS Code extension (ngp-vscode-ng-language-service)
- Rust toolchain and crate dependencies in Bazel (MODULE.bazel, Cargo.toml)

Monorepo integration & compatibility adjustments:
- Rust toolchain & hermetic Bazel testing: Made N-API optional (default = [] in Cargo.toml) and
  added non-NAPI fallback methods on Analyzer and TestAnalyzer (analyzer.rs, test_analyzer.rs,
  lib.rs) for native Bazel rust_test and Wasm compilation; replaced static Cargo.toml lookups in
  fs.rs tests with hermetic tempfile fixtures for Bazel sandbox execution; updated driver test
  fixture for Option<String> local_name.
- Angular monorepo TypeScript & linting compliance: Added tslint:disable:no-console pragmas to CLI
  entrypoints (main.ts, ngp.ts); added explicit override modifiers (output_ast_printer.ts); aligned
  TypeScript ESM imports (tcb_ls_util.ts); and consolidated compiler imports and type references
  (processor.ts, hybrid_compiler.ts).

Co-authored-by: Matthew Beck <[email protected]>
Co-authored-by: Alex Rickabaugh <[email protected]>
Co-authored-by: Kristiyan Kostadinov <[email protected]>
Co-authored-by: JoostK <[email protected]>
Co-authored-by: Matthieu Riegler <[email protected]>
2026-10-08 14:23:48 -07:00