@nx/cypress 17.1.0-beta.0 → 17.1.0-beta.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.1.0-beta.
|
|
3
|
+
"version": "17.1.0-beta.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.1.0-beta.
|
|
42
|
-
"@nx/js": "17.1.0-beta.
|
|
43
|
-
"@nx/eslint": "17.1.0-beta.
|
|
44
|
-
"@nrwl/cypress": "17.1.0-beta.
|
|
41
|
+
"@nx/devkit": "17.1.0-beta.3",
|
|
42
|
+
"@nx/js": "17.1.0-beta.3",
|
|
43
|
+
"@nx/eslint": "17.1.0-beta.3",
|
|
44
|
+
"@nrwl/cypress": "17.1.0-beta.3"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"cypress": ">= 3 < 14"
|
|
@@ -11,6 +11,7 @@ export interface NxComponentTestingOptions {
|
|
|
11
11
|
*/
|
|
12
12
|
ctTargetName?: string;
|
|
13
13
|
bundler?: 'vite' | 'webpack';
|
|
14
|
+
compiler?: 'swc' | 'babel';
|
|
14
15
|
}
|
|
15
16
|
export declare function nxBaseCypressPreset(pathToConfig: string, options?: {
|
|
16
17
|
testingType: 'component' | 'e2e';
|
|
@@ -125,8 +125,8 @@ If the port is in use, try using a different port value or passing --port='cypre
|
|
|
125
125
|
if (!opts.baseUrl &&
|
|
126
126
|
!output.baseUrl &&
|
|
127
127
|
!output.info?.baseUrl &&
|
|
128
|
-
output.info?.port) {
|
|
129
|
-
output.baseUrl = `http://localhost:${output.info
|
|
128
|
+
(output.port || output.info?.port)) {
|
|
129
|
+
output.baseUrl = `http://localhost:${output.port ?? output.info?.port}`;
|
|
130
130
|
}
|
|
131
131
|
yield {
|
|
132
132
|
baseUrl: opts.baseUrl || output.baseUrl || output.info?.baseUrl,
|