@nx/cypress 17.1.0-beta.2 → 17.1.0-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/cypress",
3
- "version": "17.1.0-beta.2",
3
+ "version": "17.1.0-beta.4",
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": {
@@ -38,10 +38,10 @@
38
38
  "detect-port": "^1.5.1",
39
39
  "semver": "7.5.3",
40
40
  "tslib": "^2.3.0",
41
- "@nx/devkit": "17.1.0-beta.2",
42
- "@nx/js": "17.1.0-beta.2",
43
- "@nx/eslint": "17.1.0-beta.2",
44
- "@nrwl/cypress": "17.1.0-beta.2"
41
+ "@nx/devkit": "17.1.0-beta.4",
42
+ "@nx/js": "17.1.0-beta.4",
43
+ "@nx/eslint": "17.1.0-beta.4",
44
+ "@nrwl/cypress": "17.1.0-beta.4"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "cypress": ">= 3 < 14"
@@ -125,8 +125,8 @@ If the port is in use, try using a different port value or passing --port='cypre
125
125
  if (!opts.baseUrl &&
126
126
  !output.baseUrl &&
127
127
  !output.info?.baseUrl &&
128
- output.info?.port) {
129
- output.baseUrl = `http://localhost:${output.info.port}`;
128
+ (output.port || output.info?.port)) {
129
+ output.baseUrl = `http://localhost:${output.port ?? output.info?.port}`;
130
130
  }
131
131
  yield {
132
132
  baseUrl: opts.baseUrl || output.baseUrl || output.info?.baseUrl,