Skip to content

Commit 3ec514f

Browse files
Merge pull request #33 from alexanderscheibler/upgrade_next
[#32] Upgrade Next.js
2 parents 635aea5 + a51f457 commit 3ec514f

4 files changed

Lines changed: 1343 additions & 439 deletions

File tree

next.config.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@ import type { NextConfig } from 'next';
22

33
const nextConfig: NextConfig = {
44
reactStrictMode: true,
5-
publicRuntimeConfig: {
6-
NEXT_PUBLIC_SUPABASE_URL: process.env.NEXT_PUBLIC_SUPABASE_URL,
7-
NEXT_PUBLIC_SUPABASE_ANON_KEY: process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY,
8-
NEXT_PUBLIC_SUPABASE_DOMAIN: process.env.NEXT_PUBLIC_SUPABASE_DOMAIN,
9-
NEXT_PUBLIC_MOCK_ITEMS: process.env.NEXT_PUBLIC_MOCK_ITEMS,
10-
},
115

126
output: 'export',
137
images: {

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"gray-matter": "^4.0.3",
1616
"highlight.js": "^11.11.1",
1717
"lucide-react": "^0.453.0",
18-
"next": "^15.1.3",
19-
"next-plausible": "^3.12.2",
18+
"next": "^16.0.7",
19+
"next-plausible": "^3.12.5",
2020
"react": "19.0.0-rc-69d4b800-20241021",
2121
"react-dom": "19.0.0-rc-69d4b800-20241021",
2222
"react-icons": "^5.4.0",
@@ -41,7 +41,7 @@
4141
"@types/react": "^18.3.12",
4242
"@types/react-dom": "^18.3.1",
4343
"eslint": "^8",
44-
"eslint-config-next": "15.0.1",
44+
"eslint-config-next": "16.0.7",
4545
"jest": "^29.7.0",
4646
"jest-environment-jsdom": "^29.7.0",
4747
"postcss": "^8",

tsconfig.json

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"compilerOptions": {
33
"target": "ES2017",
4-
"lib": ["dom", "dom.iterable", "esnext"],
4+
"lib": [
5+
"dom",
6+
"dom.iterable",
7+
"esnext"
8+
],
59
"allowJs": true,
610
"skipLibCheck": true,
711
"strict": true,
@@ -11,28 +15,43 @@
1115
"moduleResolution": "bundler",
1216
"resolveJsonModule": true,
1317
"isolatedModules": true,
14-
"jsx": "preserve",
18+
"jsx": "react-jsx",
1519
"incremental": true,
16-
"types": ["@testing-library/jest-dom"],
20+
"types": [
21+
"@testing-library/jest-dom"
22+
],
1723
"plugins": [
1824
{
1925
"name": "next"
2026
}
2127
],
2228
"paths": {
23-
"@/*": ["./*"],
24-
"@components/*": ["./app/components/*"],
25-
"@image/*": ["./app/public/images/*"],
26-
"@data/*": ["./app/data/*"],
27-
"@utils/*": ["./utils/*"]
29+
"@/*": [
30+
"./*"
31+
],
32+
"@components/*": [
33+
"./app/components/*"
34+
],
35+
"@image/*": [
36+
"./app/public/images/*"
37+
],
38+
"@data/*": [
39+
"./app/data/*"
40+
],
41+
"@utils/*": [
42+
"./utils/*"
43+
]
2844
}
2945
},
3046
"include": [
3147
"next-env.d.ts",
3248
"**/*.ts",
3349
"**/*.tsx",
3450
"jest.config.ts",
35-
".next/types/**/*.ts"
51+
".next/types/**/*.ts",
52+
".next/dev/types/**/*.ts"
3653
],
37-
"exclude": ["node_modules"]
54+
"exclude": [
55+
"node_modules"
56+
]
3857
}

0 commit comments

Comments
 (0)