upgrade: 1st pass upgrade to Next.js v16

This commit is contained in:
2026-09-28 20:59:11 +02:00
parent abb766c2ae
commit d57fa83aca
26 changed files with 1101 additions and 2313 deletions
+10 -10
View File
@@ -5,9 +5,9 @@
"scripts": {
"test": "vitest --config vitetest.config.ts",
"dev": "next dev",
"build": "next build",
"build": "next build --webpack",
"start": "next start",
"lint": "next lint",
"lint": "eslint .",
"typeCheck": "tsc -p ./tsconfig.json",
"format": "prettier --check \"**/*.{js,jsx,ts,tsx}\"",
"format:fix": "prettier --write \"**/*.{js,jsx,ts,tsx}\""
@@ -19,7 +19,8 @@
"@headlessui/tailwindcss": "^0.2.1",
"@hookform/resolvers": "^3.9.0",
"@infra-blocks/zod-utils": "^0.4.2",
"@next/bundle-analyzer": "^14.0.4",
"@next/bundle-analyzer": "^16.3.6",
"@serwist/next": "^9.5.12",
"@socialgouv/matomo-next": "^1.10.0",
"@tanstack/react-query": "^5.29.0",
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
@@ -38,10 +39,9 @@
"leaflet.smooth_marker_bouncing": "3.0.3",
"lodash": "^4.17.21",
"mongodb": "^7.0.0",
"next": "^14.2.3",
"next-auth": "^5.0.0-beta.16",
"next-intl": "^3.3.2",
"next-pwa": "^5.6.0",
"next": "^16.3.6",
"next-auth": "^5.0.0-beta.32",
"next-intl": "^4.14.7",
"next-safe-action": "^7.9.3",
"nodemailer": "^6.9.12",
"postcss": "^8.4.47",
@@ -57,6 +57,7 @@
"react-leaflet-draw": "^0.20.4",
"react-select": "^5.7.4",
"react-tooltip": "^5.18.0",
"serwist": "^9.5.12",
"sharp": "^0.33.0",
"superjson": "^2.2.1",
"tailwind-merge": "^2.0.0",
@@ -77,10 +78,9 @@
"@types/react-date-range": "^1.4.9",
"@types/react-dom": "^19.3.0",
"@types/react-input-mask": "^3.0.2",
"eslint": "8",
"eslint-config-next": "^14.0.4",
"eslint": "^9.0.0",
"eslint-config-next": "^16.3.6",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-react-hooks": "^5.0.0-canary-7118f5dd7-20230705",
"prettier": "^3.1.1",
"prettier-plugin-tailwindcss": "^0.6.8"
},