Chore: force Zod v3, replace deprecated Supabase vars in local dev, updated Dev Tool (#425)

* - Replaced Supabase local environment variables
- Updates packages
- Force Zod v3 if peer deps require Zod v4
- Updated Dev Tool

* Use correct field for pnpm overrides

* Fix inaccuracies in the Agents files; fix type casting in `useForm`

* Updated lock file

* Be more specific when intercepting POST request in flaky e2e test
This commit is contained in:
Giancarlo Buomprisco
2025-12-13 12:20:15 +08:00
committed by GitHub
parent cba62d21ae
commit 9681e1f90b
31 changed files with 414 additions and 410 deletions

View File

@@ -6,7 +6,6 @@ import { isRedirectError } from 'next/dist/client/components/redirect-error';
import { zodResolver } from '@hookform/resolvers/zod';
import { useForm } from 'react-hook-form';
import { z } from 'zod';
import { Alert, AlertDescription, AlertTitle } from '@kit/ui/alert';
import { Button } from '@kit/ui/button';
@@ -65,7 +64,7 @@ function CreateOrganizationAccountForm(props: { onClose: () => void }) {
const [error, setError] = useState<boolean>();
const [pending, startTransition] = useTransition();
const form = useForm<z.infer<typeof CreateTeamSchema>>({
const form = useForm({
defaultValues: {
name: '',
},

View File

@@ -75,11 +75,7 @@ function TransferOrganizationOwnershipForm({
const [error, setError] = useState<boolean>();
const { data: user } = useUser();
const form = useForm<{
accountId: string;
userId: string;
otp: string;
}>({
const form = useForm({
resolver: zodResolver(TransferOwnershipConfirmationSchema),
defaultValues: {
accountId,