Skip to content

Commit

Permalink
refactor: remove redundant files (#6157)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Dec 6, 2023
1 parent 68b165b commit 4d01194
Show file tree
Hide file tree
Showing 32 changed files with 60 additions and 204 deletions.
12 changes: 0 additions & 12 deletions projects/addon-charts/jest.config.ts

This file was deleted.

5 changes: 4 additions & 1 deletion projects/addon-charts/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/addon-charts"],
"options": {
"jestConfig": "projects/addon-charts/jest.config.ts"
"jestConfig": "jest.config.ts",
"coverageDirectory": "coverage/addon-charts",
"collectCoverageFrom": ["<rootDir>/projects/addon-charts/**/*.ts"],
"testMatch": ["<rootDir>/projects/addon-charts/**/*.spec.ts"]
}
},
"publish": {
Expand Down
12 changes: 0 additions & 12 deletions projects/addon-commerce/jest.config.ts

This file was deleted.

5 changes: 4 additions & 1 deletion projects/addon-commerce/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/addon-commerce"],
"options": {
"jestConfig": "projects/addon-commerce/jest.config.ts"
"jestConfig": "jest.config.ts",
"coverageDirectory": "coverage/addon-commerce",
"collectCoverageFrom": ["<rootDir>/projects/addon-commerce/**/*.ts"],
"testMatch": ["<rootDir>/projects/addon-commerce/**/*.spec.ts"]
}
},
"publish": {
Expand Down
12 changes: 0 additions & 12 deletions projects/addon-doc/jest.config.ts

This file was deleted.

5 changes: 4 additions & 1 deletion projects/addon-doc/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/addon-doc"],
"options": {
"jestConfig": "projects/addon-doc/jest.config.ts"
"jestConfig": "jest.config.ts",
"coverageDirectory": "coverage/addon-doc",
"collectCoverageFrom": ["<rootDir>/projects/addon-doc/**/*.ts"],
"testMatch": ["<rootDir>/projects/addon-doc/**/*.spec.ts"]
}
},
"publish": {
Expand Down
12 changes: 0 additions & 12 deletions projects/addon-mobile/jest.config.ts

This file was deleted.

5 changes: 4 additions & 1 deletion projects/addon-mobile/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/addon-mobile"],
"options": {
"jestConfig": "projects/addon-mobile/jest.config.ts"
"jestConfig": "jest.config.ts",
"coverageDirectory": "coverage/addon-mobile",
"collectCoverageFrom": ["<rootDir>/projects/addon-mobile/**/*.ts"],
"testMatch": ["<rootDir>/projects/addon-mobile/**/*.spec.ts"]
}
},
"publish": {
Expand Down
12 changes: 0 additions & 12 deletions projects/addon-preview/jest.config.ts

This file was deleted.

5 changes: 4 additions & 1 deletion projects/addon-preview/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/addon-preview"],
"options": {
"jestConfig": "projects/addon-preview/jest.config.ts"
"jestConfig": "jest.config.ts",
"coverageDirectory": "coverage/addon-preview",
"collectCoverageFrom": ["<rootDir>/projects/addon-preview/**/*.ts"],
"testMatch": ["<rootDir>/projects/addon-preview/**/*.spec.ts"]
}
},
"publish": {
Expand Down
12 changes: 0 additions & 12 deletions projects/addon-table/jest.config.ts

This file was deleted.

5 changes: 4 additions & 1 deletion projects/addon-table/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/addon-table"],
"options": {
"jestConfig": "projects/addon-table/jest.config.ts"
"jestConfig": "jest.config.ts",
"coverageDirectory": "coverage/addon-table",
"collectCoverageFrom": ["<rootDir>/projects/addon-table/**/*.ts"],
"testMatch": ["<rootDir>/projects/addon-table/**/*.spec.ts"]
}
},
"publish": {
Expand Down
12 changes: 0 additions & 12 deletions projects/addon-tablebars/jest.config.ts

This file was deleted.

5 changes: 4 additions & 1 deletion projects/addon-tablebars/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/addon-tablebars"],
"options": {
"jestConfig": "projects/addon-tablebars/jest.config.ts"
"jestConfig": "jest.config.ts",
"coverageDirectory": "coverage/addon-tablebars",
"collectCoverageFrom": ["<rootDir>/projects/addon-tablebars/**/*.ts"],
"testMatch": ["<rootDir>/projects/addon-tablebars/**/*.spec.ts"]
}
},
"publish": {
Expand Down
12 changes: 0 additions & 12 deletions projects/cdk/jest.config.ts

This file was deleted.

5 changes: 4 additions & 1 deletion projects/cdk/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/cdk"],
"options": {
"jestConfig": "projects/cdk/jest.config.ts"
"jestConfig": "jest.config.ts",
"coverageDirectory": "coverage/cdk",
"collectCoverageFrom": ["<rootDir>/projects/cdk/**/*.ts"],
"testMatch": ["<rootDir>/projects/cdk/**/*.spec.ts"]
},
"dependsOn": [
{
Expand Down
12 changes: 0 additions & 12 deletions projects/core/jest.config.ts

This file was deleted.

5 changes: 4 additions & 1 deletion projects/core/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/core"],
"options": {
"jestConfig": "projects/core/jest.config.ts"
"jestConfig": "jest.config.ts",
"coverageDirectory": "coverage/core",
"collectCoverageFrom": ["<rootDir>/projects/core/**/*.ts"],
"testMatch": ["<rootDir>/projects/core/**/*.spec.ts"]
}
},
"publish": {
Expand Down
11 changes: 0 additions & 11 deletions projects/demo/jest.config.ts

This file was deleted.

4 changes: 3 additions & 1 deletion projects/demo/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,9 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/demo"],
"options": {
"jestConfig": "projects/demo/jest.config.ts"
"jestConfig": "jest.config.ts",
"collectCoverage": false,
"testMatch": ["<rootDir>/projects/demo/**/*.spec.ts"]
}
}
}
Expand Down
12 changes: 0 additions & 12 deletions projects/experimental/jest.config.ts

This file was deleted.

5 changes: 4 additions & 1 deletion projects/experimental/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/experimental"],
"options": {
"jestConfig": "projects/experimental/jest.config.ts"
"jestConfig": "jest.config.ts",
"coverageDirectory": "coverage/core",
"collectCoverageFrom": ["<rootDir>/projects/experimental/**/*.ts"],
"testMatch": ["<rootDir>/projects/experimental/**/*.spec.ts"]
}
},
"publish": {
Expand Down
11 changes: 0 additions & 11 deletions projects/i18n/jest.config.ts

This file was deleted.

4 changes: 3 additions & 1 deletion projects/i18n/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/i18n"],
"options": {
"jestConfig": "projects/i18n/jest.config.ts"
"jestConfig": "jest.config.ts",
"collectCoverage": false,
"testMatch": ["<rootDir>/projects/i18n/**/*.spec.ts"]
}
},
"publish": {
Expand Down
11 changes: 0 additions & 11 deletions projects/icons/jest.config.ts

This file was deleted.

4 changes: 3 additions & 1 deletion projects/icons/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/icons"],
"options": {
"jestConfig": "projects/icons/jest.config.ts"
"jestConfig": "jest.config.ts",
"collectCoverage": false,
"testMatch": ["<rootDir>/projects/icons/**/*.spec.ts"]
}
},
"publish": {
Expand Down
12 changes: 0 additions & 12 deletions projects/kit/jest.config.ts

This file was deleted.

5 changes: 4 additions & 1 deletion projects/kit/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/kit"],
"options": {
"jestConfig": "projects/kit/jest.config.ts"
"jestConfig": "jest.config.ts",
"coverageDirectory": "coverage/kit",
"collectCoverageFrom": ["<rootDir>/projects/kit/**/*.ts"],
"testMatch": ["<rootDir>/projects/kit/**/*.spec.ts"]
}
},
"publish": {
Expand Down
12 changes: 0 additions & 12 deletions projects/layout/jest.config.ts

This file was deleted.

5 changes: 4 additions & 1 deletion projects/layout/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/layout"],
"options": {
"jestConfig": "projects/layout/jest.config.ts"
"jestConfig": "jest.config.ts",
"coverageDirectory": "coverage/layout",
"collectCoverageFrom": ["<rootDir>/projects/layout/**/*.ts"],
"testMatch": ["<rootDir>/projects/layout/**/*.spec.ts"]
}
},
"publish": {
Expand Down
11 changes: 0 additions & 11 deletions projects/testing/jest.config.ts

This file was deleted.

4 changes: 3 additions & 1 deletion projects/testing/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/testing"],
"options": {
"jestConfig": "projects/testing/jest.config.ts"
"jestConfig": "jest.config.ts",
"collectCoverage": false,
"testMatch": ["<rootDir>/projects/testing/**/*.spec.ts"]
}
},
"publish": {
Expand Down

0 comments on commit 4d01194

Please sign in to comment.