@nx/cypress 16.6.0-beta.3 → 16.6.0-beta.5

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",
3
+ "version": "16.6.0-beta.5",
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,14 +34,15 @@
34
34
  "migrations": "./migrations.json"
35
35
  },
36
36
  "dependencies": {
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",
37
+ "@nrwl/cypress": "16.6.0-beta.5",
38
+ "@nx/devkit": "16.6.0-beta.5",
39
+ "@nx/js": "16.6.0-beta.5",
40
+ "@nx/linter": "16.6.0-beta.5",
41
41
  "@phenomnomnominal/tsquery": "~5.0.1",
42
42
  "detect-port": "^1.5.1",
43
43
  "dotenv": "~10.0.0",
44
- "semver": "7.5.3"
44
+ "semver": "7.5.3",
45
+ "tslib": "^2.3.0"
45
46
  },
46
47
  "peerDependencies": {
47
48
  "cypress": ">= 3 < 13"
@@ -55,5 +56,5 @@
55
56
  "access": "public"
56
57
  },
57
58
  "types": "./index.d.ts",
58
- "gitHead": "cd8c61d7a3b8ab9bc7bab068f5ca49bbf14abbf5"
59
+ "gitHead": "aab868aa0c30949832fe2c4b9cb109c204442e39"
59
60
  }
@@ -6,7 +6,7 @@ const path_1 = require("path");
6
6
  const fs_1 = require("fs");
7
7
  const find_project_for_path_1 = require("nx/src/project-graph/utils/find-project-for-path");
8
8
  const project_graph_1 = require("nx/src/project-graph/project-graph");
9
- const file_utils_1 = require("nx/src/project-graph/file-utils");
9
+ const configuration_1 = require("nx/src/config/configuration");
10
10
  exports.CY_FILE_MATCHER = new RegExp(/\.cy\.[tj]sx?$/);
11
11
  /**
12
12
  * return a path to a temp css file
@@ -67,7 +67,7 @@ function getProjectConfigByPath(graph, configPath) {
67
67
  exports.getProjectConfigByPath = getProjectConfigByPath;
68
68
  function createExecutorContext(graph, targets, projectName, targetName, configurationName) {
69
69
  const projectsConfigurations = (0, project_graph_1.readProjectsConfigurationFromProjectGraph)(graph);
70
- const nxJsonConfiguration = (0, file_utils_1.readNxJson)();
70
+ const nxJsonConfiguration = (0, configuration_1.readNxJson)();
71
71
  return {
72
72
  cwd: process.cwd(),
73
73
  projectGraph: graph,
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.findBuildConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const devkit_1 = require("@nx/devkit");
6
- const file_utils_1 = require("nx/src/project-graph/file-utils");
6
+ const configuration_1 = require("nx/src/config/configuration");
7
7
  const project_graph_1 = require("nx/src/project-graph/project-graph");
8
8
  function findBuildConfig(tree, options) {
9
9
  return tslib_1.__awaiter(this, void 0, void 0, function* () {
@@ -99,7 +99,7 @@ function findTargetOptionsInProject(tree, graph, projectName, options) {
99
99
  }
100
100
  }
101
101
  function createExecutorContext(graph, targets, projectName, targetName, configurationName) {
102
- const nxJsonConfiguration = (0, file_utils_1.readNxJson)();
102
+ const nxJsonConfiguration = (0, configuration_1.readNxJson)();
103
103
  const projectsConfigurations = (0, project_graph_1.readProjectsConfigurationFromProjectGraph)(graph);
104
104
  return {
105
105
  cwd: process.cwd(),