@nx/react 19.0.0-beta.2 → 19.0.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,8 +1,8 @@
1
1
  {
2
2
  "name": "@nx/react",
3
- "version": "19.0.0-beta.2",
3
+ "version": "19.0.0-beta.4",
4
4
  "private": false,
5
- "description": "The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Cypress, and Storybook.\n\n- Generators for applications, libraries, components, hooks, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.",
5
+ "description": "The React plugin for Nx contains executors and generators for managing React applications and libraries within an Nx workspace. It provides:\n\n\n- Integration with libraries such as Jest, Vitest, Playwright, Cypress, and Storybook.\n\n- Generators for applications, libraries, components, hooks, and more.\n\n- Library build support for publishing packages to npm or other registries.\n\n- Utilities for automatic workspace refactoring.",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/nrwl/nx.git",
@@ -37,11 +37,11 @@
37
37
  "file-loader": "^6.2.0",
38
38
  "minimatch": "9.0.3",
39
39
  "tslib": "^2.3.0",
40
- "@nx/devkit": "19.0.0-beta.2",
41
- "@nx/js": "19.0.0-beta.2",
42
- "@nx/eslint": "19.0.0-beta.2",
43
- "@nx/web": "19.0.0-beta.2",
44
- "@nrwl/react": "19.0.0-beta.2"
40
+ "@nx/devkit": "19.0.0-beta.4",
41
+ "@nx/js": "19.0.0-beta.4",
42
+ "@nx/eslint": "19.0.0-beta.4",
43
+ "@nx/web": "19.0.0-beta.4",
44
+ "@nrwl/react": "19.0.0-beta.4"
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public"
@@ -93,7 +93,7 @@ async function normalizeOptions(host, options, callingGenerator = '@nx/react:app
93
93
  normalized.compiler = normalized.compiler ?? 'babel';
94
94
  normalized.bundler = normalized.bundler ?? 'webpack';
95
95
  normalized.unitTestRunner = normalized.unitTestRunner ?? 'jest';
96
- normalized.e2eTestRunner = normalized.e2eTestRunner ?? 'cypress';
96
+ normalized.e2eTestRunner = normalized.e2eTestRunner ?? 'playwright';
97
97
  normalized.inSourceTests = normalized.minimal || normalized.inSourceTests;
98
98
  normalized.devServerPort ??= (0, find_free_port_1.findFreePort)(host);
99
99
  normalized.minimal = normalized.minimal ?? false;
@@ -122,10 +122,10 @@
122
122
  },
123
123
  "e2eTestRunner": {
124
124
  "type": "string",
125
- "enum": ["cypress", "playwright", "none"],
125
+ "enum": ["playwright", "cypress", "none"],
126
126
  "description": "Test runner to use for end to end (E2E) tests.",
127
127
  "x-prompt": "Which E2E test runner would you like to use?",
128
- "default": "cypress"
128
+ "default": "playwright"
129
129
  },
130
130
  "tags": {
131
131
  "type": "string",
@@ -103,10 +103,10 @@
103
103
  },
104
104
  "e2eTestRunner": {
105
105
  "type": "string",
106
- "enum": ["cypress", "playwright", "none"],
106
+ "enum": ["playwright", "cypress", "none"],
107
107
  "description": "Test runner to use for end to end (E2E) tests.",
108
108
  "x-prompt": "Which E2E test runner would you like to use?",
109
- "default": "cypress"
109
+ "default": "playwright"
110
110
  },
111
111
  "tags": {
112
112
  "type": "string",
@@ -109,10 +109,10 @@
109
109
  },
110
110
  "e2eTestRunner": {
111
111
  "type": "string",
112
- "enum": ["cypress", "playwright", "none"],
112
+ "enum": ["playwright", "cypress", "none"],
113
113
  "description": "Test runner to use for end to end (E2E) tests.",
114
114
  "x-prompt": "Which E2E test runner would you like to use?",
115
- "default": "cypress"
115
+ "default": "playwright"
116
116
  },
117
117
  "tags": {
118
118
  "type": "string",