Merge pull request #5040 from Dokploy/feat/typescript-7

feat: upgrade to TypeScript 7 and Next.js 16.3
This commit is contained in:
Mauricio Siu
2026-08-11 01:44:32 -06:00
committed by GitHub
13 changed files with 616 additions and 372 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
"@types/react-dom": "^19.2.0",
"rimraf": "6.1.3",
"tsx": "^4.22.4",
"typescript": "^5.8.3"
"typescript": "^7.0.2"
},
"packageManager": "pnpm@10.22.0",
"engines": {
+2 -3
View File
@@ -2,13 +2,12 @@
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Node",
"moduleResolution": "bundler",
"strict": true,
"skipLibCheck": true,
"outDir": "dist",
"rootDir": "./src",
"jsx": "react-jsx",
"jsxImportSource": "hono/jsx",
"baseUrl": ".",
"paths": {
"@/*": ["./*"],
"@dokploy/server/*": ["../../packages/server/src/*"]
+2 -2
View File
@@ -105,7 +105,7 @@
"lucide-react": "^0.469.0",
"micromatch": "4.0.8",
"nanoid": "3.3.11",
"next": "16.2.6",
"next": "16.3.0",
"next-themes": "^0.2.1",
"nextjs-toploader": "^3.9.17",
"node-os-utils": "2.0.1",
@@ -174,7 +174,7 @@
"simple-icons": "^16.14.0",
"tailwindcss": "^4.3.1",
"tsx": "^4.22.4",
"typescript": "^5.8.3",
"typescript": "^7.0.2",
"vite-tsconfig-paths": "4.3.2",
"vitest": "^4.0.18"
},
-1
View File
@@ -25,7 +25,6 @@
],
"incremental": true,
/* Path Aliases */
"baseUrl": ".",
"paths": {
"@/*": ["./*"],
"@dokploy/server/*": ["../../packages/server/src/*"]
+1 -2
View File
@@ -6,8 +6,7 @@
"target": "ESNext",
"isolatedModules": false,
"noEmit": false,
"moduleResolution": "Node",
"baseUrl": ".",
"moduleResolution": "bundler",
"paths": {
"@/*": ["./*"],
"@dokploy/server/*": ["../../packages/server/src/*"]
+1 -1
View File
@@ -28,7 +28,7 @@
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"tsx": "^4.22.4",
"typescript": "^5.8.3"
"typescript": "^7.0.2"
},
"packageManager": "pnpm@10.22.0",
"engines": {
+1
View File
@@ -2,6 +2,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"rootDir": "./src",
"outDir": "dist",
"paths": {}
},
"include": ["src/**/*"]
-2
View File
@@ -5,10 +5,8 @@
"moduleResolution": "bundler",
"strict": true,
"skipLibCheck": true,
"outDir": "dist",
"jsx": "react-jsx",
"declaration": false,
"baseUrl": ".",
"paths": {
"@dokploy/server/*": ["../../packages/server/src/*"]
}
+1 -1
View File
@@ -112,7 +112,7 @@
"tailwindcss": "^3.4.17",
"tsc-alias": "1.8.10",
"tsx": "^4.22.4",
"typescript": "^5.8.3"
"typescript": "^7.0.2"
},
"packageManager": "pnpm@10.22.0",
"engines": {
+1 -1
View File
@@ -136,7 +136,7 @@ export function processValue(
if (params.length === 1 && params[0] && params[0].match(/^\d{1,3}$/)) {
return generateJwt({ length: Number.parseInt(params[0], 10) });
}
let [secret, payload] = params;
let [secret, payload] = params as [string?, string?];
if (typeof payload === "string" && variables[payload]) {
payload = variables[payload];
}
-1
View File
@@ -21,7 +21,6 @@
"plugins": [{ "name": "next" }],
"outDir": "./dist",
/* Path Aliases */
"baseUrl": ".",
"paths": {
"@dokploy/server/*": ["./src/*"]
}
+1 -2
View File
@@ -8,9 +8,8 @@
"isolatedModules": false,
"noEmit": false,
"declaration": true,
"moduleResolution": "Node",
"moduleResolution": "bundler",
"rootDir": "./src",
"baseUrl": ".",
"jsx": "react-jsx",
"paths": {
"@dokploy/server/*": ["./src/*"]
+605 -355
View File
File diff suppressed because it is too large Load Diff