@nx/cypress 16.6.0-beta.1 → 16.6.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": "16.6.0-beta.
|
|
3
|
+
"version": "16.6.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": {
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"migrations": "./migrations.json"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@nrwl/cypress": "16.6.0-beta.
|
|
38
|
-
"@nx/devkit": "16.6.0-beta.
|
|
39
|
-
"@nx/js": "16.6.0-beta.
|
|
40
|
-
"@nx/linter": "16.6.0-beta.
|
|
37
|
+
"@nrwl/cypress": "16.6.0-beta.3",
|
|
38
|
+
"@nx/devkit": "16.6.0-beta.3",
|
|
39
|
+
"@nx/js": "16.6.0-beta.3",
|
|
40
|
+
"@nx/linter": "16.6.0-beta.3",
|
|
41
41
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
42
42
|
"detect-port": "^1.5.1",
|
|
43
43
|
"dotenv": "~10.0.0",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
57
|
"types": "./index.d.ts",
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "cd8c61d7a3b8ab9bc7bab068f5ca49bbf14abbf5"
|
|
59
59
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
|
+
const executor_utils_1 = require("nx/src/command-line/run/executor-utils");
|
|
5
6
|
require("dotenv/config");
|
|
6
7
|
const fs_1 = require("fs");
|
|
7
8
|
const path_1 = require("path");
|
|
@@ -324,9 +325,8 @@ ${e.message || e}`);
|
|
|
324
325
|
// so we double check the schema if readTargetOptions didn't return a value for the property
|
|
325
326
|
const projectConfig = (_b = (_a = context.projectsConfigurations) === null || _a === void 0 ? void 0 : _a.projects) === null || _b === void 0 ? void 0 : _b[target.project];
|
|
326
327
|
const targetConfig = projectConfig.targets[target.target];
|
|
327
|
-
const workspace = new devkit_1.Workspaces(context.root);
|
|
328
328
|
const [collection, executor] = targetConfig.executor.split(':');
|
|
329
|
-
const { schema } =
|
|
329
|
+
const { schema } = (0, executor_utils_1.getExecutorInformation)(collection, executor, context.root);
|
|
330
330
|
// NOTE: schema won't have a default since readTargetOptions would have
|
|
331
331
|
// already set that and this check wouldn't need to be made
|
|
332
332
|
targetHasOpt = Object.keys(schema.properties).includes(property);
|