@nx/playwright 24.0.0-rc.1 → 24.0.1

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.
@@ -57,6 +57,7 @@ async function configurationGeneratorInternal(tree, rawOptions) {
57
57
  allowJs: true,
58
58
  outDir: 'out-tsc/playwright',
59
59
  sourceMap: false,
60
+ types: ['node'],
60
61
  },
61
62
  include: [
62
63
  (0, devkit_1.joinPathFragments)(options.directory, '**/*.ts'),
@@ -85,6 +86,7 @@ async function configurationGeneratorInternal(tree, rawOptions) {
85
86
  allowJs: true,
86
87
  outDir: `${offsetFromProjectRoot}dist/out-tsc`,
87
88
  sourceMap: false,
89
+ types: ['node'],
88
90
  },
89
91
  include: [
90
92
  '**/*.ts',
@@ -115,7 +117,6 @@ async function configurationGeneratorInternal(tree, rawOptions) {
115
117
  }
116
118
  else {
117
119
  tsconfig.compilerOptions.outDir = `${offsetFromProjectRoot}dist/out-tsc`;
118
- tsconfig.compilerOptions.module = 'commonjs';
119
120
  }
120
121
  (0, devkit_1.writeJson)(tree, tsconfigPath, tsconfig);
121
122
  }
@@ -153,7 +154,9 @@ async function configurationGeneratorInternal(tree, rawOptions) {
153
154
  tasks.push((0, devkit_1.addDependenciesToPackageJson)(tree, {}, {
154
155
  // required since used in playwright config
155
156
  '@nx/devkit': versions_1.nxVersion,
156
- }));
157
+ }),
158
+ // The e2e tsconfig loads Node types. Keep an installed version.
159
+ (0, devkit_1.addDependenciesToPackageJson)(tree, {}, { '@types/node': internal_2.typesNodeVersion }, undefined, true));
157
160
  }
158
161
  if (!options.skipInstall) {
159
162
  tasks.push(getBrowsersInstallTask());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/playwright",
3
- "version": "24.0.0-rc.1",
3
+ "version": "24.0.1",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "files": [
@@ -75,16 +75,16 @@
75
75
  "supportsOptionalMigrations": true
76
76
  },
77
77
  "dependencies": {
78
- "@nx/devkit": "24.0.0-rc.1",
79
- "@nx/eslint": "24.0.0-rc.1",
80
- "@nx/js": "24.0.0-rc.1",
78
+ "@nx/devkit": "24.0.1",
79
+ "@nx/eslint": "24.0.1",
80
+ "@nx/js": "24.0.1",
81
81
  "https-proxy-agent": "^7.0.6",
82
82
  "minimatch": "10.2.5",
83
83
  "semver": "^7.6.3",
84
84
  "tslib": "^2.3.0"
85
85
  },
86
86
  "devDependencies": {
87
- "nx": "24.0.0-rc.1"
87
+ "nx": "24.0.1"
88
88
  },
89
89
  "peerDependencies": {
90
90
  "@playwright/test": "^1.36.0"