mirror of
https://github.com/angular/angular.git
synced 2026-11-22 22:55:25 -05:00
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]>
58 lines
1.7 KiB
Plaintext
58 lines
1.7 KiB
Plaintext
pnpm-lock.yaml
|
|
|
|
# Do not format d.ts files as they are generated
|
|
**/*.d.ts
|
|
|
|
# Both third_party and .yarn are directories containing copied code which should
|
|
# not be modified.
|
|
third_party/**/*.js
|
|
third_party/**/*.css
|
|
third_party/**/*.md
|
|
third_party/**/*.json
|
|
|
|
# Do not format the locale files which are checked-in for Google3, but generated using
|
|
# the `generate-locales-tool` from `packages/common/locales`.
|
|
packages/core/src/i18n/locale_en.ts
|
|
packages/common/locales/closure-locale.ts
|
|
packages/common/src/i18n/currencies.ts
|
|
|
|
# Test cases contain non valid code.
|
|
packages/compiler-cli/test/compliance/test_cases/**/*.js
|
|
packages/compiler-cli/test/compliance/test_cases/**/*.ts
|
|
|
|
# Ignore generated javascript file(s)
|
|
.github/actions/deploy-docs-site/main.js
|
|
|
|
# Ignore testing data files for language service
|
|
vscode-ng-language-service/syntaxes/test/data/*.ts
|
|
vscode-ng-language-service/syntaxes/test/data/*.html
|
|
|
|
# Ignore goldens MD files
|
|
goldens/**/*.api.md
|
|
|
|
# Ignore golden symbol json files
|
|
packages/**/*.golden_symbols.json
|
|
|
|
# adev generated files
|
|
adev/src/content/aria/**/*.json
|
|
adev/src/content/cli/**/*.json
|
|
adev/src/content/cdk/**/*.json
|
|
|
|
# Example package.json containing docregion (`// #docregion`) markers, which are
|
|
# not valid JSON and cannot be processed by Prettier's json-stringify parser.
|
|
adev/src/content/examples/schematics-for-libraries/projects/my-lib/package.json
|
|
|
|
# Antigravity rules
|
|
.agent/rules/agents.md
|
|
|
|
CHANGELOG.md
|
|
CHANGELOG_ARCHIVE.md
|
|
|
|
# Ignore NGP test fixture markdown files
|
|
packages/compiler-cli/preprocessor/test/golden/**
|
|
|
|
# Ignore NGP language service test workspaces
|
|
packages/compiler-cli/preprocessor/language-service/tests/test-workspace/**
|
|
ngp-vscode-ng-language-service/tests/test-workspace/**
|
|
ngp-vscode-ng-language-service/e2e/test-workspace/**
|