chore: upgrade Next.js to 16, React to 19

- next 15.5.7 -> 16.2.10 (latest stable)
- react/react-dom 18.3.1 -> 19.2.7
- @next/third-parties -> 16.2.10
- remove React 18 pin from overrides (MUI 5.18 / x-7.29 support React 19)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
hamed
2026-07-06 09:48:50 +03:30
co-authored by Claude Fable 5
parent a9fcfea12a
commit 29e938afcb
2 changed files with 157 additions and 42 deletions
+4 -8
View File
@@ -26,7 +26,7 @@
"@mui/styled-engine": "^5.18.0",
"@mui/x-charts": "^7.29.1",
"@mui/x-date-pickers": "^7.29.4",
"@next/third-parties": "^15.5.7",
"@next/third-parties": "^16.2.10",
"aos": "^2.3.4",
"axios": "^1.13.2",
"date-fns": "^4.1.0",
@@ -40,14 +40,14 @@
"js-cookie": "^3.0.5",
"jspdf": "^3.0.4",
"moment-jalaali": "^0.10.4",
"next": "^15.5.7",
"next": "^16.2.10",
"next-themes": "^0.4.6",
"npm": "^11.7.0",
"postcss": "^8.5.6",
"qrcode": "^1.5.4",
"qrcode.react": "^4.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"react-easy-crop": "^5.5.6",
"react-google-map-picker": "^1.2.3",
"react-images-uploading": "^3.1.7",
@@ -70,9 +70,5 @@
"jsdom": "^29.1.1",
"prettier": "^3.7.4",
"vitest": "^2.1.9"
},
"overrides": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
}