@nx/cypress 21.0.0-beta.7 → 21.0.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.
package/migrations.json
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"generators": {
|
|
3
|
-
"update-cypress-version-13-6-6": {
|
|
4
|
-
"cli": "nx",
|
|
5
|
-
"version": "18.1.0-beta.3",
|
|
6
|
-
"description": "Update to Cypress ^13.6.6 if the workspace is using Cypress v13 to ensure workspaces don't use v13.6.5 which has an issue when verifying Cypress.",
|
|
7
|
-
"implementation": "./src/migrations/update-18-1-0/update-cypress-version-13-6-6"
|
|
8
|
-
},
|
|
9
3
|
"update-19-6-0-update-ci-webserver-for-vite": {
|
|
10
4
|
"cli": "nx",
|
|
11
5
|
"version": "19.6.0-beta.4",
|
|
@@ -50,24 +44,6 @@
|
|
|
50
44
|
}
|
|
51
45
|
},
|
|
52
46
|
"packageJsonUpdates": {
|
|
53
|
-
"17.2.0-beta.2": {
|
|
54
|
-
"version": "17.2.0-beta.2",
|
|
55
|
-
"packages": {
|
|
56
|
-
"vite": {
|
|
57
|
-
"version": "^5.0.0",
|
|
58
|
-
"alwaysAddToPackageJson": false
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"17.3.0": {
|
|
63
|
-
"version": "17.3.0-beta.3",
|
|
64
|
-
"packages": {
|
|
65
|
-
"@types/node": {
|
|
66
|
-
"version": "18.16.9",
|
|
67
|
-
"alwaysAddToPackageJson": false
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
47
|
"19.1.0": {
|
|
72
48
|
"version": "19.1.0-beta.0",
|
|
73
49
|
"requires": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/cypress",
|
|
3
|
-
"version": "21.0.0-beta.
|
|
3
|
+
"version": "21.0.0-beta.9",
|
|
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.0.0-beta.
|
|
40
|
-
"@nx/eslint": "21.0.0-beta.
|
|
41
|
-
"@nx/js": "21.0.0-beta.
|
|
39
|
+
"@nx/devkit": "21.0.0-beta.9",
|
|
40
|
+
"@nx/eslint": "21.0.0-beta.9",
|
|
41
|
+
"@nx/js": "21.0.0-beta.9",
|
|
42
42
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
43
43
|
"detect-port": "^1.5.1",
|
|
44
44
|
"semver": "^7.6.3",
|
|
@@ -133,7 +133,7 @@ ${e.message || e}`);
|
|
|
133
133
|
// so we double check the schema if readTargetOptions didn't return a value for the property
|
|
134
134
|
const projectConfig = context.projectsConfigurations?.projects?.[target.project];
|
|
135
135
|
const targetConfig = projectConfig.targets[target.target];
|
|
136
|
-
const [collection, executor] = targetConfig.executor
|
|
136
|
+
const [collection, executor] = (0, executor_utils_1.parseExecutor)(targetConfig.executor);
|
|
137
137
|
const { schema } = (0, executor_utils_1.getExecutorInformation)(collection, executor, context.root, context.projectsConfigurations.projects);
|
|
138
138
|
// NOTE: schema won't have a default since readTargetOptions would have
|
|
139
139
|
// already set that and this check wouldn't need to be made
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = default_1;
|
|
4
|
-
const devkit_1 = require("@nx/devkit");
|
|
5
|
-
const versions_1 = require("../../utils/versions");
|
|
6
|
-
async function default_1(tree) {
|
|
7
|
-
if ((0, versions_1.getInstalledCypressMajorVersion)(tree) < 13) {
|
|
8
|
-
return;
|
|
9
|
-
}
|
|
10
|
-
(0, devkit_1.addDependenciesToPackageJson)(tree, {}, { cypress: '^13.6.6' });
|
|
11
|
-
await (0, devkit_1.formatFiles)(tree);
|
|
12
|
-
}
|