Skip to content

Commit 71521f2

Browse files
committed
feat: upgrade to TypeScript 7 and Next.js 16.3
1 parent 00d9603 commit 71521f2

13 files changed

Lines changed: 570 additions & 326 deletions

File tree

‎apps/api/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@types/react-dom": "^19.2.0",
2929
"rimraf": "6.1.3",
3030
"tsx": "^4.22.4",
31-
"typescript": "^5.8.3"
31+
"typescript": "^7.0.2"
3232
},
3333
"packageManager": "[email protected]",
3434
"engines": {

‎apps/api/tsconfig.json‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
"compilerOptions": {
33
"target": "ESNext",
44
"module": "ESNext",
5-
"moduleResolution": "Node",
5+
"moduleResolution": "bundler",
66
"strict": true,
77
"skipLibCheck": true,
88
"outDir": "dist",
9+
"rootDir": "./src",
910
"jsx": "react-jsx",
10-
"jsxImportSource": "hono/jsx",
11-
"baseUrl": ".",
1211
"paths": {
1312
"@/*": ["./*"],
1413
"@dokploy/server/*": ["../../packages/server/src/*"]

‎apps/dokploy/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"lucide-react": "^0.469.0",
106106
"micromatch": "4.0.8",
107107
"nanoid": "3.3.11",
108-
"next": "16.2.6",
108+
"next": "16.3.0",
109109
"next-themes": "^0.2.1",
110110
"nextjs-toploader": "^3.9.17",
111111
"node-os-utils": "2.0.1",
@@ -174,7 +174,7 @@
174174
"simple-icons": "^16.14.0",
175175
"tailwindcss": "^4.3.1",
176176
"tsx": "^4.22.4",
177-
"typescript": "^5.8.3",
177+
"typescript": "^7.0.2",
178178
"vite-tsconfig-paths": "4.3.2",
179179
"vitest": "^4.0.18"
180180
},

‎apps/dokploy/tsconfig.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
],
2626
"incremental": true,
2727
/* Path Aliases */
28-
"baseUrl": ".",
2928
"paths": {
3029
"@/*": ["./*"],
3130
"@dokploy/server/*": ["../../packages/server/src/*"]

‎apps/dokploy/tsconfig.server.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"target": "ESNext",
77
"isolatedModules": false,
88
"noEmit": false,
9-
"moduleResolution": "Node",
10-
"baseUrl": ".",
9+
"moduleResolution": "bundler",
1110
"paths": {
1211
"@/*": ["./*"],
1312
"@dokploy/server/*": ["../../packages/server/src/*"]

‎apps/schedules/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@types/react": "^19.2.0",
2929
"@types/react-dom": "^19.2.0",
3030
"tsx": "^4.22.4",
31-
"typescript": "^5.8.3"
31+
"typescript": "^7.0.2"
3232
},
3333
"packageManager": "[email protected]",
3434
"engines": {

‎apps/schedules/tsconfig.build.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"rootDir": "./src",
5+
"outDir": "dist",
56
"paths": {}
67
},
78
"include": ["src/**/*"]

‎apps/schedules/tsconfig.json‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@
55
"moduleResolution": "bundler",
66
"strict": true,
77
"skipLibCheck": true,
8-
"outDir": "dist",
98
"jsx": "react-jsx",
109
"declaration": false,
11-
"baseUrl": ".",
1210
"paths": {
1311
"@dokploy/server/*": ["../../packages/server/src/*"]
1412
}

‎packages/server/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"tailwindcss": "^3.4.17",
113113
"tsc-alias": "1.8.10",
114114
"tsx": "^4.22.4",
115-
"typescript": "^5.8.3"
115+
"typescript": "^7.0.2"
116116
},
117117
"packageManager": "[email protected]",
118118
"engines": {

‎packages/server/src/templates/processors.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export function processValue(
136136
if (params.length === 1 && params[0] && params[0].match(/^\d{1,3}$/)) {
137137
return generateJwt({ length: Number.parseInt(params[0], 10) });
138138
}
139-
let [secret, payload] = params;
139+
let [secret, payload] = params as [string?, string?];
140140
if (typeof payload === "string" && variables[payload]) {
141141
payload = variables[payload];
142142
}

0 commit comments

Comments
 (0)