mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-04 11:12:16 +00:00
feat: upgrade to TypeScript 7 and Next.js 16.3
This commit is contained in:
@@ -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": "[email protected]",
|
||||
"engines": {
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
"plugins": [{ "name": "next" }],
|
||||
"outDir": "./dist",
|
||||
/* Path Aliases */
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@dokploy/server/*": ["./src/*"]
|
||||
}
|
||||
|
||||
@@ -8,9 +8,8 @@
|
||||
"isolatedModules": false,
|
||||
"noEmit": false,
|
||||
"declaration": true,
|
||||
"moduleResolution": "Node",
|
||||
"moduleResolution": "bundler",
|
||||
"rootDir": "./src",
|
||||
"baseUrl": ".",
|
||||
"jsx": "react-jsx",
|
||||
"paths": {
|
||||
"@dokploy/server/*": ["./src/*"]
|
||||
|
||||
Reference in New Issue
Block a user