Skip to content

Commit bf0e4a2

Browse files
committedOct 31, 2024
feat: upgrade nextjs to 15
1 parent bd44746 commit bf0e4a2

File tree

4 files changed

+452
-196
lines changed

4 files changed

+452
-196
lines changed
 

‎package.json

+14-8
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.1.0",
55
"private": true,
66
"scripts": {
7-
"dev": "next dev",
7+
"dev": "next dev --turbopack",
88
"build": "next build",
99
"start": "next start",
1010
"lint": "next lint",
@@ -13,26 +13,32 @@
1313
"dependencies": {
1414
"@mdx-js/loader": "^3.1.0",
1515
"@mdx-js/react": "^3.1.0",
16-
"@next/mdx": "14.2.16",
16+
"@next/mdx": "15.0.2",
1717
"@types/mdx": "^2.0.13",
1818
"geist": "^1.3.1",
19-
"next": "14.2.16",
19+
"next": "15.0.2",
2020
"next-mdx-remote": "^5.0.0",
2121
"next-themes": "^0.3.0",
2222
"nextjs-toploader": "^3.7.15",
23-
"react": "18.3.1",
24-
"react-dom": "18.3.1",
23+
"react": "19.0.0-rc-02c0e824-20241028",
24+
"react-dom": "19.0.0-rc-02c0e824-20241028",
2525
"sugar-high": "^0.7.1"
2626
},
2727
"devDependencies": {
2828
"@tailwindcss/typography": "^0.5.15",
2929
"@types/node": "^20",
30-
"@types/react": "18.3.12",
31-
"@types/react-dom": "18.3.1",
30+
"@types/react": "npm:types-react@19.0.0-rc.1",
31+
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
3232
"eslint": "^8",
33-
"eslint-config-next": "14.2.16",
33+
"eslint-config-next": "15.0.2",
3434
"postcss": "^8",
3535
"tailwindcss": "^3.4.1",
3636
"typescript": "^5"
37+
},
38+
"pnpm": {
39+
"overrides": {
40+
"@types/react": "npm:types-react@19.0.0-rc.1",
41+
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
42+
}
3743
}
3844
}

0 commit comments

Comments
 (0)