New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed React 18 upgrade via nx migrate 13.10 #9734
Comments
Also, for reference, here is my {
"migrations": [
{
"version": "13.10.0-beta.0",
"description": "Update the decorate-angular-cli script to require nx instead of @nrwl/cli",
"cli": "nx",
"implementation": "./src/migrations/update-13-10-0/update-decorate-cli",
"package": "@nrwl/workspace",
"name": "13-10-0-update-decorate-cli"
},
{
"version": "13.10.0-beta.0",
"description": "Update the tasks runner property to import it from the nx package instead of @nrwl/worksapce",
"cli": "nx",
"implementation": "./src/migrations/update-13-10-0/update-tasks-runner",
"package": "@nrwl/workspace",
"name": "13-10-0-update-tasks-runner"
},
{
"cli": "nx",
"version": "13.10.0-beta.0",
"description": "Update to React 18",
"factory": "./src/migrations/update-13-10-0/update-13-10-0",
"package": "@nrwl/react",
"name": "update-react-18-13.10.0"
}
]
} |
When this fix will get released? Any specific version we can lookout for? |
We'll release a patch soon for 13.10.2. Workaround for now is to manually update your packages for |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Current Behavior
When running the 13.10 migration, the following changes are made to my
package.json
:devDependencies
@types/react
to17.0.43
@types/react-dom
to17.0.14
dependencies
react-is
version18.0.0
react-test-renderer
version18.0.0
Note: This migration results in two versions of
react-test-renderer
: v17 as a dev dependency, and v18 as an actual dependency.Expected Behavior
Per the 13.10 release notes,
nx migrate 13.10
should upgrade to React 18.I would expect the following
package.json
changes to be made:devDependencies
@types/react
to18.0.0
@types/react-dom
to18.0.0
react-test-renderer
to18.0.0
dependencies
react-is
version18.0.0
react
to version18.0.0
react-dom
to version18.0.0
Steps to Reproduce
nx migrate latest
npm i
nx migrate --run-migrations
package.json
Environment
The text was updated successfully, but these errors were encountered: