Files
angular__angular/pnpm-workspace.yaml
T
Alan Agius 14d5b0e5a9 refactor: make language service integration tests hermetic (#64098)
The language service integration tests were modifying files in the source tree, which made them flaky and non-hermetic. This also required the tests to be run with `no-remote-exec` and `no-sandbox` tags in Bazel.

This commit refactors the tests to copy the test projects to a temporary directory before running the tests. This makes the tests more robust, isolated, and allows them to be run remotely and in a sandbox.

Additionally, dependencies for the `pre_apf_project` and `pre_standalone_project` test fixtures have been reverted to older Angular versions. This is to ensure we are correctly testing against legacy project setups as was originally intended.

PR Close #64098
2025-09-26 08:30:44 -04:00

70 lines
2.1 KiB
YAML

packages:
- .
- adev
- adev/shared-docs
- adev/shared-docs/pipeline/api-gen
- 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/pre_standalone_project
- vscode-ng-language-service/integration/workspace
- vscode-ng-language-service/integration/pre_apf_project
- vscode-ng-language-service/integration/project
allowedDeprecatedVersions:
angular: '*'
tslint: '*'
gulp-conventional-changelog: '5'
protractor: '7'
'@babel/plugin-proposal-async-generator-functions': '7'
overrides:
'@angular/compiler': 'workspace:*'
'@angular/compiler-cli': 'workspace:*'
'@angular/core': 'workspace:*'
'@angular/common': 'workspace:*'
'@angular/router': 'workspace:*'
'@angular/platform-browser': 'workspace:*'
'@angular/platform-browser-dynamic': 'workspace:*'
'@angular/platform-server': 'workspace:*'
'@angular/forms': 'workspace:*'
'@angular/elements': 'workspace:*'
'@angular/animations': 'workspace:*'
'@angular/benchpress': 'workspace: *'
'@angular/language-service': 'workspace: *'
'@angular/localize': 'workspace: *'
'@angular/upgrade': 'workspace: *'
# 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'