File tree Expand file tree Collapse file tree
packages/create-next-app/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -186,8 +186,8 @@ export const installTemplate = async ({
186186 * Default dependencies.
187187 */
188188 dependencies : {
189- react : "^18 " ,
190- "react-dom" : "^18 " ,
189+ react : "19.0.0-beta-4508873393-20240430 " ,
190+ "react-dom" : "19.0.0-beta-4508873393-20240430 " ,
191191 next : version ,
192192 } ,
193193 devDependencies : { } ,
@@ -201,8 +201,8 @@ export const installTemplate = async ({
201201 ...packageJson . devDependencies ,
202202 typescript : "^5" ,
203203 "@types/node" : "^20" ,
204- "@types/react" : "^18 " ,
205- "@types/react-dom" : "^18 " ,
204+ "@types/react" : "npm:types-react@beta " ,
205+ "@types/react-dom" : "npm:types-react-dom@beta " ,
206206 } ;
207207 }
208208
Original file line number Diff line number Diff line change 88 },
99 "dependencies" : {
1010 "next" : " canary" ,
11- "react" : " ^18 " ,
12- "react-dom" : " ^18 "
11+ "react" : " 19.0.0-beta-4508873393-20240430 " ,
12+ "react-dom" : " 19.0.0-beta-4508873393-20240430 "
1313 }
1414}
Original file line number Diff line number Diff line change 88 },
99 "dependencies" : {
1010 "next" : " canary" ,
11- "react" : " ^18 " ,
12- "react-dom" : " ^18 "
11+ "react" : " 19.0.0-beta-4508873393-20240430 " ,
12+ "react-dom" : " 19.0.0-beta-4508873393-20240430 "
1313 },
1414 "devDependencies" : {
15- "@types/react" : " ^18 " ,
16- "@types/react-dom" : " ^18 " ,
15+ "@types/react" : " npm:types-react@beta " ,
16+ "@types/react-dom" : " npm:types-react-dom@beta " ,
1717 "typescript" : " ^5"
1818 }
1919}
You can’t perform that action at this time.
0 commit comments