@nx/react 23.1.0-beta.1 → 23.1.0-canary.20260622-a793455

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.
@@ -11,6 +11,13 @@ npx types-react-codemod@latest preset-19 ./PROJECT_PATH
11
11
 
12
12
  First handles API changes, second handles `@types/react` 19 types. Review the diffs.
13
13
 
14
+ `preset-19` is interactive (prompts per codemod). For a non-interactive run, the two that clear the most common type errors are:
15
+
16
+ ```bash
17
+ npx types-react-codemod@latest useRef-required-initial ./PROJECT_PATH # useRef() -> useRef(initialValue); 19 dropped the zero-arg overload
18
+ npx types-react-codemod@latest refobject-defaults ./PROJECT_PATH # RefObject<T> -> RefObject<T | null>; covers both ref sites and helper param signatures
19
+ ```
20
+
14
21
  ## Step 2: Removed APIs (fix by hand if codemod misses)
15
22
 
16
23
  - `ReactDOM.render` / `hydrate` -> `createRoot` / `hydrateRoot` from `react-dom/client`. Note `hydrateRoot(container, element)` swaps the arg order vs `hydrate`.
package/migrations.json CHANGED
@@ -214,6 +214,9 @@
214
214
  },
215
215
  "23.1.0": {
216
216
  "version": "23.1.0-beta.0",
217
+ "incompatibleWith": {
218
+ "@remix-run/react": "*"
219
+ },
217
220
  "requires": {
218
221
  "react": ">=18.0.0 <19.0.0"
219
222
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/react",
3
- "version": "23.1.0-beta.1",
3
+ "version": "23.1.0-canary.20260622-a793455",
4
4
  "private": false,
5
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": {
@@ -108,25 +108,25 @@
108
108
  "express": "^4.21.2",
109
109
  "http-proxy-middleware": "^3.0.5",
110
110
  "semver": "^7.6.3",
111
- "@nx/devkit": "23.1.0-beta.1",
112
- "@nx/js": "23.1.0-beta.1",
113
- "@nx/eslint": "23.1.0-beta.1",
114
- "@nx/web": "23.1.0-beta.1",
115
- "@nx/module-federation": "23.1.0-beta.1",
116
- "@nx/rollup": "23.1.0-beta.1"
111
+ "@nx/devkit": "23.1.0-canary.20260622-a793455",
112
+ "@nx/js": "23.1.0-canary.20260622-a793455",
113
+ "@nx/eslint": "23.1.0-canary.20260622-a793455",
114
+ "@nx/web": "23.1.0-canary.20260622-a793455",
115
+ "@nx/module-federation": "23.1.0-canary.20260622-a793455",
116
+ "@nx/rollup": "23.1.0-canary.20260622-a793455"
117
117
  },
118
118
  "devDependencies": {
119
- "@nx/cypress": "23.1.0-beta.1",
120
- "@nx/playwright": "23.1.0-beta.1",
121
- "@nx/rsbuild": "23.1.0-beta.1",
122
- "@nx/vite": "23.1.0-beta.1",
123
- "@nx/vitest": "23.1.0-beta.1",
124
- "@nx/webpack": "23.1.0-beta.1",
125
- "@nx/storybook": "23.1.0-beta.1",
126
- "nx": "23.1.0-beta.1"
119
+ "@nx/cypress": "23.1.0-canary.20260622-a793455",
120
+ "@nx/playwright": "23.1.0-canary.20260622-a793455",
121
+ "@nx/rsbuild": "23.1.0-canary.20260622-a793455",
122
+ "@nx/vite": "23.1.0-canary.20260622-a793455",
123
+ "@nx/vitest": "23.1.0-canary.20260622-a793455",
124
+ "@nx/webpack": "23.1.0-canary.20260622-a793455",
125
+ "@nx/storybook": "23.1.0-canary.20260622-a793455",
126
+ "nx": "23.1.0-canary.20260622-a793455"
127
127
  },
128
128
  "optionalDependencies": {
129
- "@nx/vite": "23.1.0-beta.1"
129
+ "@nx/vite": "23.1.0-canary.20260622-a793455"
130
130
  },
131
131
  "publishConfig": {
132
132
  "access": "public"