feat: add @hookform/resolvers dependency and update zod version in package.json

This commit is contained in:
Ardeman 2025-02-23 19:47:12 +08:00
parent feff32f588
commit 4fa3873dda
2 changed files with 22 additions and 3 deletions

View File

@ -15,6 +15,7 @@
},
"dependencies": {
"@headlessui/react": "^2.2.0",
"@hookform/resolvers": "^4.1.1",
"@react-router/fs-routes": "^7.1.3",
"@react-router/node": "^7.1.3",
"@react-router/serve": "^7.1.3",
@ -26,7 +27,7 @@
"react-hook-form": "^7.54.2",
"react-router": "^7.1.3",
"tailwind-merge": "^3.0.1",
"zod": "link:@hookform/resolvers/zod"
"zod": "^3.24.2"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",

22
pnpm-lock.yaml generated
View File

@ -11,6 +11,9 @@ importers:
'@headlessui/react':
specifier: ^2.2.0
version: 2.2.0(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
'@hookform/resolvers':
specifier: ^4.1.1
version: 4.1.1(react-hook-form@7.54.2(react@19.0.0))
'@react-router/fs-routes':
specifier: ^7.1.3
version: 7.1.3(@react-router/dev@7.1.3(@react-router/serve@7.1.3(react-router@7.1.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(typescript@5.7.3))(@types/node@20.17.16)(babel-plugin-macros@3.1.0)(lightningcss@1.29.1)(react-router@7.1.3(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(typescript@5.7.3)(vite@5.4.14(@types/node@20.17.16)(lightningcss@1.29.1)))(typescript@5.7.3)
@ -45,8 +48,8 @@ importers:
specifier: ^3.0.1
version: 3.0.1
zod:
specifier: link:@hookform/resolvers/zod
version: link:@hookform/resolvers/zod
specifier: ^3.24.2
version: 3.24.2
devDependencies:
'@commitlint/cli':
specifier: ^19.6.1
@ -576,6 +579,11 @@ packages:
react: ^18 || ^19 || ^19.0.0-rc
react-dom: ^18 || ^19 || ^19.0.0-rc
'@hookform/resolvers@4.1.1':
resolution: {integrity: sha512-S9YN1RgNWG+klUz5uQaV6rjE4pr6Py2tamj7ekshzLcMyg+/Pal1KZAYgGszV0+doiy41dUiQgXL3uRS9stndQ==}
peerDependencies:
react-hook-form: ^7.0.0
'@humanwhocodes/config-array@0.13.0':
resolution: {integrity: sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==}
engines: {node: '>=10.10.0'}
@ -1611,6 +1619,9 @@ packages:
caniuse-lite@1.0.30001696:
resolution: {integrity: sha512-pDCPkvzfa39ehJtJ+OwGT/2yvT2SbjfHhiIW2LWOAcMQ7BzwxT/XuyUp4OTOd0XFWA6BKw0JalnBHgSi5DGJBQ==}
caniuse-lite@1.0.30001700:
resolution: {integrity: sha512-2S6XIXwaE7K7erT8dY+kLQcpa5ms63XlRkMkReXjle+kf6c5g38vyMl+Z5y8dSxOFDhcFe+nxnn261PLxBSQsQ==}
chain-function@1.0.1:
resolution: {integrity: sha512-SxltgMwL9uCko5/ZCLiyG2B7R9fY4pDZUw7hJ4MhirdjBLosoDqkWABi3XMucddHdLiFJMb7PD2MZifZriuMTg==}
@ -4656,6 +4667,11 @@ snapshots:
react: 19.0.0
react-dom: 19.0.0(react@19.0.0)
'@hookform/resolvers@4.1.1(react-hook-form@7.54.2(react@19.0.0))':
dependencies:
caniuse-lite: 1.0.30001700
react-hook-form: 7.54.2(react@19.0.0)
'@humanwhocodes/config-array@0.13.0':
dependencies:
'@humanwhocodes/object-schema': 2.0.3
@ -5732,6 +5748,8 @@ snapshots:
caniuse-lite@1.0.30001696: {}
caniuse-lite@1.0.30001700: {}
chain-function@1.0.1: {}
chalk@4.1.2: