Remove tsConfig
and copyFiles
Options from Cypress Executor
Removes the previously deprecated and unused tsConfig
and copyFiles
options from the @nx/cypress:cypress
executor configuration in all projects.
Examples
Remove the options from the project configuration:
1{
2 "targets": {
3 "e2e": {
4 "executor": "@nx/cypress:cypress",
5 "options": {
6 "cypressConfig": "apps/app1-e2e/cypress.config.ts",
7 "tsConfig": "apps/app1-e2e/tsconfig.json",
8 "copyFiles": "**/*.spec.ts",
9 "devServerTarget": "app1:serve"
10 }
11 }
12 }
13}
14
Remove the options from a target default using the @nx/cypress:cypress
executor:
1{
2 "targetDefaults": {
3 "e2e": {
4 "cache": true,
5 "executor": "@nx/cypress:cypress",
6 "options": {
7 "tsConfig": "{projectRoot}/tsconfig.json",
8 "copyFiles": "**/*.spec.ts"
9 }
10 }
11 }
12}
13
Remove the options from a target default using the @nx/cypress:cypress
executor as the key:
1{
2 "targetDefaults": {
3 "@nx/cypress:cypress": {
4 "cache": true,
5 "options": {
6 "tsConfig": "{projectRoot}/tsconfig.json",
7 "copyFiles": "**/*.spec.ts"
8 }
9 }
10 }
11}
12