Files
angular/pnpm-workspace.yaml
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

97 lines
2.8 KiB
YAML

packages:
- .
- adev
- adev/shared-docs
- adev/shared-docs/pipeline/api-gen
- dev-app/
- devtools/
- modules
- integration
- packages/animations/
- packages/common/
- packages/compiler-cli/
- packages/compiler-cli/linker/babel/test
- packages/compiler/
- packages/core/
- packages/core/test/bundling
- packages/forms/
- packages/language-service/
- packages/platform-browser/
- packages/platform-server/
- packages/platform-browser-dynamic/
- packages/router/
- packages/localize/
- packages/elements/
- packages/benchpress/
- packages/service-worker/
- packages/upgrade/
- packages/zone.js/
- packages/zone.js/test/typings/
- tools/bazel/rules_angular_store/
- vscode-ng-language-service
- vscode-ng-language-service/server
- vscode-ng-language-service/integration/project
- packages/compiler-cli/preprocessor/language-service
- ngp-vscode-ng-language-service
- ngp-vscode-ng-language-service/client
- ngp-vscode-ng-language-service/server
allowBuilds:
'@bazel/concatjs': false
'@firebase/util': false
'@google/genai': false
'@parcel/watcher': false
'@vscode/vsce-sign': false
bufferutil: false
cypress: true
esbuild: false
keytar: false
lmdb: false
msgpackr-extract: false
protobufjs: false
re2: false
sleep: false
unrs-resolver: false
utf-8-validate: false
allowedDeprecatedVersions:
angular: '*'
tslint: '*'
gulp-conventional-changelog: '5'
protractor: '7'
# The minimum age of a release to be considered for dependency installation.
# The value is in minutes (1440 minutes = 1 day).
minimumReleaseAge: 1440
# List of packages to exclude from the minimum release age check.
minimumReleaseAgeExclude:
- '@angular-devkit/*'
- '@angular/*'
- '@ngtools/webpack'
- '@schematics/*'
- 'ng-packagr'
- 'zone.js'
# Allow any version of @angular/* packages to satisfy peer dependencies, as these are managed within the monorepo.
peerDependencyRules:
allowAny:
- '@angular/*'
packageExtensions:
grpc-gcp:
peerDependencies:
protobufjs: '*'
engineStrict: false
# Disabling pnpm [hoisting](https://pnpm.io/settings#hoist) by setting `hoist:false` is recommended on
# projects using rules_js so that pnpm outside of Bazel lays out a node_modules tree similar to what
# rules_js lays out under Bazel (without a hidden node_modules/.pnpm/node_modules)
hoist: false
# Avoid pnpm auto-installing peer dependencies. We want to be explicit about our versions used
# for peer dependencies, avoiding potential mismatches. In addition, it ensures we can continue
# to rely on peer dependency placeholders substituted via Bazel.
autoInstallPeers: false
# Workaround as the default 'install' causes problems during `pnpm ng-dev pr merge` as the lockfile is updated.
verifyDepsBeforeRun: warn