feat: migrate to nx 19.8

This commit is contained in:
thomas
2024-09-23 21:47:33 +02:00
parent 75902af8b5
commit 43960d1806
52 changed files with 3420 additions and 7939 deletions

View File

@@ -68,10 +68,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/angular/1-projection/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -69,10 +69,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/angular/21-anchor-navigation/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -68,10 +68,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/angular/32-change-detection-bug/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -68,10 +68,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/angular/39-injection-token/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -66,10 +66,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/angular/45-react-in-angular/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -66,10 +66,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/angular/46-simple-animations/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -73,10 +73,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/angular/5-crud-application/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -65,14 +65,15 @@
"buildTarget": "angular-lazy-load-component:build"
}
},
"lint": {
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/angular/52-lazy-load-component/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -70,14 +70,15 @@
"buildTarget": "angular-back-button-navigation:build"
}
},
"lint": {
"executor": "@nx/eslint:lint"
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/angular/55-back-button-navigation/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -66,10 +66,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/forms/41-control-value-accessor/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -70,10 +70,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/ngrx/2-effect-vs-selector/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -71,10 +71,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/performance/12-optimize-change-detection/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -72,10 +72,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/performance/36-ngfor-optimization/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -69,10 +69,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/rxjs/14-race-condition/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -68,10 +68,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/rxjs/38-catch-error/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -66,10 +66,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/rxjs/49-hold-to-save-button/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -71,10 +71,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/signal/30-interop-rxjs-signal/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -64,9 +64,6 @@
"options": {
"buildTarget": "signal-big-signal-performance:build"
}
},
"lint": {
"executor": "@nx/eslint:lint"
}
}
}

View File

@@ -64,9 +64,6 @@
"options": {
"buildTarget": "signal-pipe-observable-to-signal:build"
}
},
"lint": {
"executor": "@nx/eslint:lint"
}
}
}

View File

@@ -66,9 +66,6 @@
"options": {
"buildTarget": "signal-forms-and-signal:build"
}
},
"lint": {
"executor": "@nx/eslint:lint"
}
}
}

View File

@@ -69,10 +69,18 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"outputs": [
"{workspaceRoot}/coverage/{projectRoot}",
"{projectRoot}/coverage"
],
"options": {
"jestConfig": "apps/testing/17-router/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -69,10 +69,18 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"outputs": [
"{workspaceRoot}/coverage/{projectRoot}",
"{projectRoot}/coverage"
],
"options": {
"jestConfig": "apps/testing/18-nested-components/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -69,10 +69,18 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"outputs": [
"{workspaceRoot}/coverage/{projectRoot}",
"{projectRoot}/coverage"
],
"options": {
"jestConfig": "apps/testing/19-input-output/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -72,10 +72,18 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"outputs": [
"{workspaceRoot}/coverage/{projectRoot}",
"{projectRoot}/coverage"
],
"options": {
"jestConfig": "apps/testing/20-modal/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -68,10 +68,18 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"outputs": [
"{workspaceRoot}/coverage/{projectRoot}",
"{projectRoot}/coverage"
],
"options": {
"jestConfig": "apps/testing/23-harness/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -68,10 +68,18 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"outputs": [
"{workspaceRoot}/coverage/{projectRoot}",
"{projectRoot}/coverage"
],
"options": {
"jestConfig": "apps/testing/24-harness-creation/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -68,10 +68,14 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/testing/28-checkbox/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}

View File

@@ -72,10 +72,18 @@
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"outputs": [
"{workspaceRoot}/coverage/{projectRoot}",
"{projectRoot}/coverage"
],
"options": {
"jestConfig": "apps/testing/29-real-life-application/jest.config.ts"
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"coverage": true
}
}
}
}