Skip to content

Commit

Permalink
update create-next-app React versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ztanner committed May 7, 2024
1 parent bf89bee commit fd4021e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions packages/create-next-app/templates/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ export const installTemplate = async ({
* Default dependencies.
*/
dependencies: {
react: "^18",
"react-dom": "^18",
react: "19.0.0-beta-4508873393-20240430",
"react-dom": "19.0.0-beta-4508873393-20240430",
next: version,
},
devDependencies: {},
Expand All @@ -201,8 +201,8 @@ export const installTemplate = async ({
...packageJson.devDependencies,
typescript: "^5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react": "npm:types-react@beta",
"@types/react-dom": "npm:types-react-dom@beta",
};
}

Expand Down
4 changes: 2 additions & 2 deletions test/e2e/next-test/first-time-setup-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"next": "canary",
"react": "^18",
"react-dom": "^18"
"react": "19.0.0-beta-4508873393-20240430",
"react-dom": "19.0.0-beta-4508873393-20240430"
}
}

0 comments on commit fd4021e

Please sign in to comment.