Skip to content

Commit

Permalink
build(meta): run Nx migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
tsa96 committed Nov 24, 2023
1 parent 0d103d9 commit 228cc9e
Show file tree
Hide file tree
Showing 11 changed files with 24 additions and 39 deletions.
3 changes: 1 addition & 2 deletions apps/backend-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{e2eProjectRoot}"],
"options": {
"jestConfig": "apps/backend-e2e/jest.config.ts",
"passWithNoTests": true
"jestConfig": "apps/backend-e2e/jest.config.ts"
}
},
"lint": {
Expand Down
4 changes: 1 addition & 3 deletions apps/backend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,10 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/backend/jest.config.ts",
"passWithNoTests": true
"jestConfig": "apps/backend/jest.config.ts"
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": false
}
}
Expand Down
8 changes: 4 additions & 4 deletions apps/frontend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@
},
"configurations": {
"production": {
"browserTarget": "frontend:build:production"
"buildTarget": "frontend:build:production"
},
"development": {
"browserTarget": "frontend:build:development"
"buildTarget": "frontend:build:development"
}
},
"defaultConfiguration": "development"
Expand All @@ -89,11 +89,11 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/frontend/jest.config.ts"
"jestConfig": "apps/frontend/jest.config.ts",
"passWithNoTests": false
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": false
}
}
Expand Down
4 changes: 1 addition & 3 deletions libs/backend/validators/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/backend/validators/jest.config.ts",
"passWithNoTests": true
"jestConfig": "libs/backend/validators/jest.config.ts"
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": false
}
}
Expand Down
4 changes: 1 addition & 3 deletions libs/bitflags/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/bitflags/jest.config.ts",
"passWithNoTests": true
"jestConfig": "libs/bitflags/jest.config.ts"
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": false
}
}
Expand Down
4 changes: 1 addition & 3 deletions libs/enum/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/enum/jest.config.ts",
"passWithNoTests": true
"jestConfig": "libs/enum/jest.config.ts"
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": false
}
}
Expand Down
8 changes: 1 addition & 7 deletions libs/formats/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,7 @@
"test": {
"executor": "@nx/jest:jest",
"options": {
"jestConfig": "libs/formats/jest.config.ts",
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true
}
"jestConfig": "libs/formats/jest.config.ts"
}
}
},
Expand Down
4 changes: 1 addition & 3 deletions libs/frontend/pipes/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/frontend/pipes/jest.config.ts",
"passWithNoTests": true
"jestConfig": "libs/frontend/pipes/jest.config.ts"
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": false
}
}
Expand Down
Empty file.
9 changes: 1 addition & 8 deletions libs/util-fn/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,7 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "libs/util-fn/jest.config.ts",
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
"jestConfig": "libs/util-fn/jest.config.ts"
}
}
},
Expand Down
15 changes: 12 additions & 3 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
},
"test": {
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
},
"lint": {
"inputs": [
"default",
Expand All @@ -29,6 +26,18 @@
},
"e2e": {
"inputs": ["default", "^production"]
},
"@nx/jest:jest": {
"cache": true,
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
"options": {
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
}
}
}
},
"namedInputs": {
Expand Down

0 comments on commit 228cc9e

Please sign in to comment.