@nx/cypress 21.6.2 → 21.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/executors.json +6 -6
- package/generators.json +33 -33
- package/migrations.json +93 -93
- package/package.json +8 -6
- package/src/executors/cypress/schema.json +173 -173
- package/src/generators/base-setup/files/common/__directory__/fixtures/example.json +3 -3
- package/src/generators/component-configuration/schema.json +40 -40
- package/src/generators/configuration/files/v9/__directory__/tsconfig.json +8 -8
- package/src/generators/configuration/files/v9/cypress.json +10 -10
- package/src/generators/configuration/schema.json +91 -91
- package/src/generators/convert-to-inferred/schema.json +16 -16
- package/src/generators/init/schema.json +31 -31
- package/src/generators/migrate-to-cypress-11/schema.json +13 -13
package/executors.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
2
|
+
"executors": {
|
|
3
|
+
"cypress": {
|
|
4
|
+
"implementation": "./src/executors/cypress/cypress.impl",
|
|
5
|
+
"schema": "./src/executors/cypress/schema.json",
|
|
6
|
+
"description": "Run Cypress E2E tests."
|
|
8
7
|
}
|
|
8
|
+
}
|
|
9
9
|
}
|
package/generators.json
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
2
|
+
"name": "Nx Cypress",
|
|
3
|
+
"version": "0.1",
|
|
4
|
+
"generators": {
|
|
5
|
+
"init": {
|
|
6
|
+
"factory": "./src/generators/init/init#cypressInitGeneratorInternal",
|
|
7
|
+
"schema": "./src/generators/init/schema.json",
|
|
8
|
+
"description": "Initialize the `@nx/cypress` plugin.",
|
|
9
|
+
"aliases": ["ng-add"],
|
|
10
|
+
"hidden": true
|
|
11
|
+
},
|
|
12
|
+
"configuration": {
|
|
13
|
+
"aliases": ["cypress-e2e-configuration", "e2e", "e2e-config"],
|
|
14
|
+
"factory": "./src/generators/configuration/configuration#configurationGeneratorInternal",
|
|
15
|
+
"schema": "./src/generators/configuration/schema.json",
|
|
16
|
+
"description": "Add a Cypress E2E Configuration to an existing project."
|
|
17
|
+
},
|
|
18
|
+
"component-configuration": {
|
|
19
|
+
"aliases": ["cypress-component-configuration"],
|
|
20
|
+
"factory": "./src/generators/component-configuration/component-configuration#componentConfigurationGeneratorInternal",
|
|
21
|
+
"schema": "./src/generators/component-configuration/schema.json",
|
|
22
|
+
"description": "Set up Cypress Component Test for a project",
|
|
23
|
+
"hidden": true
|
|
24
|
+
},
|
|
25
|
+
"migrate-to-cypress-11": {
|
|
26
|
+
"factory": "./src/generators/migrate-to-cypress-11/migrate-to-cypress-11#migrateCypressProject",
|
|
27
|
+
"schema": "./src/generators/migrate-to-cypress-11/schema.json",
|
|
28
|
+
"description": "Migrate existing Cypress e2e projects to Cypress v11"
|
|
29
|
+
},
|
|
30
|
+
"convert-to-inferred": {
|
|
31
|
+
"factory": "./src/generators/convert-to-inferred/convert-to-inferred",
|
|
32
|
+
"schema": "./src/generators/convert-to-inferred/schema.json",
|
|
33
|
+
"description": "Convert existing Cypress project(s) using `@nx/cypress:cypress` executor to use `@nx/cypress/plugin`."
|
|
35
34
|
}
|
|
35
|
+
}
|
|
36
36
|
}
|
package/migrations.json
CHANGED
|
@@ -1,102 +1,102 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
2
|
+
"generators": {
|
|
3
|
+
"update-19-6-0-update-ci-webserver-for-vite": {
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"version": "19.6.0-beta.4",
|
|
6
|
+
"description": "Update ciWebServerCommand to use static serve for the application.",
|
|
7
|
+
"implementation": "./src/migrations/update-19-6-0/update-ci-webserver-for-static-serve"
|
|
8
|
+
},
|
|
9
|
+
"set-inject-document-domain": {
|
|
10
|
+
"cli": "nx",
|
|
11
|
+
"version": "20.8.0-beta.0",
|
|
12
|
+
"requires": {
|
|
13
|
+
"cypress": ">=14.0.0"
|
|
14
|
+
},
|
|
15
|
+
"description": "Replaces the `experimentalSkipDomainInjection` configuration option with the new `injectDocumentDomain` configuration option.",
|
|
16
|
+
"implementation": "./src/migrations/update-20-8-0/set-inject-document-domain"
|
|
17
|
+
},
|
|
18
|
+
"remove-experimental-fetch-polyfill": {
|
|
19
|
+
"cli": "nx",
|
|
20
|
+
"version": "20.8.0-beta.0",
|
|
21
|
+
"requires": {
|
|
22
|
+
"cypress": ">=14.0.0"
|
|
23
|
+
},
|
|
24
|
+
"description": "Removes the `experimentalFetchPolyfill` configuration option.",
|
|
25
|
+
"implementation": "./src/migrations/update-20-8-0/remove-experimental-fetch-polyfill"
|
|
26
|
+
},
|
|
27
|
+
"replace-experimental-just-in-time-compile": {
|
|
28
|
+
"cli": "nx",
|
|
29
|
+
"version": "20.8.0-beta.0",
|
|
30
|
+
"requires": {
|
|
31
|
+
"cypress": ">=14.0.0"
|
|
32
|
+
},
|
|
33
|
+
"description": "Replaces the `experimentalJustInTimeCompile` configuration option with the new `justInTimeCompile` configuration option.",
|
|
34
|
+
"implementation": "./src/migrations/update-20-8-0/replace-experimental-just-in-time-compile"
|
|
35
|
+
},
|
|
36
|
+
"update-component-testing-mount-imports": {
|
|
37
|
+
"cli": "nx",
|
|
38
|
+
"version": "20.8.0-beta.0",
|
|
39
|
+
"requires": {
|
|
40
|
+
"cypress": ">=14.0.0"
|
|
41
|
+
},
|
|
42
|
+
"description": "Updates the module specifier for the Component Testing `mount` function.",
|
|
43
|
+
"implementation": "./src/migrations/update-20-8-0/update-component-testing-mount-imports"
|
|
44
|
+
},
|
|
45
|
+
"remove-tsconfig-and-copy-files-options-from-cypress-executor": {
|
|
46
|
+
"version": "21.0.0-beta.10",
|
|
47
|
+
"description": "Removes the `tsConfig` and `copyFiles` options from the `@nx/cypress:cypress` executor.",
|
|
48
|
+
"implementation": "./src/migrations/update-21-0-0/remove-tsconfig-and-copy-files-options-from-cypress-executor"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"packageJsonUpdates": {
|
|
52
|
+
"19.1.0": {
|
|
53
|
+
"version": "19.1.0-beta.0",
|
|
54
|
+
"requires": {
|
|
55
|
+
"cypress": "^13.0.0"
|
|
56
|
+
},
|
|
57
|
+
"packages": {
|
|
58
|
+
"cypress": {
|
|
59
|
+
"version": "^13.8.0",
|
|
60
|
+
"alwaysAddToPackageJson": false
|
|
44
61
|
},
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
62
|
+
"@cypress/webpack-dev-server": {
|
|
63
|
+
"version": "^3.8.0",
|
|
64
|
+
"alwaysAddToPackageJson": false
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"19.4.1": {
|
|
69
|
+
"version": "19.4.1-beta.0",
|
|
70
|
+
"requires": {
|
|
71
|
+
"cypress": "^13.0.0"
|
|
72
|
+
},
|
|
73
|
+
"packages": {
|
|
74
|
+
"cypress": {
|
|
75
|
+
"version": "^13.13.0",
|
|
76
|
+
"alwaysAddToPackageJson": false
|
|
49
77
|
}
|
|
78
|
+
}
|
|
50
79
|
},
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
},
|
|
62
|
-
"@cypress/webpack-dev-server": {
|
|
63
|
-
"version": "^3.8.0",
|
|
64
|
-
"alwaysAddToPackageJson": false
|
|
65
|
-
}
|
|
66
|
-
}
|
|
80
|
+
"20.8.0": {
|
|
81
|
+
"version": "20.8.0-beta.0",
|
|
82
|
+
"x-prompt": "Do you want to update the Cypress version to v14?",
|
|
83
|
+
"requires": {
|
|
84
|
+
"cypress": ">=13.0.0 <14.0.0"
|
|
85
|
+
},
|
|
86
|
+
"packages": {
|
|
87
|
+
"cypress": {
|
|
88
|
+
"version": "^14.2.1",
|
|
89
|
+
"alwaysAddToPackageJson": false
|
|
67
90
|
},
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"cypress": "^13.0.0"
|
|
72
|
-
},
|
|
73
|
-
"packages": {
|
|
74
|
-
"cypress": {
|
|
75
|
-
"version": "^13.13.0",
|
|
76
|
-
"alwaysAddToPackageJson": false
|
|
77
|
-
}
|
|
78
|
-
}
|
|
91
|
+
"@cypress/vite-dev-server": {
|
|
92
|
+
"version": "^6.0.3",
|
|
93
|
+
"alwaysAddToPackageJson": false
|
|
79
94
|
},
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"requires": {
|
|
84
|
-
"cypress": ">=13.0.0 <14.0.0"
|
|
85
|
-
},
|
|
86
|
-
"packages": {
|
|
87
|
-
"cypress": {
|
|
88
|
-
"version": "^14.2.1",
|
|
89
|
-
"alwaysAddToPackageJson": false
|
|
90
|
-
},
|
|
91
|
-
"@cypress/vite-dev-server": {
|
|
92
|
-
"version": "^6.0.3",
|
|
93
|
-
"alwaysAddToPackageJson": false
|
|
94
|
-
},
|
|
95
|
-
"@cypress/webpack-dev-server": {
|
|
96
|
-
"version": "^4.0.2",
|
|
97
|
-
"alwaysAddToPackageJson": false
|
|
98
|
-
}
|
|
99
|
-
}
|
|
95
|
+
"@cypress/webpack-dev-server": {
|
|
96
|
+
"version": "^4.0.2",
|
|
97
|
+
"alwaysAddToPackageJson": false
|
|
100
98
|
}
|
|
99
|
+
}
|
|
101
100
|
}
|
|
101
|
+
}
|
|
102
102
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/cypress",
|
|
3
|
-
"version": "21.6.
|
|
3
|
+
"version": "21.6.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Cypress contains executors and generators allowing your workspace to use the powerful Cypress integration testing capabilities.",
|
|
6
6
|
"repository": {
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"migrations": "./migrations.json"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@nx/devkit": "21.6.
|
|
40
|
-
"@nx/eslint": "21.6.
|
|
41
|
-
"@nx/js": "21.6.
|
|
39
|
+
"@nx/devkit": "21.6.3",
|
|
40
|
+
"@nx/eslint": "21.6.3",
|
|
41
|
+
"@nx/js": "21.6.3",
|
|
42
42
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
43
43
|
"detect-port": "^1.5.1",
|
|
44
44
|
"semver": "^7.6.3",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"tslib": "^2.3.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"nx": "21.6.
|
|
49
|
+
"nx": "21.6.3"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"cypress": ">= 3 < 15"
|
|
@@ -58,5 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"access": "public"
|
|
61
|
-
}
|
|
61
|
+
},
|
|
62
|
+
"types": "./index.d.ts",
|
|
63
|
+
"type": "commonjs"
|
|
62
64
|
}
|
|
@@ -1,185 +1,185 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
"version": 2,
|
|
3
|
+
"title": "Cypress Target",
|
|
4
|
+
"description": "Run Cypress for e2e, integration and component testing.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"outputCapture": "pipe",
|
|
7
|
+
"cli": "nx",
|
|
8
|
+
"presets": [
|
|
9
|
+
{
|
|
10
|
+
"name": "Starting Dev Server",
|
|
11
|
+
"keys": ["cypressConfig", "devServerTarget"]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "Custom Base Url",
|
|
15
|
+
"keys": ["cypressConfig", "baseUrl"]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "Component Testing",
|
|
19
|
+
"keys": ["cypressConfig", "devServerTarget", "testingType", "skipServe"]
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"properties": {
|
|
23
|
+
"cypressConfig": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "The path of the Cypress configuration json file.",
|
|
26
|
+
"x-completion-type": "file",
|
|
27
|
+
"x-completion-glob": "cypress?(*)@(.js|.ts|.json)"
|
|
28
|
+
},
|
|
29
|
+
"watch": {
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"description": "Recompile and run tests when files change.",
|
|
32
|
+
"default": false
|
|
33
|
+
},
|
|
34
|
+
"devServerTarget": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "Dev server target to run tests against."
|
|
37
|
+
},
|
|
38
|
+
"headed": {
|
|
39
|
+
"type": "boolean",
|
|
40
|
+
"description": "Displays the browser instead of running headlessly. Set this to `true` if your run depends on a Chrome extension being loaded.",
|
|
41
|
+
"default": false
|
|
42
|
+
},
|
|
43
|
+
"headless": {
|
|
44
|
+
"type": "boolean",
|
|
45
|
+
"description": "Hide the browser instead of running headed.",
|
|
46
|
+
"default": false,
|
|
47
|
+
"x-deprecated": "Cypress runs headless by default. Use the --watch flag to control head/headless behavior instead. It will be removed in Nx v22."
|
|
48
|
+
},
|
|
49
|
+
"exit": {
|
|
50
|
+
"type": "boolean",
|
|
51
|
+
"description": "Whether or not the Cypress Test Runner will stay open after running tests in a spec file.",
|
|
52
|
+
"default": true
|
|
53
|
+
},
|
|
54
|
+
"key": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "The key cypress should use to run tests in parallel/record the run (CI only)."
|
|
57
|
+
},
|
|
58
|
+
"record": {
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"description": "Whether or not Cypress should record the results of the tests.",
|
|
61
|
+
"default": false
|
|
62
|
+
},
|
|
63
|
+
"parallel": {
|
|
64
|
+
"aliases": ["p"],
|
|
65
|
+
"type": "boolean",
|
|
66
|
+
"description": "Whether or not Cypress should run its tests in parallel (CI only).",
|
|
67
|
+
"default": false
|
|
68
|
+
},
|
|
69
|
+
"baseUrl": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"description": "The address (with the port) which your application is running on.",
|
|
72
|
+
"x-priority": "important"
|
|
73
|
+
},
|
|
74
|
+
"browser": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"description": "The browser to run tests in."
|
|
77
|
+
},
|
|
78
|
+
"env": {
|
|
79
|
+
"type": "object",
|
|
80
|
+
"description": "A key-value Pair of environment variables to pass to Cypress runner."
|
|
81
|
+
},
|
|
82
|
+
"spec": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"description": "A comma delimited glob string that is provided to the Cypress runner to specify which spec files to run. i.e. `**examples/**,**actions.spec**`."
|
|
85
|
+
},
|
|
86
|
+
"ciBuildId": {
|
|
87
|
+
"oneOf": [
|
|
9
88
|
{
|
|
10
|
-
|
|
11
|
-
"keys": ["cypressConfig", "devServerTarget"]
|
|
89
|
+
"type": "string"
|
|
12
90
|
},
|
|
13
91
|
{
|
|
14
|
-
|
|
15
|
-
|
|
92
|
+
"type": "number"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"description": "A unique identifier for a run to enable grouping or parallelization."
|
|
96
|
+
},
|
|
97
|
+
"group": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"description": "A named group for recorded runs in the Cypress dashboard."
|
|
100
|
+
},
|
|
101
|
+
"ignoreTestFiles": {
|
|
102
|
+
"aliases": ["excludeSpecPattern"],
|
|
103
|
+
"oneOf": [
|
|
104
|
+
{
|
|
105
|
+
"type": "string"
|
|
16
106
|
},
|
|
17
107
|
{
|
|
18
|
-
|
|
19
|
-
|
|
108
|
+
"type": "array",
|
|
109
|
+
"items": {
|
|
110
|
+
"type": "string"
|
|
111
|
+
}
|
|
20
112
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"default": false
|
|
33
|
-
},
|
|
34
|
-
"devServerTarget": {
|
|
35
|
-
"type": "string",
|
|
36
|
-
"description": "Dev server target to run tests against."
|
|
37
|
-
},
|
|
38
|
-
"headed": {
|
|
39
|
-
"type": "boolean",
|
|
40
|
-
"description": "Displays the browser instead of running headlessly. Set this to `true` if your run depends on a Chrome extension being loaded.",
|
|
41
|
-
"default": false
|
|
42
|
-
},
|
|
43
|
-
"headless": {
|
|
44
|
-
"type": "boolean",
|
|
45
|
-
"description": "Hide the browser instead of running headed.",
|
|
46
|
-
"default": false,
|
|
47
|
-
"x-deprecated": "Cypress runs headless by default. Use the --watch flag to control head/headless behavior instead. It will be removed in Nx v22."
|
|
48
|
-
},
|
|
49
|
-
"exit": {
|
|
50
|
-
"type": "boolean",
|
|
51
|
-
"description": "Whether or not the Cypress Test Runner will stay open after running tests in a spec file.",
|
|
52
|
-
"default": true
|
|
53
|
-
},
|
|
54
|
-
"key": {
|
|
55
|
-
"type": "string",
|
|
56
|
-
"description": "The key cypress should use to run tests in parallel/record the run (CI only)."
|
|
57
|
-
},
|
|
58
|
-
"record": {
|
|
59
|
-
"type": "boolean",
|
|
60
|
-
"description": "Whether or not Cypress should record the results of the tests.",
|
|
61
|
-
"default": false
|
|
62
|
-
},
|
|
63
|
-
"parallel": {
|
|
64
|
-
"aliases": ["p"],
|
|
65
|
-
"type": "boolean",
|
|
66
|
-
"description": "Whether or not Cypress should run its tests in parallel (CI only).",
|
|
67
|
-
"default": false
|
|
68
|
-
},
|
|
69
|
-
"baseUrl": {
|
|
70
|
-
"type": "string",
|
|
71
|
-
"description": "The address (with the port) which your application is running on.",
|
|
72
|
-
"x-priority": "important"
|
|
73
|
-
},
|
|
74
|
-
"browser": {
|
|
75
|
-
"type": "string",
|
|
76
|
-
"description": "The browser to run tests in."
|
|
77
|
-
},
|
|
78
|
-
"env": {
|
|
79
|
-
"type": "object",
|
|
80
|
-
"description": "A key-value Pair of environment variables to pass to Cypress runner."
|
|
81
|
-
},
|
|
82
|
-
"spec": {
|
|
83
|
-
"type": "string",
|
|
84
|
-
"description": "A comma delimited glob string that is provided to the Cypress runner to specify which spec files to run. i.e. `**examples/**,**actions.spec**`."
|
|
85
|
-
},
|
|
86
|
-
"ciBuildId": {
|
|
87
|
-
"oneOf": [
|
|
88
|
-
{
|
|
89
|
-
"type": "string"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"type": "number"
|
|
93
|
-
}
|
|
94
|
-
],
|
|
95
|
-
"description": "A unique identifier for a run to enable grouping or parallelization."
|
|
96
|
-
},
|
|
97
|
-
"group": {
|
|
98
|
-
"type": "string",
|
|
99
|
-
"description": "A named group for recorded runs in the Cypress dashboard."
|
|
100
|
-
},
|
|
101
|
-
"ignoreTestFiles": {
|
|
102
|
-
"aliases": ["excludeSpecPattern"],
|
|
103
|
-
"oneOf": [
|
|
104
|
-
{
|
|
105
|
-
"type": "string"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"type": "array",
|
|
109
|
-
"items": {
|
|
110
|
-
"type": "string"
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
],
|
|
114
|
-
"description": "A String or Array of glob patterns used to ignore test files that would otherwise be shown in your list of tests. Cypress uses minimatch with the options: `{dot: true, matchBase: true}`. We suggest using https://globster.xyz to test what files would match."
|
|
115
|
-
},
|
|
116
|
-
"reporter": {
|
|
117
|
-
"type": "string",
|
|
118
|
-
"description": "The reporter used during cypress run."
|
|
119
|
-
},
|
|
120
|
-
"reporterOptions": {
|
|
121
|
-
"oneOf": [
|
|
122
|
-
{
|
|
123
|
-
"type": "string"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"type": "object"
|
|
127
|
-
}
|
|
128
|
-
],
|
|
129
|
-
"description": "The reporter options used. Supported options depend on the reporter. https://docs.cypress.io/guides/tooling/reporters#Reporter-Options"
|
|
130
|
-
},
|
|
131
|
-
"skipServe": {
|
|
132
|
-
"type": "boolean",
|
|
133
|
-
"description": "Skip dev-server build.",
|
|
134
|
-
"default": false
|
|
135
|
-
},
|
|
136
|
-
"testingType": {
|
|
137
|
-
"type": "string",
|
|
138
|
-
"description": "Specify the type of tests to execute.",
|
|
139
|
-
"enum": ["component", "e2e"],
|
|
140
|
-
"default": "e2e"
|
|
141
|
-
},
|
|
142
|
-
"tag": {
|
|
143
|
-
"type": "string",
|
|
144
|
-
"description": "A comma delimited list to identify a run with.",
|
|
145
|
-
"aliases": ["t"]
|
|
146
|
-
},
|
|
147
|
-
"port": {
|
|
148
|
-
"oneOf": [
|
|
149
|
-
{
|
|
150
|
-
"type": "string",
|
|
151
|
-
"enum": ["cypress-auto"]
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"type": "number"
|
|
155
|
-
}
|
|
156
|
-
],
|
|
157
|
-
"description": "Pass a specified port value to the devServerTarget, if the value is 'cypress-auto' a free port will automatically be picked for the devServerTarget."
|
|
158
|
-
},
|
|
159
|
-
"quiet": {
|
|
160
|
-
"aliases": ["q"],
|
|
161
|
-
"type": "boolean",
|
|
162
|
-
"description": "If passed, Cypress output will not be printed to stdout. Only output from the configured Mocha reporter will print.",
|
|
163
|
-
"default": false
|
|
113
|
+
],
|
|
114
|
+
"description": "A String or Array of glob patterns used to ignore test files that would otherwise be shown in your list of tests. Cypress uses minimatch with the options: `{dot: true, matchBase: true}`. We suggest using https://globster.xyz to test what files would match."
|
|
115
|
+
},
|
|
116
|
+
"reporter": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"description": "The reporter used during cypress run."
|
|
119
|
+
},
|
|
120
|
+
"reporterOptions": {
|
|
121
|
+
"oneOf": [
|
|
122
|
+
{
|
|
123
|
+
"type": "string"
|
|
164
124
|
},
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
125
|
+
{
|
|
126
|
+
"type": "object"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"description": "The reporter options used. Supported options depend on the reporter. https://docs.cypress.io/guides/tooling/reporters#Reporter-Options"
|
|
130
|
+
},
|
|
131
|
+
"skipServe": {
|
|
132
|
+
"type": "boolean",
|
|
133
|
+
"description": "Skip dev-server build.",
|
|
134
|
+
"default": false
|
|
135
|
+
},
|
|
136
|
+
"testingType": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"description": "Specify the type of tests to execute.",
|
|
139
|
+
"enum": ["component", "e2e"],
|
|
140
|
+
"default": "e2e"
|
|
141
|
+
},
|
|
142
|
+
"tag": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"description": "A comma delimited list to identify a run with.",
|
|
145
|
+
"aliases": ["t"]
|
|
146
|
+
},
|
|
147
|
+
"port": {
|
|
148
|
+
"oneOf": [
|
|
149
|
+
{
|
|
150
|
+
"type": "string",
|
|
151
|
+
"enum": ["cypress-auto"]
|
|
168
152
|
},
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
{
|
|
172
|
-
"type": "number"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"type": "boolean",
|
|
176
|
-
"const": false
|
|
177
|
-
}
|
|
178
|
-
],
|
|
179
|
-
"description": "Specify the number of failures to cancel a run being recorded to the Cypress Cloud or `false` to disable auto-cancellation."
|
|
153
|
+
{
|
|
154
|
+
"type": "number"
|
|
180
155
|
}
|
|
156
|
+
],
|
|
157
|
+
"description": "Pass a specified port value to the devServerTarget, if the value is 'cypress-auto' a free port will automatically be picked for the devServerTarget."
|
|
158
|
+
},
|
|
159
|
+
"quiet": {
|
|
160
|
+
"aliases": ["q"],
|
|
161
|
+
"type": "boolean",
|
|
162
|
+
"description": "If passed, Cypress output will not be printed to stdout. Only output from the configured Mocha reporter will print.",
|
|
163
|
+
"default": false
|
|
181
164
|
},
|
|
182
|
-
"
|
|
183
|
-
|
|
184
|
-
|
|
165
|
+
"runnerUi": {
|
|
166
|
+
"type": "boolean",
|
|
167
|
+
"description": "Displays the Cypress Runner UI. Useful for when Test Replay is enabled and you would still like the Cypress Runner UI to be displayed for screenshots and video."
|
|
168
|
+
},
|
|
169
|
+
"autoCancelAfterFailures": {
|
|
170
|
+
"oneOf": [
|
|
171
|
+
{
|
|
172
|
+
"type": "number"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"type": "boolean",
|
|
176
|
+
"const": false
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"description": "Specify the number of failures to cancel a run being recorded to the Cypress Cloud or `false` to disable auto-cancellation."
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"additionalProperties": true,
|
|
183
|
+
"required": ["cypressConfig"],
|
|
184
|
+
"examplesFile": "../../../docs/cypress-examples.md"
|
|
185
185
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
"name": "Using fixtures to represent data",
|
|
3
|
+
"email": "hello@cypress.io",
|
|
4
|
+
"body": "Fixtures are a great way to mock data for responses to routes"
|
|
5
5
|
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
},
|
|
23
|
-
"bundler": {
|
|
24
|
-
"description": "The Cypress bundler to use.",
|
|
25
|
-
"type": "string",
|
|
26
|
-
"enum": ["vite", "webpack"],
|
|
27
|
-
"x-prompt": "Which Cypress bundler do you want to use for the dev-server?",
|
|
28
|
-
"default": "webpack"
|
|
29
|
-
},
|
|
30
|
-
"directory": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"description": "A directory where the project is placed relative from the project root",
|
|
33
|
-
"default": "cypress"
|
|
34
|
-
},
|
|
35
|
-
"jsx": {
|
|
36
|
-
"description": "Whether or not this project uses JSX.",
|
|
37
|
-
"type": "boolean",
|
|
38
|
-
"default": true
|
|
39
|
-
}
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "NxCypressComponentConfiguration",
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"title": "Set up Cypress component testing for a project",
|
|
6
|
+
"description": "Set up Cypress component test for a project.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"examples": [
|
|
9
|
+
{
|
|
10
|
+
"command": "nx g @nx/cypress:component-configuration --project=my-cool-lib ",
|
|
11
|
+
"description": "Add cypress component testing to an existing project named my-cool-lib"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"project": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "The name of the project to add cypress component testing to",
|
|
18
|
+
"$default": {
|
|
19
|
+
"$source": "projectName"
|
|
20
|
+
},
|
|
21
|
+
"x-prompt": "What project should we add Cypress component testing to?"
|
|
40
22
|
},
|
|
41
|
-
"
|
|
42
|
-
|
|
23
|
+
"bundler": {
|
|
24
|
+
"description": "The Cypress bundler to use.",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"enum": ["vite", "webpack"],
|
|
27
|
+
"x-prompt": "Which Cypress bundler do you want to use for the dev-server?",
|
|
28
|
+
"default": "webpack"
|
|
29
|
+
},
|
|
30
|
+
"directory": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "A directory where the project is placed relative from the project root",
|
|
33
|
+
"default": "cypress"
|
|
34
|
+
},
|
|
35
|
+
"jsx": {
|
|
36
|
+
"description": "Whether or not this project uses JSX.",
|
|
37
|
+
"type": "boolean",
|
|
38
|
+
"default": true
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"required": ["project"],
|
|
42
|
+
"examplesFile": "../../../docs/cypress-component-configuration-examples.md"
|
|
43
43
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
"extends": "<%= tsConfigPath %>",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"sourceMap": false,
|
|
5
|
+
"outDir": "<%= offsetFromRoot %>dist/out-tsc",
|
|
6
|
+
"allowJs": true,
|
|
7
|
+
"types": ["cypress", "node"]
|
|
8
|
+
},
|
|
9
|
+
"include": ["src/**/*.ts", "src/**/*.js"]
|
|
10
10
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
"fileServerFolder": ".",
|
|
3
|
+
"fixturesFolder": "./<%= dir %>/fixtures",
|
|
4
|
+
"integrationFolder": "./<%= dir %>/integration",
|
|
5
|
+
"modifyObstructiveCode": false,
|
|
6
|
+
"supportFile": "./<%= dir %>/support/index.<%= ext %>",
|
|
7
|
+
"pluginsFile": false,
|
|
8
|
+
"video": true,
|
|
9
|
+
"videosFolder": "<%= offsetFromRoot %>dist/cypress/<%= projectRoot %>/videos",
|
|
10
|
+
"screenshotsFolder": "<%= offsetFromRoot %>dist/cypress/<%= projectRoot %>/screenshots",
|
|
11
|
+
"chromeWebSecurity": false
|
|
12
12
|
}
|
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"type": "number"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"description": "Set the 'port' option on the e2e target. It's recommend to set a different port so you can run tests e2e targets in parallel. Most dev servers support using '0' to automatically find a free port. The value 'cypress-auto' can be used if the underlying dev server does not support automatically finding a free port.",
|
|
34
|
-
"x-priority": "important"
|
|
35
|
-
},
|
|
36
|
-
"baseUrl": {
|
|
37
|
-
"type": "string",
|
|
38
|
-
"description": "The address (with the port) which your application is running on. If you wish to start your application when running the e2e target, then use --devServerTarget instead."
|
|
39
|
-
},
|
|
40
|
-
"directory": {
|
|
41
|
-
"type": "string",
|
|
42
|
-
"description": "A directory where the project is placed relative from the project root",
|
|
43
|
-
"x-priority": "important",
|
|
44
|
-
"default": "cypress"
|
|
45
|
-
},
|
|
46
|
-
"linter": {
|
|
47
|
-
"description": "The tool to use for running lint checks.",
|
|
48
|
-
"type": "string",
|
|
49
|
-
"enum": ["none", "eslint"],
|
|
50
|
-
"x-priority": "important"
|
|
51
|
-
},
|
|
52
|
-
"js": {
|
|
53
|
-
"description": "Generate JavaScript files rather than TypeScript files.",
|
|
54
|
-
"type": "boolean",
|
|
55
|
-
"default": false
|
|
56
|
-
},
|
|
57
|
-
"skipFormat": {
|
|
58
|
-
"description": "Skip formatting files.",
|
|
59
|
-
"type": "boolean",
|
|
60
|
-
"default": false,
|
|
61
|
-
"x-priority": "internal"
|
|
62
|
-
},
|
|
63
|
-
"setParserOptionsProject": {
|
|
64
|
-
"type": "boolean",
|
|
65
|
-
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
|
66
|
-
"default": false
|
|
67
|
-
},
|
|
68
|
-
"skipPackageJson": {
|
|
69
|
-
"type": "boolean",
|
|
70
|
-
"default": false,
|
|
71
|
-
"description": "Do not add dependencies to `package.json`.",
|
|
72
|
-
"x-priority": "internal"
|
|
73
|
-
},
|
|
74
|
-
"rootProject": {
|
|
75
|
-
"description": "Create a application at the root of the workspace",
|
|
76
|
-
"type": "boolean",
|
|
77
|
-
"default": false,
|
|
78
|
-
"hidden": true,
|
|
79
|
-
"x-priority": "internal"
|
|
80
|
-
},
|
|
81
|
-
"bundler": {
|
|
82
|
-
"description": "The Cypress bundler to use.",
|
|
83
|
-
"type": "string",
|
|
84
|
-
"enum": ["vite", "webpack", "none"],
|
|
85
|
-
"x-prompt": "Which Cypress bundler do you want to use?",
|
|
86
|
-
"default": "webpack"
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "NxCypressE2EConfigGenerator",
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"title": "Add a Cypress Configuration.",
|
|
6
|
+
"description": "Add a Cypress configuration to an existing project.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"project": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "The project to add a Cypress configuration to",
|
|
12
|
+
"$default": {
|
|
13
|
+
"$source": "projectName"
|
|
14
|
+
},
|
|
15
|
+
"x-priority": "important",
|
|
16
|
+
"x-prompt": "What project do you want to add Cypress to?"
|
|
17
|
+
},
|
|
18
|
+
"devServerTarget": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "A devServerTarget,'<projectName>:<targetName>[:<configName>], that will be used to run tests against. This is usually the app this project will be used in. Pass --baseUrl if you wish to not use a devServerTarget.",
|
|
21
|
+
"x-priority": "important"
|
|
22
|
+
},
|
|
23
|
+
"port": {
|
|
24
|
+
"oneOf": [
|
|
25
|
+
{
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": ["cypress-auto"]
|
|
87
28
|
},
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"type": "boolean",
|
|
91
|
-
"default": true
|
|
29
|
+
{
|
|
30
|
+
"type": "number"
|
|
92
31
|
}
|
|
32
|
+
],
|
|
33
|
+
"description": "Set the 'port' option on the e2e target. It's recommend to set a different port so you can run tests e2e targets in parallel. Most dev servers support using '0' to automatically find a free port. The value 'cypress-auto' can be used if the underlying dev server does not support automatically finding a free port.",
|
|
34
|
+
"x-priority": "important"
|
|
35
|
+
},
|
|
36
|
+
"baseUrl": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"description": "The address (with the port) which your application is running on. If you wish to start your application when running the e2e target, then use --devServerTarget instead."
|
|
39
|
+
},
|
|
40
|
+
"directory": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"description": "A directory where the project is placed relative from the project root",
|
|
43
|
+
"x-priority": "important",
|
|
44
|
+
"default": "cypress"
|
|
45
|
+
},
|
|
46
|
+
"linter": {
|
|
47
|
+
"description": "The tool to use for running lint checks.",
|
|
48
|
+
"type": "string",
|
|
49
|
+
"enum": ["none", "eslint"],
|
|
50
|
+
"x-priority": "important"
|
|
51
|
+
},
|
|
52
|
+
"js": {
|
|
53
|
+
"description": "Generate JavaScript files rather than TypeScript files.",
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"default": false
|
|
56
|
+
},
|
|
57
|
+
"skipFormat": {
|
|
58
|
+
"description": "Skip formatting files.",
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"default": false,
|
|
61
|
+
"x-priority": "internal"
|
|
62
|
+
},
|
|
63
|
+
"setParserOptionsProject": {
|
|
64
|
+
"type": "boolean",
|
|
65
|
+
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|
|
66
|
+
"default": false
|
|
67
|
+
},
|
|
68
|
+
"skipPackageJson": {
|
|
69
|
+
"type": "boolean",
|
|
70
|
+
"default": false,
|
|
71
|
+
"description": "Do not add dependencies to `package.json`.",
|
|
72
|
+
"x-priority": "internal"
|
|
73
|
+
},
|
|
74
|
+
"rootProject": {
|
|
75
|
+
"description": "Create a application at the root of the workspace",
|
|
76
|
+
"type": "boolean",
|
|
77
|
+
"default": false,
|
|
78
|
+
"hidden": true,
|
|
79
|
+
"x-priority": "internal"
|
|
80
|
+
},
|
|
81
|
+
"bundler": {
|
|
82
|
+
"description": "The Cypress bundler to use.",
|
|
83
|
+
"type": "string",
|
|
84
|
+
"enum": ["vite", "webpack", "none"],
|
|
85
|
+
"x-prompt": "Which Cypress bundler do you want to use?",
|
|
86
|
+
"default": "webpack"
|
|
93
87
|
},
|
|
94
|
-
"
|
|
95
|
-
|
|
88
|
+
"jsx": {
|
|
89
|
+
"description": "Whether or not this project uses JSX.",
|
|
90
|
+
"type": "boolean",
|
|
91
|
+
"default": true
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"required": ["project"],
|
|
95
|
+
"examplesFile": "../../../docs/cypress-e2e-config-examples.md"
|
|
96
96
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "NxCypressConvertToInferred",
|
|
4
|
+
"description": "Convert existing Cypress project(s) using `@nx/cypress:cypress` executor to use `@nx/cypress/plugin`.",
|
|
5
|
+
"title": "Convert Cypress project from executor to plugin",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"project": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The project to convert from using the `@nx/cypress:cypress` executor to use `@nx/cypress/plugin`.",
|
|
11
|
+
"x-priority": "important"
|
|
12
|
+
},
|
|
13
|
+
"skipFormat": {
|
|
14
|
+
"type": "boolean",
|
|
15
|
+
"description": "Whether to format files at the end of the migration.",
|
|
16
|
+
"default": false
|
|
18
17
|
}
|
|
18
|
+
}
|
|
19
19
|
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "NxCypressInit",
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"title": "Add Cypress Configuration to the workspace",
|
|
6
|
+
"description": "Add Cypress Configuration to the workspace.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"skipFormat": {
|
|
10
|
+
"description": "Skip formatting files.",
|
|
11
|
+
"type": "boolean",
|
|
12
|
+
"default": false,
|
|
13
|
+
"x-priority": "internal"
|
|
14
|
+
},
|
|
15
|
+
"skipPackageJson": {
|
|
16
|
+
"type": "boolean",
|
|
17
|
+
"default": false,
|
|
18
|
+
"description": "Do not add dependencies to `package.json`.",
|
|
19
|
+
"x-priority": "internal"
|
|
20
|
+
},
|
|
21
|
+
"keepExistingVersions": {
|
|
22
|
+
"type": "boolean",
|
|
23
|
+
"x-priority": "internal",
|
|
24
|
+
"description": "Keep existing dependencies versions",
|
|
25
|
+
"default": false
|
|
26
|
+
},
|
|
27
|
+
"updatePackageScripts": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"x-priority": "internal",
|
|
30
|
+
"description": "Update `package.json` scripts with inferred targets",
|
|
31
|
+
"default": false
|
|
33
32
|
}
|
|
33
|
+
}
|
|
34
34
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "NxCypressMigrateTo11",
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"title": "Migrate e2e project to Cypress 11",
|
|
6
|
+
"description": "Migrate Cypress e2e project from v8/v9 to Cypress v11.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"examples": [
|
|
9
|
+
{
|
|
10
|
+
"command": "nx g @nx/cypress:migrate-to-cypress-11",
|
|
11
|
+
"description": "Migrate existing cypress projects to Cypress v11"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"properties": {}
|
|
15
15
|
}
|