@nx/cypress 23.2.0-beta.7 → 23.2.0-beta.9
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.
|
@@ -144,23 +144,23 @@ In this case you need to provide a devServerTarget,'<projectName>:<targetName>[:
|
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
async function promptForMissingServeData(projectName) {
|
|
147
|
-
|
|
148
|
-
{
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
name: 'port',
|
|
157
|
-
message: 'What port will the application be served on?',
|
|
158
|
-
initial: 3000,
|
|
159
|
-
},
|
|
160
|
-
], {
|
|
161
|
-
devServerTarget: `${projectName}:serve`,
|
|
162
|
-
port: 3000,
|
|
147
|
+
if (!(0, internal_1.isInteractive)()) {
|
|
148
|
+
return {
|
|
149
|
+
devServerTarget: `${projectName}:serve`,
|
|
150
|
+
baseUrl: 'http://localhost:3000',
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
const devServerTarget = await (0, internal_1.textPrompt)({
|
|
154
|
+
message: 'What is the name of the target used to serve the application locally?',
|
|
155
|
+
initialValue: `${projectName}:serve`,
|
|
163
156
|
});
|
|
157
|
+
const port = Number(await (0, internal_1.textPrompt)({
|
|
158
|
+
message: 'What port will the application be served on?',
|
|
159
|
+
initialValue: '3000',
|
|
160
|
+
validate: (value) => value !== '' && !Number.isNaN(Number(value))
|
|
161
|
+
? undefined
|
|
162
|
+
: 'Please enter a number',
|
|
163
|
+
}));
|
|
164
164
|
return {
|
|
165
165
|
devServerTarget,
|
|
166
166
|
baseUrl: `http://localhost:${port}`,
|
|
@@ -4,7 +4,7 @@ export declare const minSupportedCypressVersion = "13.0.0";
|
|
|
4
4
|
export declare const eslintPluginCypressVersion = "^3.5.0";
|
|
5
5
|
export declare const typesNodeVersion = "^22.0.0";
|
|
6
6
|
export declare const cypressViteDevServerVersion = "^7.3.1";
|
|
7
|
-
export declare const cypressVersion = "^15.
|
|
7
|
+
export declare const cypressVersion = "^15.20.1";
|
|
8
8
|
export declare const cypressWebpackVersion = "^5.4.1";
|
|
9
9
|
export declare const viteVersion = "^6.0.0";
|
|
10
10
|
export declare const htmlWebpackPluginVersion = "^5.5.0";
|
|
@@ -13,7 +13,7 @@ exports.minSupportedCypressVersion = '13.0.0';
|
|
|
13
13
|
exports.eslintPluginCypressVersion = '^3.5.0';
|
|
14
14
|
exports.typesNodeVersion = '^22.0.0';
|
|
15
15
|
exports.cypressViteDevServerVersion = '^7.3.1';
|
|
16
|
-
exports.cypressVersion = '^15.
|
|
16
|
+
exports.cypressVersion = '^15.20.1';
|
|
17
17
|
exports.cypressWebpackVersion = '^5.4.1';
|
|
18
18
|
exports.viteVersion = '^6.0.0';
|
|
19
19
|
exports.htmlWebpackPluginVersion = '^5.5.0';
|
package/migrations.json
CHANGED
|
@@ -148,6 +148,18 @@
|
|
|
148
148
|
"alwaysAddToPackageJson": false
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
+
},
|
|
152
|
+
"23.2.0-cypress-15.20.1": {
|
|
153
|
+
"version": "23.2.0-beta.6",
|
|
154
|
+
"requires": {
|
|
155
|
+
"cypress": ">=15.0.0 <15.20.1"
|
|
156
|
+
},
|
|
157
|
+
"packages": {
|
|
158
|
+
"cypress": {
|
|
159
|
+
"version": "^15.20.1",
|
|
160
|
+
"alwaysAddToPackageJson": false
|
|
161
|
+
}
|
|
162
|
+
}
|
|
151
163
|
}
|
|
152
164
|
}
|
|
153
165
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/cypress",
|
|
3
|
-
"version": "23.2.0-beta.
|
|
3
|
+
"version": "23.2.0-beta.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"files": [
|
|
@@ -89,12 +89,12 @@
|
|
|
89
89
|
"semver": "^7.6.3",
|
|
90
90
|
"tree-kill": "^1.2.2",
|
|
91
91
|
"tslib": "^2.3.0",
|
|
92
|
-
"@nx/devkit": "23.2.0-beta.
|
|
93
|
-
"@nx/eslint": "23.2.0-beta.
|
|
94
|
-
"@nx/js": "23.2.0-beta.
|
|
92
|
+
"@nx/devkit": "23.2.0-beta.9",
|
|
93
|
+
"@nx/eslint": "23.2.0-beta.9",
|
|
94
|
+
"@nx/js": "23.2.0-beta.9"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
|
-
"nx": "23.2.0-beta.
|
|
97
|
+
"nx": "23.2.0-beta.9"
|
|
98
98
|
},
|
|
99
99
|
"peerDependencies": {
|
|
100
100
|
"cypress": ">= 13 < 16"
|