Skip to content

Commit 677fedb

Browse files
authored
Merge pull request #3783 from Dokploy/feat/add-support-for-trusted-providers
chore: update @better-auth/sso and better-auth to version 1.5.0-beta.…
2 parents 9d09e51 + 234862e commit 677fedb

File tree

297 files changed

+10574
-2370
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

297 files changed

+10574
-2370
lines changed

apps/api/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,29 @@
44
"type": "module",
55
"scripts": {
66
"dev": "PORT=4000 tsx watch src/index.ts",
7-
"build": "tsc --project tsconfig.json",
7+
"build": "rimraf dist && tsc --project tsconfig.json",
88
"start": "node dist/index.js",
99
"typecheck": "tsc --noEmit"
1010
},
1111
"dependencies": {
1212
"inngest": "3.40.1",
1313
"@dokploy/server": "workspace:*",
1414
"@hono/node-server": "^1.14.3",
15-
"@hono/zod-validator": "0.3.0",
15+
"@hono/zod-validator": "0.7.6",
1616
"dotenv": "^16.4.5",
1717
"hono": "^4.11.7",
1818
"pino": "9.4.0",
1919
"pino-pretty": "11.2.2",
2020
"react": "18.2.0",
2121
"react-dom": "18.2.0",
2222
"redis": "4.7.0",
23-
"zod": "^3.25.76"
23+
"zod": "^4.3.6"
2424
},
2525
"devDependencies": {
2626
"@types/node": "^24.4.0",
2727
"@types/react": "^18.2.37",
2828
"@types/react-dom": "^18.2.15",
29+
"rimraf": "6.1.3",
2930
"tsx": "^4.16.2",
3031
"typescript": "^5.8.3"
3132
},

apps/dokploy/components/dashboard/application/advanced/cluster/show-cluster-settings.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { zodResolver } from "@hookform/resolvers/zod";
1+
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
22
import { Server } from "lucide-react";
33
import Link from "next/link";
44
import { useEffect } from "react";
@@ -73,7 +73,7 @@ export const ShowClusterSettings = ({ id, type }: Props) => {
7373
mongo: () => api.mongo.update.useMutation(),
7474
};
7575

76-
const { mutateAsync, isLoading } = mutationMap[type]
76+
const { mutateAsync, isPending } = mutationMap[type]
7777
? mutationMap[type]()
7878
: api.mongo.update.useMutation();
7979

@@ -236,7 +236,7 @@ export const ShowClusterSettings = ({ id, type }: Props) => {
236236
)}
237237

238238
<div className="flex justify-end">
239-
<Button isLoading={isLoading} type="submit" className="w-fit">
239+
<Button isLoading={isPending} type="submit" className="w-fit">
240240
Save
241241
</Button>
242242
</div>

apps/dokploy/components/dashboard/application/advanced/cluster/swarm-forms/endpoint-spec-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { zodResolver } from "@hookform/resolvers/zod";
1+
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
22
import { useEffect, useState } from "react";
33
import { useForm } from "react-hook-form";
44
import { toast } from "sonner";

apps/dokploy/components/dashboard/application/advanced/cluster/swarm-forms/health-check-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { zodResolver } from "@hookform/resolvers/zod";
1+
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
22
import { useEffect, useState } from "react";
33
import { useForm } from "react-hook-form";
44
import { toast } from "sonner";

apps/dokploy/components/dashboard/application/advanced/cluster/swarm-forms/labels-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { zodResolver } from "@hookform/resolvers/zod";
1+
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
22
import { useEffect, useState } from "react";
33
import { useFieldArray, useForm } from "react-hook-form";
44
import { toast } from "sonner";

apps/dokploy/components/dashboard/application/advanced/cluster/swarm-forms/network-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { zodResolver } from "@hookform/resolvers/zod";
1+
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
22
import { useEffect, useState } from "react";
33
import { useFieldArray, useForm } from "react-hook-form";
44
import { toast } from "sonner";

apps/dokploy/components/dashboard/application/advanced/cluster/swarm-forms/placement-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { zodResolver } from "@hookform/resolvers/zod";
1+
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
22
import { useEffect, useState } from "react";
33
import { useForm } from "react-hook-form";
44
import { toast } from "sonner";

apps/dokploy/components/dashboard/application/advanced/cluster/swarm-forms/restart-policy-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { zodResolver } from "@hookform/resolvers/zod";
1+
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
22
import { useEffect, useState } from "react";
33
import { useForm } from "react-hook-form";
44
import { toast } from "sonner";

apps/dokploy/components/dashboard/application/advanced/cluster/swarm-forms/rollback-config-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { zodResolver } from "@hookform/resolvers/zod";
1+
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
22
import { useEffect, useState } from "react";
33
import { useForm } from "react-hook-form";
44
import { toast } from "sonner";

apps/dokploy/components/dashboard/application/advanced/cluster/swarm-forms/update-config-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { zodResolver } from "@hookform/resolvers/zod";
1+
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
22
import { useEffect, useState } from "react";
33
import { useForm } from "react-hook-form";
44
import { toast } from "sonner";

0 commit comments

Comments
 (0)