Skip to content

Commit 691c791

Browse files
Merge pull request #7: Upgrade to Next.js v15
Upgrade to Next.js v15
2 parents 513090f + 7dae134 commit 691c791

File tree

22 files changed

+2746
-2859
lines changed

22 files changed

+2746
-2859
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.json

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

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
public-hoist-pattern[]=*@heroui/*
2+
public-hoist-pattern[]=*eslint*

eslint.config.mjs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { dirname } from "path";
2+
import { fileURLToPath } from "url";
3+
import { FlatCompat } from "@eslint/eslintrc";
4+
5+
const __filename = fileURLToPath(import.meta.url);
6+
const __dirname = dirname(__filename);
7+
8+
const compat = new FlatCompat({
9+
baseDirectory: __dirname,
10+
});
11+
12+
const eslintConfig = [
13+
...compat.extends("next/core-web-vitals", "next/typescript"),
14+
];
15+
16+
export default eslintConfig;

next.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ const nextConfig = {
1919
}
2020
};
2121

22-
// eslint-disable-next-line import/no-unused-modules
2322
export default process.env.ANALYZE === 'true'
2423
? withBundleAnalyzer()(nextConfig)
2524
: nextConfig;

package.json

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,19 @@
3939
"@react-email/render": "1.0.4",
4040
"@simplewebauthn/browser": "^13.1.0",
4141
"@simplewebauthn/server": "^13.1.1",
42-
"@simplewebauthn/typescript-types": "^8.3.4",
4342
"arctic": "^3.1.3",
4443
"class-variance-authority": "^0.7.1",
4544
"clsx": "^2.1.1",
4645
"date-fns": "^4.1.0",
4746
"drizzle-orm": "^0.39.3",
48-
"framer-motion": "^11.16.7",
4947
"ipaddr.js": "^2.2.0",
5048
"lucide-react": "^0.471.0",
5149
"motion": "^11.18.0",
5250
"ms": "^2.1.3",
53-
"next": "14.2.23",
51+
"next": "15.1.7",
5452
"next-themes": "^0.4.4",
55-
"react": "^18",
56-
"react-dom": "^18",
53+
"react": "^19.0.0",
54+
"react-dom": "^19.0.0",
5755
"react-hook-form": "^7.54.2",
5856
"react-turnstile": "^1.1.4",
5957
"remeda": "^2.20.1",
@@ -68,26 +66,24 @@
6866
"zustand": "^5.0.3"
6967
},
7068
"devDependencies": {
71-
"@cloudflare/workers-types": "^4.20250214.0",
69+
"@cloudflare/workers-types": "^4.20250224.0",
70+
"@eslint/eslintrc": "^3",
7271
"@next/bundle-analyzer": "^15.1.4",
73-
"@opennextjs/cloudflare": "^0.5.3",
72+
"@opennextjs/cloudflare": "^0.5.8",
73+
"@simplewebauthn/types": "^12.0.0",
7474
"@tailwindcss/typography": "^0.5.16",
7575
"@types/ms": "^0.7.34",
7676
"@types/node": "^20",
77-
"@types/react": "^18",
78-
"@types/react-dom": "^18",
79-
"@typescript-eslint/eslint-plugin": "^8.20.0",
80-
"@typescript-eslint/parser": "^8.20.0",
77+
"@types/react": "^19",
78+
"@types/react-dom": "^19",
8179
"drizzle-kit": "^0.30.4",
82-
"eslint": "^8",
83-
"eslint-config-next": "14.2.23",
84-
"eslint-plugin-import": "^2.31.0",
85-
"eslint-plugin-unused-imports": "^4.1.4",
80+
"eslint": "^9",
81+
"eslint-config-next": "15.1.7",
8682
"postcss": "^8",
8783
"react-email": "3.0.6",
8884
"tailwindcss": "^3.4.1",
8985
"typescript": "^5",
90-
"wrangler": "^3.109.2"
86+
"wrangler": "^3.111.0"
9187
},
9288
"packageManager": "pnpm@9.12.1+sha512.e5a7e52a4183a02d5931057f7a0dbff9d5e9ce3161e33fa68ae392125b79282a8a8a470a51dfc8a0ed86221442eb2fb57019b0990ed24fab519bf0e1bc5ccfc4"
9389
}

0 commit comments

Comments
 (0)