Skip to content

Commit

Permalink
nx repair
Browse files Browse the repository at this point in the history
  • Loading branch information
oussama Dahmaz authored and oussama Dahmaz committed Jun 8, 2024
1 parent d8175af commit 3c5e565
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 15 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@

/dist
/coverage

/.nx/cache
6 changes: 3 additions & 3 deletions apps/yadoms-cs-e2e/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/yadoms-cs-e2e/src",
"projectType": "application",
"tags": [],
"implicitDependencies": ["yadoms-cs"],
"targets": {
"e2e": {
"executor": "@nx/cypress:cypress",
Expand All @@ -24,7 +26,5 @@
"lintFilePatterns": ["apps/yadoms-cs-e2e/**/*.{js,ts}"]
}
}
},
"tags": [],
"implicitDependencies": ["yadoms-cs"]
}
}
2 changes: 1 addition & 1 deletion libs/domain/keywords/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"test": {
"executor": "@nx/vite:test",
"outputs": ["coverage/libs/domain/keywords"],
"outputs": ["{workspaceRoot}/coverage/libs/domain/keywords"],
"options": {
"passWithNoTests": true,
"reportsDirectory": "../../../coverage/libs/domain/keywords"
Expand Down
6 changes: 3 additions & 3 deletions libs/domain/plugins/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/domain/plugins/src",
"projectType": "library",
"tags": [],
"targets": {
"build": {
"executor": "@nx/vite:build",
Expand All @@ -13,7 +14,7 @@
},
"test": {
"executor": "@nx/vite:test",
"outputs": ["coverage/libs/domain/plugins"],
"outputs": ["{workspaceRoot}/coverage/libs/domain/plugins"],
"options": {
"passWithNoTests": true,
"reportsDirectory": "../../../coverage/libs/domain/plugins"
Expand All @@ -26,6 +27,5 @@
"lintFilePatterns": ["libs/domain/plugins/**/*.ts"]
}
}
},
"tags": []
}
}
2 changes: 1 addition & 1 deletion libs/pages/home/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"test": {
"executor": "@nx/vite:test",
"outputs": ["coverage/libs/pages/home"],
"outputs": ["{workspaceRoot}/coverage/libs/pages/home"],
"options": {
"passWithNoTests": true,
"reportsDirectory": "../../../coverage/libs/pages/home"
Expand Down
2 changes: 1 addition & 1 deletion libs/pages/plugins/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"test": {
"executor": "@nx/vite:test",
"outputs": ["coverage/libs/pages/plugins"],
"outputs": ["{workspaceRoot}/coverage/libs/pages/plugins"],
"options": {
"passWithNoTests": true,
"reportsDirectory": "../../../coverage/libs/pages/plugins"
Expand Down
2 changes: 1 addition & 1 deletion libs/pages/summary/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"test": {
"executor": "@nx/vite:test",
"outputs": ["coverage/libs/pages/summary"],
"outputs": ["{workspaceRoot}/coverage/libs/pages/summary"],
"options": {
"passWithNoTests": true,
"reportsDirectory": "../../../coverage/libs/pages/summary"
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"test": {
"executor": "@nx/vite:test",
"outputs": ["coverage/libs/shared"],
"outputs": ["{workspaceRoot}/coverage/libs/shared"],
"options": {
"passWithNoTests": true,
"reportsDirectory": "../../coverage/libs/shared"
Expand Down
6 changes: 3 additions & 3 deletions libs/store/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/store/src",
"projectType": "library",
"tags": [],
"targets": {
"lint": {
"executor": "@nx/linter:eslint",
Expand All @@ -13,12 +14,11 @@
},
"test": {
"executor": "@nx/vite:test",
"outputs": ["coverage/libs/store"],
"outputs": ["{workspaceRoot}/coverage/libs/store"],
"options": {
"passWithNoTests": true,
"reportsDirectory": "../../coverage/libs/store"
}
}
},
"tags": []
}
}
5 changes: 4 additions & 1 deletion nx.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"default": [
"{projectRoot}/**/*",
"sharedGlobals"
],
"production": [
"default",
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
Expand Down

0 comments on commit 3c5e565

Please sign in to comment.