Skip to content

Commit 8d97b6b

Browse files
authored
feat(deps): update next to v15.1 (#1105)
1 parent cc6ed5a commit 8d97b6b

File tree

7 files changed

+768
-509
lines changed

7 files changed

+768
-509
lines changed

.eslintrc.js

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ module.exports = {
2020
},
2121
extends: [
2222
"plugin:react/recommended",
23-
"plugin:react-hooks/recommended",
2423
"plugin:@typescript-eslint/recommended",
2524
"plugin:jsx-a11y/recommended",
2625
"next",

next-env.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
5+
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

next.config.mjs renamed to next.config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
import type { NextConfig } from "next"
12
import { withContentlayer } from "next-contentlayer"
23
import withBundleAnalyzer from "@next/bundle-analyzer"
34

4-
/** @type {import('next').NextConfig} */
5-
const nextConfig = {
5+
const nextConfig: NextConfig = {
66
typescript: {
77
ignoreBuildErrors: true,
88
},

package.json

+17-10
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@
77
"@hookform/devtools": "4.3.1",
88
"@mdx-js/loader": "^2.3.0",
99
"@mdx-js/react": "^2.3.0",
10-
"@next/mdx": "^13.4.5",
10+
"@next/mdx": "15.1.0",
1111
"@types/node": "^20.3.1",
1212
"class-variance-authority": "^0.6.0",
1313
"clsx": "^1.2.1",
14-
"contentlayer": "^0.3.3",
14+
"contentlayer": "^0.3.4",
1515
"date-fns": "^2.30.0",
1616
"little-state-machine": "^4.8.0",
17-
"next": "^14.1.1",
18-
"next-contentlayer": "^0.3.3",
17+
"next": "15.1.0",
18+
"next-contentlayer": "^0.3.4",
1919
"next-themes": "^0.2.1",
2020
"prism-react-renderer": "^2.0.5",
2121
"prismjs": "^1.29.0",
22-
"react": "18.2.0",
23-
"react-dom": "18.2.0",
22+
"react": "18.3.1",
23+
"react-dom": "18.3.1",
2424
"react-github-btn": "1.4.0",
2525
"react-hook-form": "7.44.3",
2626
"react-simple-animate": "^3.5.2",
@@ -33,14 +33,15 @@
3333
"sortablejs": "1.15.0"
3434
},
3535
"devDependencies": {
36-
"@next/bundle-analyzer": "^13.4.5",
37-
"@types/react": "^18.3.11",
36+
"@next/bundle-analyzer": "15.1.0",
37+
"@types/react": "^18.3.17",
38+
"@types/react-dom": "^18.3.5",
3839
"@types/react-helmet": "^6.1.6",
3940
"@typescript-eslint/eslint-plugin": "^8.18.0",
4041
"@typescript-eslint/parser": "^8.18.0",
4142
"cross-env": "^7.0.3",
4243
"eslint": "^8.57.1",
43-
"eslint-config-next": "^13.4.5",
44+
"eslint-config-next": "15.1.0",
4445
"eslint-config-prettier": "^8.8.0",
4546
"eslint-plugin-jsx-a11y": "^6.7.1",
4647
"eslint-plugin-react": "^7.32.2",
@@ -74,5 +75,11 @@
7475
"pnpm run format:fix"
7576
]
7677
},
77-
"packageManager": "[email protected]+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c"
78+
"packageManager": "[email protected]+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c",
79+
"pnpm": {
80+
"overrides": {
81+
"@types/react": "18.3.17",
82+
"@types/react-dom": "18.3.5"
83+
}
84+
}
7885
}

0 commit comments

Comments
 (0)