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

@@ -69,7 +69,7 @@ export function VerifyOtpForm({
const [, setVerificationSuccess] = useState(false);
// Email form
const emailForm = useForm<z.infer<typeof SendOtpSchema>>({
const emailForm = useForm({
resolver: zodResolver(SendOtpSchema),
defaultValues: {
email,
@@ -77,7 +77,7 @@ export function VerifyOtpForm({
});
// OTP verification form
const otpForm = useForm<z.infer<typeof VerifyOtpSchema>>({
const otpForm = useForm({
resolver: zodResolver(VerifyOtpSchema),
defaultValues: {
otp: '',