Update to latest nextjs 16.0.0
This commit is contained in:
		@ -1,3 +1,5 @@
 | 
			
		||||
import nextCoreWebVitals from "eslint-config-next/core-web-vitals";
 | 
			
		||||
import nextTypescript from "eslint-config-next/typescript";
 | 
			
		||||
import { FlatCompat } from "@eslint/eslintrc";
 | 
			
		||||
import { dirname } from "path";
 | 
			
		||||
import { fileURLToPath } from "url";
 | 
			
		||||
@ -9,8 +11,8 @@ const compat = new FlatCompat({
 | 
			
		||||
  baseDirectory: __dirname,
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
const eslintConfig = [
 | 
			
		||||
  ...compat.extends("next/core-web-vitals", "next/typescript", "prettier"),
 | 
			
		||||
];
 | 
			
		||||
const eslintConfig = [...nextCoreWebVitals, ...nextTypescript, ...compat.extends("prettier"), {
 | 
			
		||||
  ignores: ["node_modules/**", ".next/**", "out/**", "build/**", "next-env.d.ts"]
 | 
			
		||||
}];
 | 
			
		||||
 | 
			
		||||
export default eslintConfig;
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1107
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1107
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										19
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								package.json
									
									
									
									
									
								
							@ -6,7 +6,7 @@
 | 
			
		||||
    "dev": "next dev --turbopack",
 | 
			
		||||
    "build": "next build",
 | 
			
		||||
    "start": "next start",
 | 
			
		||||
    "lint": "next lint"
 | 
			
		||||
    "lint": "eslint ."
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "@aws-sdk/client-s3": "^3.844.0",
 | 
			
		||||
@ -25,10 +25,10 @@
 | 
			
		||||
    "class-variance-authority": "^0.7.1",
 | 
			
		||||
    "clsx": "^2.1.1",
 | 
			
		||||
    "lucide-react": "^0.525.0",
 | 
			
		||||
    "next": "15.3.5",
 | 
			
		||||
    "next": "16.0.0",
 | 
			
		||||
    "next-themes": "^0.4.6",
 | 
			
		||||
    "react": "^19.0.0",
 | 
			
		||||
    "react-dom": "^19.0.0",
 | 
			
		||||
    "react": "19.2.0",
 | 
			
		||||
    "react-dom": "19.2.0",
 | 
			
		||||
    "react-hook-form": "^7.60.0",
 | 
			
		||||
    "react-markdown": "^10.1.0",
 | 
			
		||||
    "remark-gfm": "^4.0.1",
 | 
			
		||||
@ -37,19 +37,22 @@
 | 
			
		||||
    "zod": "^3.25.74"
 | 
			
		||||
  },
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "@eslint/eslintrc": "^3",
 | 
			
		||||
    "@tailwindcss/postcss": "^4",
 | 
			
		||||
    "@tailwindcss/typography": "^0.5.16",
 | 
			
		||||
    "@types/node": "^20",
 | 
			
		||||
    "@types/react": "^19",
 | 
			
		||||
    "@types/react-dom": "^19",
 | 
			
		||||
    "@types/react": "19.2.2",
 | 
			
		||||
    "@types/react-dom": "19.2.2",
 | 
			
		||||
    "eslint": "^9",
 | 
			
		||||
    "eslint-config-next": "15.3.5",
 | 
			
		||||
    "eslint-config-next": "16.0.0",
 | 
			
		||||
    "eslint-config-prettier": "^10.1.5",
 | 
			
		||||
    "eslint-plugin-prettier": "^5.5.1",
 | 
			
		||||
    "prisma": "^6.11.1",
 | 
			
		||||
    "tailwindcss": "^4",
 | 
			
		||||
    "tw-animate-css": "^1.3.5",
 | 
			
		||||
    "typescript": "^5"
 | 
			
		||||
  },
 | 
			
		||||
  "overrides": {
 | 
			
		||||
    "@types/react": "19.2.2",
 | 
			
		||||
    "@types/react-dom": "19.2.2"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,11 @@
 | 
			
		||||
{
 | 
			
		||||
  "compilerOptions": {
 | 
			
		||||
    "target": "ES2017",
 | 
			
		||||
    "lib": ["dom", "dom.iterable", "esnext"],
 | 
			
		||||
    "lib": [
 | 
			
		||||
      "dom",
 | 
			
		||||
      "dom.iterable",
 | 
			
		||||
      "esnext"
 | 
			
		||||
    ],
 | 
			
		||||
    "allowJs": true,
 | 
			
		||||
    "skipLibCheck": true,
 | 
			
		||||
    "strict": true,
 | 
			
		||||
@ -11,7 +15,7 @@
 | 
			
		||||
    "moduleResolution": "bundler",
 | 
			
		||||
    "resolveJsonModule": true,
 | 
			
		||||
    "isolatedModules": true,
 | 
			
		||||
    "jsx": "preserve",
 | 
			
		||||
    "jsx": "react-jsx",
 | 
			
		||||
    "incremental": true,
 | 
			
		||||
    "plugins": [
 | 
			
		||||
      {
 | 
			
		||||
@ -19,9 +23,19 @@
 | 
			
		||||
      }
 | 
			
		||||
    ],
 | 
			
		||||
    "paths": {
 | 
			
		||||
      "@/*": ["./src/*"]
 | 
			
		||||
      "@/*": [
 | 
			
		||||
        "./src/*"
 | 
			
		||||
      ]
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
 | 
			
		||||
  "exclude": ["node_modules"]
 | 
			
		||||
  "include": [
 | 
			
		||||
    "next-env.d.ts",
 | 
			
		||||
    "**/*.ts",
 | 
			
		||||
    "**/*.tsx",
 | 
			
		||||
    ".next/types/**/*.ts",
 | 
			
		||||
    ".next/dev/types/**/*.ts"
 | 
			
		||||
  ],
 | 
			
		||||
  "exclude": [
 | 
			
		||||
    "node_modules"
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user