@nx/cypress 20.5.0-rc.3 → 20.5.0

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": "20.5.0-rc.3",
3
+ "version": "20.5.0",
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": "20.5.0-rc.3",
40
- "@nx/eslint": "20.5.0-rc.3",
41
- "@nx/js": "20.5.0-rc.3",
39
+ "@nx/devkit": "20.5.0",
40
+ "@nx/eslint": "20.5.0",
41
+ "@nx/js": "20.5.0",
42
42
  "@phenomnomnominal/tsquery": "~5.0.1",
43
43
  "detect-port": "^1.5.1",
44
44
  "tslib": "^2.3.0"
@@ -299,10 +299,10 @@ function createPackageJson(tree, options) {
299
299
  name: importPath,
300
300
  version: '0.0.1',
301
301
  private: true,
302
- nx: {
303
- name: options.project,
304
- },
305
302
  };
303
+ if (options.project !== importPath) {
304
+ packageJson.nx = { name: options.project };
305
+ }
306
306
  (0, devkit_1.writeJson)(tree, packageJsonPath, packageJson);
307
307
  }
308
308
  function ignoreTestOutput(tree) {