Skip to content

Commit 003e2c4

Browse files
committed
next 15.5 with typed routes, bump other react related lib as required
1 parent 3185cf5 commit 003e2c4

File tree

29 files changed

+1732
-1583
lines changed

29 files changed

+1732
-1583
lines changed

.eslintrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ const config = {
6565
rules: {
6666
'@typescript-eslint/no-var-requires': 'off'
6767
}
68+
},
69+
{
70+
files: ['*.d.ts'],
71+
rules: {
72+
'@typescript-eslint/triple-slash-reference': 'off'
73+
}
6874
}
6975
]
7076
}

next-env.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3+
/// <reference path="./.next/types/routes.d.ts" />
34

45
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
6+
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

package.json

Lines changed: 28 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"scripts": {
2020
"preinstall": "npx only-allow pnpm",
21-
"dev": "next dev --turbo",
21+
"dev": "next dev --turbopack",
2222
"build": "prisma generate && rm -rf .next/standalone && next build && cp -r public .next/standalone/ && cp -r .next/static .next/standalone/.next/",
2323
"start": "cd .next/standalone && dotenv -e ../../.env -- node server.js",
2424
"lint": "next lint",
@@ -47,56 +47,57 @@
4747
"@headlessui/react": "2.2.2",
4848
"@heroicons/react": "2.1.5",
4949
"@next-auth/prisma-adapter": "1.0.7",
50-
"@next/bundle-analyzer": "14.2.5",
50+
"@next/bundle-analyzer": "15.5.4",
5151
"@prisma/client": "5.17.0",
5252
"@supabase/realtime-js": "2.10.4",
5353
"@tanstack/react-table": "8.19.3",
5454
"@uiw/codemirror-theme-dracula": "4.23.0",
5555
"@uiw/react-codemirror": "4.23.0",
56-
"@visx/group": "3.3.0",
57-
"@visx/shape": "3.5.0",
58-
"@visx/text": "3.3.0",
56+
"@visx/group": "3.12.0",
57+
"@visx/shape": "3.12.0",
58+
"@visx/text": "3.12.0",
5959
"axios": "1.7.2",
6060
"clsx": "2.1.1",
6161
"concurrently": "8.2.2",
6262
"csstype": "3.1.3",
6363
"dayjs": "1.11.11",
64-
"framer-motion": "11.3.4",
6564
"fuse.js": "7.0.0",
6665
"katex": "0.16.21",
67-
"next": "14.1.4",
68-
"next-auth": "4.24.7",
69-
"next-mdx-remote": "4.4.1",
70-
"next-themes": "0.3.0",
66+
"motion": "12.23.22",
67+
"next": "15.5.4",
68+
"next-auth": "4.24.11",
69+
"next-mdx-remote": "5.0.0",
70+
"next-themes": "0.4.6",
7171
"prism-react-renderer": "1.3.5",
7272
"prismjs": "1.30.0",
73-
"react": "18.3.1",
73+
"react": "19.1.1",
7474
"react-countup": "6.5.3",
75-
"react-dom": "18.3.1",
76-
"react-dropzone": "14.2.3",
77-
"react-hook-form": "7.52.1",
78-
"react-hot-toast": "2.4.1",
75+
"react-dom": "19.1.1",
76+
"react-dropzone": "14.3.8",
77+
"react-hook-form": "7.63.0",
78+
"react-hot-toast": "2.6.0",
7979
"react-infinite-scroll-component": "6.1.0",
8080
"react-table": "7.8.0",
81-
"rehype-autolink-headings": "6.1.1",
82-
"rehype-katex": "6.0.3",
83-
"rehype-prism-plus": "2.0.0",
81+
"rehype-autolink-headings": "7.1.0",
82+
"rehype-katex": "7.0.1",
83+
"rehype-prism-plus": "2.0.1",
8484
"rehype-slug": "6.0.0",
85-
"remark-gfm": "3.0.1",
86-
"remark-math": "5.1.1",
85+
"remark-gfm": "4.0.1",
86+
"remark-math": "6.0.0",
8787
"server-only": "0.0.1",
88-
"sharp": "0.33.4",
89-
"swr": "2.2.5",
88+
"sharp": "0.34.4",
89+
"swr": "2.3.6",
9090
"zod": "3.23.8"
9191
},
9292
"devDependencies": {
9393
"@octokit/types": "13.5.0",
94-
"@playwright/test": "1.45.2",
94+
"@playwright/test": "1.55.1",
9595
"@tailwindcss/typography": "0.5.13",
96-
"@testing-library/jest-dom": "6.4.6",
97-
"@testing-library/react": "16.0.0",
96+
"@testing-library/jest-dom": "6.8.0",
97+
"@testing-library/react": "16.3.0",
9898
"@types/node": "20.14.10",
99-
"@types/react": "18.3.3",
99+
"@types/react": "19.1.15",
100+
"@types/react-dom": "19.1.9",
100101
"@types/react-table": "7.7.20",
101102
"@typescript-eslint/eslint-plugin": "7.16.1",
102103
"@typescript-eslint/parser": "7.16.1",
@@ -105,7 +106,7 @@
105106
"autoprefixer": "10.4.19",
106107
"dotenv-cli": "10.0.0",
107108
"eslint": "8.57.0",
108-
"eslint-config-next": "14.2.5",
109+
"eslint-config-next": "15.5.4",
109110
"eslint-config-prettier": "9.1.0",
110111
"eslint-plugin-import": "2.29.1",
111112
"eslint-plugin-prettier": "5.1.3",
@@ -124,10 +125,5 @@
124125
"ts-node": "10.9.2",
125126
"typescript": "5.5.3",
126127
"vitest": "2.0.3"
127-
},
128-
"pnpm": {
129-
"overrides": {
130-
"undici": ">=5.19.1"
131-
}
132128
}
133129
}

0 commit comments

Comments
 (0)