chore(dependencies): update zod version across multiple packages to 3.25.76 and remove unused i18next dependencies

- Updated zod version from 3.25.32 to 3.25.76 in pnpm-lock.yaml, package.json files for api, dokploy, schedules, and server.
- Removed i18next and related localization code from the dokploy application to streamline the codebase.
This commit is contained in:
Mauricio Siu
2026-02-16 02:09:33 -06:00
parent e8bec0ae03
commit 8aab8dd2a5
28 changed files with 191 additions and 449 deletions
@@ -1,6 +1,5 @@
import { zodResolver } from "@hookform/resolvers/zod";
import { GlobeIcon } from "lucide-react";
import { useTranslation } from "next-i18next";
import { useEffect } from "react";
import { useForm } from "react-hook-form";
import { toast } from "sonner";
@@ -66,7 +65,6 @@ const addServerDomain = z
type AddServerDomain = z.infer<typeof addServerDomain>;
export const WebDomain = () => {
const { t } = useTranslation("settings");
const { data, refetch } = api.settings.getWebServerSettings.useQuery();
const { mutateAsync, isLoading } =
api.settings.assignDomainServer.useMutation();
@@ -119,10 +117,10 @@ export const WebDomain = () => {
<div className="flex flex-col gap-1">
<CardTitle className="text-xl flex flex-row gap-2">
<GlobeIcon className="size-6 text-muted-foreground self-center" />
{t("settings.server.domain.title")}
Server Domain
</CardTitle>
<CardDescription>
{t("settings.server.domain.description")}
Add a domain to your server application.
</CardDescription>
</div>
</CardHeader>
@@ -152,7 +150,7 @@ export const WebDomain = () => {
return (
<FormItem>
<FormLabel>
{t("settings.server.domain.form.domain")}
Domain
</FormLabel>
<FormControl>
<Input
@@ -174,7 +172,7 @@ export const WebDomain = () => {
return (
<FormItem>
<FormLabel>
{t("settings.server.domain.form.letsEncryptEmail")}
Let's Encrypt Email
</FormLabel>
<FormControl>
<Input
@@ -217,7 +215,7 @@ export const WebDomain = () => {
return (
<FormItem className="md:col-span-2">
<FormLabel>
{t("settings.server.domain.form.certificate.label")}
Certificate Provider
</FormLabel>
<Select
onValueChange={field.onChange}
@@ -254,7 +252,7 @@ export const WebDomain = () => {
<div className="flex w-full justify-end col-span-2">
<Button isLoading={isLoading} type="submit">
{t("settings.common.save")}
Save
</Button>
</div>
</form>