@nx/playwright 20.5.0-rc.3 → 20.5.0-rc.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/playwright",
3
- "version": "20.5.0-rc.3",
3
+ "version": "20.5.0-rc.4",
4
4
  "type": "commonjs",
5
5
  "homepage": "https://nx.dev",
6
6
  "private": false,
@@ -35,9 +35,9 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@phenomnomnominal/tsquery": "~5.0.1",
38
- "@nx/devkit": "20.5.0-rc.3",
39
- "@nx/eslint": "20.5.0-rc.3",
40
- "@nx/js": "20.5.0-rc.3",
38
+ "@nx/devkit": "20.5.0-rc.4",
39
+ "@nx/eslint": "20.5.0-rc.4",
40
+ "@nx/js": "20.5.0-rc.4",
41
41
  "tslib": "^2.3.0",
42
42
  "minimatch": "9.0.3"
43
43
  },
@@ -115,10 +115,10 @@ async function configurationGeneratorInternal(tree, rawOptions) {
115
115
  name: importPath,
116
116
  version: '0.0.1',
117
117
  private: true,
118
- nx: {
119
- name: options.project,
120
- },
121
118
  };
119
+ if (options.project !== importPath) {
120
+ packageJson.nx = { name: options.project };
121
+ }
122
122
  (0, devkit_1.writeJson)(tree, packageJsonPath, packageJson);
123
123
  }
124
124
  ignoreTestOutput(tree);