@nx/playwright 20.2.0-canary.20241128-8eb6159 → 20.2.0-canary.20241130-ec5a5e6

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.2.0-canary.20241128-8eb6159",
3
+ "version": "20.2.0-canary.20241130-ec5a5e6",
4
4
  "type": "commonjs",
5
5
  "homepage": "https://nx.dev",
6
6
  "private": false,
@@ -35,11 +35,11 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@phenomnomnominal/tsquery": "~5.0.1",
38
- "@nx/devkit": "20.2.0-canary.20241128-8eb6159",
39
- "@nx/eslint": "20.2.0-canary.20241128-8eb6159",
40
- "@nx/webpack": "20.2.0-canary.20241128-8eb6159",
41
- "@nx/vite": "20.2.0-canary.20241128-8eb6159",
42
- "@nx/js": "20.2.0-canary.20241128-8eb6159",
38
+ "@nx/devkit": "20.2.0-canary.20241130-ec5a5e6",
39
+ "@nx/eslint": "20.2.0-canary.20241130-ec5a5e6",
40
+ "@nx/webpack": "20.2.0-canary.20241130-ec5a5e6",
41
+ "@nx/vite": "20.2.0-canary.20241130-ec5a5e6",
42
+ "@nx/js": "20.2.0-canary.20241130-ec5a5e6",
43
43
  "tslib": "^2.3.0",
44
44
  "minimatch": "9.0.3"
45
45
  },
@@ -56,11 +56,15 @@ async function configurationGeneratorInternal(tree, rawOptions) {
56
56
  ],
57
57
  };
58
58
  if (isTsSolutionSetup) {
59
+ // skip eslint from typechecking since it extends from root file that is outside rootDir
60
+ if (options.linter === 'eslint') {
61
+ tsconfig.exclude = ['dist', 'eslint.config.js'];
62
+ }
59
63
  tsconfig.compilerOptions.outDir = 'dist';
60
64
  tsconfig.compilerOptions.tsBuildInfoFile = 'dist/tsconfig.tsbuildinfo';
61
65
  if (!options.rootProject) {
62
- // add the project tsconfog to the workspace root tsconfig.json references
63
66
  (0, devkit_1.updateJson)(tree, 'tsconfig.json', (json) => {
67
+ // add the project tsconfig to the workspace root tsconfig.json references
64
68
  json.references ??= [];
65
69
  json.references.push({ path: './' + projectConfig.root });
66
70
  return json;
@@ -81,6 +85,9 @@ async function configurationGeneratorInternal(tree, rawOptions) {
81
85
  name: importPath,
82
86
  version: '0.0.1',
83
87
  private: true,
88
+ nx: {
89
+ name: options.project,
90
+ },
84
91
  };
85
92
  (0, devkit_1.writeJson)(tree, packageJsonPath, packageJson);
86
93
  }