Skip to content

Commit d627984

Browse files
chore(deps): next.js 15 (#1108)
* chore: next.js 15 * refactor: move to next.config.ts
1 parent ae93e85 commit d627984

File tree

4 files changed

+558
-412
lines changed

4 files changed

+558
-412
lines changed

next.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

next.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import type { NextConfig } from 'next';
2+
3+
const nextConfig: NextConfig = {
4+
reactStrictMode: true,
5+
};
6+
7+
export default nextConfig;

package.json

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"typescript"
1212
],
1313
"scripts": {
14-
"dev": "next",
14+
"dev": "next dev --turbopack",
1515
"build": "next build",
1616
"start": "next start",
1717
"type-check": "tsc --noEmit",
@@ -26,21 +26,21 @@
2626
]
2727
},
2828
"dependencies": {
29-
"next": "14.2.15",
30-
"react": "18.3.1",
31-
"react-dom": "18.3.1"
29+
"next": "15.0.1",
30+
"react": "19.0.0-rc-69d4b800-20241021",
31+
"react-dom": "19.0.0-rc-69d4b800-20241021"
3232
},
3333
"devDependencies": {
3434
"@commitlint/cli": "19.5.0",
3535
"@commitlint/config-conventional": "19.5.0",
3636
"@ianvs/prettier-plugin-sort-imports": "4.3.1",
3737
"@types/node": "20.17.0",
38-
"@types/react": "18.3.11",
39-
"@types/react-dom": "18.3.1",
38+
"@types/react": "npm:[email protected]",
39+
"@types/react-dom": "npm:[email protected].1",
4040
"@typescript-eslint/eslint-plugin": "8.11.0",
4141
"@typescript-eslint/parser": "8.11.0",
4242
"eslint": "8.57.1",
43-
"eslint-config-next": "14.2.15",
43+
"eslint-config-next": "15.0.1",
4444
"eslint-config-prettier": "9.1.0",
4545
"eslint-import-resolver-typescript": "3.6.3",
4646
"eslint-plugin-import": "2.31.0",
@@ -50,5 +50,11 @@
5050
"prettier": "3.3.3",
5151
"prettier-plugin-sort-json": "4.0.0",
5252
"typescript": "5.6.3"
53+
},
54+
"pnpm": {
55+
"overrides": {
56+
"@types/react": "npm:[email protected]",
57+
"@types/react-dom": "npm:[email protected]"
58+
}
5359
}
5460
}

0 commit comments

Comments
 (0)