- Next.js 15.5.12 → 16.1.6 avec Turbopack par défaut - ESLint 8 → 9 + migration flat config (eslint.config.mjs) - eslint-config-next 15 → 16, eslint-config-prettier 9 → 10 - @types/node 18 → 22 (aligné avec nodejs_22 du flake.nix) - middleware.ts → proxy.ts (nouvelle convention Next.js 16) - global-error.tsx : import dynamique de Sentry (fix prerendering Turbopack) - CSS : @import Google Fonts déplacé en tête de fichier (requis par Turbopack) - .prettierignore : ajout next-env.d.ts et .clever.json (fichiers auto-générés)
35 lines
711 B
JSON
35 lines
711 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es5",
|
|
"lib": ["dom", "dom.iterable", "es6"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "react-jsx",
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
},
|
|
"forceConsistentCasingInFileNames": true
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts",
|
|
".next/dev/types/**/*.ts"
|
|
],
|
|
"exclude": ["node_modules"]
|
|
}
|