Skip to content

Commit f0a2936

Browse files
committed
chore: update dependencies and improve TypeScript configuration; remove unused middleware and restore proxy functionality
1 parent 3c11e38 commit f0a2936

File tree

3 files changed

+39
-25
lines changed

3 files changed

+39
-25
lines changed

package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,30 @@
1212
"postinstall": "prisma generate && next-ws patch --yes"
1313
},
1414
"dependencies": {
15-
"@elysiajs/eden": "1.3.2",
16-
"@prisma/client": "6.14.0",
17-
"@tanstack/react-query": "5.85.3",
18-
"elysia": "1.3.8",
19-
"jose": "6.0.12",
20-
"next": "15.4.6",
21-
"next-ws": "^2.0.13",
22-
"react": "19.1.1",
23-
"react-dom": "19.1.1",
15+
"@elysiajs/eden": "1.4.4",
16+
"@prisma/client": "6.18.0",
17+
"@tanstack/react-query": "5.87.0",
18+
"elysia": "1.4.11",
19+
"jose": "6.1.0",
20+
"next": "16.0.0",
21+
"next-ws": "^2.1.5",
22+
"react": "19.2.0",
23+
"react-dom": "19.2.0",
2424
"ws": "^8.18.3"
2525
},
2626
"devDependencies": {
27-
"@tailwindcss/postcss": "^4.1.12",
28-
"@types/node": "24.3.0",
29-
"@types/react": "19.1.10",
30-
"@types/react-dom": "19.1.7",
27+
"@tailwindcss/postcss": "^4.1.15",
28+
"@types/node": "24.9.1",
29+
"@types/react": "19.2.2",
30+
"@types/react-dom": "19.2.2",
3131
"@types/ws": "^8.18.1",
32-
"eslint": "9.33.0",
33-
"eslint-config-next": "15.4.6",
32+
"eslint": "9.38.0",
33+
"eslint-config-next": "16.0.0",
3434
"postcss": "8.5.6",
3535
"prettier": "3.6.2",
36-
"prettier-plugin-tailwindcss": "^0.6.14",
37-
"prisma": "6.14.0",
38-
"tailwindcss": "^4.1.12",
39-
"typescript": "5.9.2"
36+
"prettier-plugin-tailwindcss": "^0.7.1",
37+
"prisma": "6.18.0",
38+
"tailwindcss": "^4.1.15",
39+
"typescript": "5.9.3"
4040
}
4141
}

src/middleware.ts renamed to src/proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { SERVER_URL_KEY } from "./lib/utils/constants";
44
/**
55
* Nextjs bypass to set the server URL in the request headers so it can be read while in server components.
66
*/
7-
export default async function middleware(request: NextRequest) {
7+
export default async function proxy(request: NextRequest) {
88
const headers = new Headers(request.headers);
99
headers.set(SERVER_URL_KEY, request.url);
1010
return NextResponse.next({ headers });

tsconfig.json

Lines changed: 19 additions & 5 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,17 +15,27 @@
1115
"moduleResolution": "bundler",
1216
"resolveJsonModule": true,
1317
"isolatedModules": true,
14-
"jsx": "preserve",
18+
"jsx": "react-jsx",
1519
"incremental": true,
1620
"plugins": [
1721
{
1822
"name": "next"
1923
}
2024
],
2125
"paths": {
22-
"@/*": ["./src/*"]
26+
"@/*": [
27+
"./src/*"
28+
]
2329
}
2430
},
25-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
26-
"exclude": ["node_modules"]
31+
"include": [
32+
"next-env.d.ts",
33+
"**/*.ts",
34+
"**/*.tsx",
35+
".next/types/**/*.ts",
36+
".next/dev/types/**/*.ts"
37+
],
38+
"exclude": [
39+
"node_modules"
40+
]
2741
}

0 commit comments

Comments
 (0)