feat: add react-hook-form and zod for form management and validation

This commit is contained in:
2026-05-30 00:50:36 +07:00 Unverified
parent 56be873007
commit bf215bb9cf
5 changed files with 667 additions and 262 deletions
+6 -1
View File
@@ -15,6 +15,9 @@
},
"dependencies": {
"@auth/drizzle-adapter": "^1.11.2",
"@hookform/resolvers": "^5.4.0",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-slot": "^1.2.4",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"drizzle-orm": "^0.45.2",
@@ -26,10 +29,12 @@
"radix-ui": "^1.4.3",
"react": "19.2.4",
"react-dom": "19.2.4",
"react-hook-form": "^7.76.1",
"shadcn": "^4.8.0",
"sonner": "^2.0.7",
"tailwind-merge": "^3.6.0",
"tw-animate-css": "^1.4.0"
"tw-animate-css": "^1.4.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",