Skip to content

Commit 8f85d92

Browse files
committed
upgrade nextjs
Signed-off-by: walnuts1018 <r.juglans.1018@gmail.com>
1 parent 728e528 commit 8f85d92

5 files changed

Lines changed: 1082 additions & 153 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20-bookworm-slim AS base
1+
FROM node:22-bookworm-slim AS base
22

33
# Install dependencies only when needed
44
FROM base AS deps

next.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const nextConfig: NextConfig = {
2020
hostname: "**",
2121
},
2222
],
23+
qualities: [60, 75]
2324
},
2425
};
2526

package.json

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
"body-scroll-lock": "4.0.0-beta.0",
2020
"clsx": "^2.1.1",
2121
"date-fns": "^4.1.0",
22-
"next": "15.4.8",
23-
"react": "^19.1.1",
24-
"react-dom": "^19.1.1",
22+
"next": "16.0.7",
23+
"react": "19.2.1",
24+
"react-dom": "19.2.1",
2525
"react-icons": "^5.5.0",
2626
"react-modal": "^3.16.3",
2727
"react-share": "^5.2.2",
@@ -34,16 +34,16 @@
3434
"@eslint/eslintrc": "^3.3.3",
3535
"@eslint/js": "^9.33.0",
3636
"@hatena/eslint-config-hatena": "github:hatena/eslint-config-hatena#v3.3.0",
37-
"@next/bundle-analyzer": "^15.4.7",
37+
"@next/bundle-analyzer": "16.0.7",
3838
"@tailwindcss/postcss": "^4.1.17",
3939
"@types/body-scroll-lock": "^3.1.2",
4040
"@types/node": "^20.19.25",
41-
"@types/react": "^19.1.17",
42-
"@types/react-dom": "^19.1.11",
41+
"@types/react": "19.2.7",
42+
"@types/react-dom": "19.2.3",
4343
"@types/react-modal": "^3.16.3",
4444
"@typescript-eslint/parser": "^8.38.0",
4545
"eslint": "^9.33.0",
46-
"eslint-config-next": "15.4.7",
46+
"eslint-config-next": "16.0.7",
4747
"eslint-import-resolver-typescript": "^4.4.4",
4848
"eslint-plugin-perfectionist": "^4.15.1",
4949
"eslint-plugin-unused-imports": "^4.1.4",
@@ -62,10 +62,15 @@
6262
"@tailwindcss/oxide",
6363
"sharp",
6464
"unrs-resolver"
65-
]
65+
],
66+
"overrides": {
67+
"@types/react": "19.2.7",
68+
"@types/react-dom": "19.2.3"
69+
}
6670
},
6771
"engines": {
68-
"node": "20.19.6"
72+
"node": "v22.14.0",
73+
"pnpm": "10.24.0"
6974
},
70-
"packageManager": "pnpm@10.15.1"
75+
"packageManager": "pnpm@10.24.0"
7176
}

0 commit comments

Comments
 (0)