chore: update devDependencies and add pretest script

- Added a pretest script to clean up test results using trash-cli.
- Updated @angular-devkit/build-angular from 19.2.6 to ^19.2.9.
- Updated @nx/angular from 20.4.6 to ^20.8.1.
This commit is contained in:
Lorenz Hilpert
2025-04-25 19:43:36 +02:00
parent 75c6170be4
commit ae89f1e2f8
3 changed files with 4035 additions and 549 deletions

View File

@@ -54,13 +54,13 @@ jobs:
- task: PublishTestResults@2
displayName: Publish Test results
inputs:
testResultsFiles: '**/TESTS*.xml'
testResultsFiles: '**/TESTS-*.xml'
searchFolder: $(Build.StagingDirectory)/testresults
testResultsFormat: JUnit
mergeTestResults: false
failTaskOnFailedTests: true
condition: always()
- task: PublishCodeCoverageResults@1
- task: PublishCodeCoverageResults@2
displayName: Publish code Coverage
inputs:
codeCoverageTool: Cobertura

4575
package-lock.json generated
View File

File diff suppressed because it is too large Load Diff

View File

@@ -4,6 +4,7 @@
"scripts": {
"ng": "ng",
"start": "nx serve isa-app --ssl",
"pretest": "npx trash-cli testresults",
"test": "npx nx run-many -t test --exclude isa-app",
"ci": "npx nx run-many -t test --exclude isa-app -c ci",
"build": "nx build isa-app --configuration=development",
@@ -57,7 +58,7 @@
"zone.js": "~0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "19.2.6",
"@angular-devkit/build-angular": "^19.2.9",
"@angular-devkit/core": "19.2.6",
"@angular-devkit/schematics": "19.2.6",
"@angular/cli": "19.2.6",
@@ -66,7 +67,7 @@
"@angular/pwa": "^19.2.0",
"@eslint/js": "^9.8.0",
"@ngneat/spectator": "^19.0.0",
"@nx/angular": "20.4.6",
"@nx/angular": "^20.8.1",
"@nx/eslint": "20.4.6",
"@nx/eslint-plugin": "20.4.6",
"@nx/jest": "20.4.6",