@nx/cypress 17.0.2 → 17.0.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/cypress",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.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": {
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"detect-port": "^1.5.1",
|
|
39
39
|
"semver": "7.5.3",
|
|
40
40
|
"tslib": "^2.3.0",
|
|
41
|
-
"@nx/devkit": "17.0.
|
|
42
|
-
"@nx/js": "17.0.
|
|
43
|
-
"@nx/eslint": "17.0.
|
|
44
|
-
"@nrwl/cypress": "17.0.
|
|
41
|
+
"@nx/devkit": "17.0.3",
|
|
42
|
+
"@nx/js": "17.0.3",
|
|
43
|
+
"@nx/eslint": "17.0.3",
|
|
44
|
+
"@nrwl/cypress": "17.0.3"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"cypress": ">= 3 < 14"
|
|
@@ -13,6 +13,7 @@ export interface CypressE2EConfigSchema {
|
|
|
13
13
|
linter?: Linter;
|
|
14
14
|
port?: number | 'cypress-auto';
|
|
15
15
|
jsx?: boolean;
|
|
16
|
+
rootProject?: boolean;
|
|
16
17
|
}
|
|
17
18
|
export declare function configurationGenerator(tree: Tree, options: CypressE2EConfigSchema): Promise<GeneratorCallback>;
|
|
18
19
|
export default configurationGenerator;
|
|
@@ -49,7 +49,7 @@ In this case you need to provide a devServerTarget,'<projectName>:<targetName>[:
|
|
|
49
49
|
return {
|
|
50
50
|
...options,
|
|
51
51
|
bundler: options.bundler ?? 'webpack',
|
|
52
|
-
rootProject: projectConfig.root === '.',
|
|
52
|
+
rootProject: options.rootProject ?? projectConfig.root === '.',
|
|
53
53
|
linter: options.linter ?? eslint_1.Linter.EsLint,
|
|
54
54
|
devServerTarget: options.devServerTarget ??
|
|
55
55
|
(projectConfig.targets.serve ? `${options.project}:serve` : undefined),
|