@nrwl/cypress 14.7.3 → 14.7.4

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/CHANGELOG.md CHANGED
@@ -3,6 +3,6 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [14.7.3](https://github.com/nrwl/nx/compare/14.7.2...14.7.3) (2022-09-09)
6
+ ## [14.7.4](https://github.com/nrwl/nx/compare/14.7.3...14.7.4) (2022-09-12)
7
7
 
8
8
  **Note:** Version bump only for package @nrwl/cypress
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrwl/cypress",
3
- "version": "14.7.3",
3
+ "version": "14.7.4",
4
4
  "description": "The Nx Plugin for Cypress contains executors and generators allowing your workspace to use the powerful Cypress integration testing capabilities.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,9 +36,9 @@
36
36
  "@babel/core": "^7.0.1",
37
37
  "@babel/preset-env": "^7.0.0",
38
38
  "@cypress/webpack-preprocessor": "^5.12.0",
39
- "@nrwl/devkit": "14.7.3",
40
- "@nrwl/linter": "14.7.3",
41
- "@nrwl/workspace": "14.7.3",
39
+ "@nrwl/devkit": "14.7.4",
40
+ "@nrwl/linter": "14.7.4",
41
+ "@nrwl/workspace": "14.7.4",
42
42
  "@phenomnomnominal/tsquery": "4.1.1",
43
43
  "babel-loader": "^8.0.2",
44
44
  "chalk": "4.1.0",
@@ -61,5 +61,5 @@
61
61
  "optional": true
62
62
  }
63
63
  },
64
- "gitHead": "ab51be42b8bd28e13d27cfd47d036ccdbbb50ea1"
64
+ "gitHead": "8a809c0164feea7808ca25a52ae65e7143128a98"
65
65
  }
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.updateCypressVersionIf10 = void 0;
4
4
  const devkit_1 = require("@nrwl/devkit");
5
- const workspace_1 = require("@nrwl/workspace");
5
+ // don't import from root level to prevent issue where angular isn't installed.
6
+ const version_utils_1 = require("@nrwl/workspace/src/utilities/version-utils");
6
7
  const semver_1 = require("semver");
7
8
  function updateCypressVersionIf10(tree) {
8
9
  var _a;
@@ -10,7 +11,7 @@ function updateCypressVersionIf10(tree) {
10
11
  if (!installedVersion) {
11
12
  return;
12
13
  }
13
- const normalizedInstalledCypressVersion = (0, workspace_1.checkAndCleanWithSemver)('cypress', installedVersion);
14
+ const normalizedInstalledCypressVersion = (0, version_utils_1.checkAndCleanWithSemver)('cypress', installedVersion);
14
15
  // not using v10
15
16
  if ((0, semver_1.lt)(normalizedInstalledCypressVersion, '10.0.0') ||
16
17
  (0, semver_1.gte)(normalizedInstalledCypressVersion, '11.0.0')) {
@@ -1 +1 @@
1
- {"version":3,"file":"update-cypress-version-if-10.js","sourceRoot":"","sources":["../../../../../../packages/cypress/src/migrations/update-14-7-0/update-cypress-version-if-10.ts"],"names":[],"mappings":";;;AAAA,yCAMsB;AACtB,+CAA0D;AAC1D,mCAAiC;AAEjC,SAAgB,wBAAwB,CAAC,IAAU;;IACjD,MAAM,gBAAgB,GAAG,MAAA,IAAA,iBAAQ,EAAC,IAAI,EAAE,cAAc,CAAC,CAAC,eAAe,0CACrE,SAAS,CACV,CAAC;IAEF,IAAI,CAAC,gBAAgB,EAAE;QACrB,OAAO;KACR;IACD,MAAM,iCAAiC,GAAG,IAAA,mCAAuB,EAC/D,SAAS,EACT,gBAAgB,CACjB,CAAC;IAEF,gBAAgB;IAChB,IACE,IAAA,WAAE,EAAC,iCAAiC,EAAE,QAAQ,CAAC;QAC/C,IAAA,YAAG,EAAC,iCAAiC,EAAE,QAAQ,CAAC,EAChD;QACA,OAAO;KACR;IAED,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAE3C,IAAI,IAAA,WAAE,EAAC,iCAAiC,EAAE,yBAAyB,CAAC,EAAE;QACpE,IAAA,mBAAU,EAAC,IAAI,EAAE,cAAc,EAAE,CAAC,IAAI,EAAE,EAAE;YACxC,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC,GAAG,IAAI,yBAAyB,EAAE,CAAC;YAClE,OAAO,IAAI,CAAC;QACd,CAAC,CAAC,CAAC;QACH,OAAO,GAAG,EAAE;YACV,IAAA,4BAAmB,EAAC,IAAI,CAAC,CAAC;QAC5B,CAAC,CAAC;KACH;AACH,CAAC;AAhCD,4DAgCC;AAED,kBAAe,wBAAwB,CAAC"}
1
+ {"version":3,"file":"update-cypress-version-if-10.js","sourceRoot":"","sources":["../../../../../../packages/cypress/src/migrations/update-14-7-0/update-cypress-version-if-10.ts"],"names":[],"mappings":";;;AAAA,yCAMsB;AACtB,+EAA+E;AAC/E,+EAAsF;AACtF,mCAAiC;AAEjC,SAAgB,wBAAwB,CAAC,IAAU;;IACjD,MAAM,gBAAgB,GAAG,MAAA,IAAA,iBAAQ,EAAC,IAAI,EAAE,cAAc,CAAC,CAAC,eAAe,0CACrE,SAAS,CACV,CAAC;IAEF,IAAI,CAAC,gBAAgB,EAAE;QACrB,OAAO;KACR;IACD,MAAM,iCAAiC,GAAG,IAAA,uCAAuB,EAC/D,SAAS,EACT,gBAAgB,CACjB,CAAC;IAEF,gBAAgB;IAChB,IACE,IAAA,WAAE,EAAC,iCAAiC,EAAE,QAAQ,CAAC;QAC/C,IAAA,YAAG,EAAC,iCAAiC,EAAE,QAAQ,CAAC,EAChD;QACA,OAAO;KACR;IAED,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAE3C,IAAI,IAAA,WAAE,EAAC,iCAAiC,EAAE,yBAAyB,CAAC,EAAE;QACpE,IAAA,mBAAU,EAAC,IAAI,EAAE,cAAc,EAAE,CAAC,IAAI,EAAE,EAAE;YACxC,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC,GAAG,IAAI,yBAAyB,EAAE,CAAC;YAClE,OAAO,IAAI,CAAC;QACd,CAAC,CAAC,CAAC;QACH,OAAO,GAAG,EAAE;YACV,IAAA,4BAAmB,EAAC,IAAI,CAAC,CAAC;QAC5B,CAAC,CAAC;KACH;AACH,CAAC;AAhCD,4DAgCC;AAED,kBAAe,wBAAwB,CAAC"}