Added react form hooks

This commit is contained in:
2023-03-12 15:49:32 -05:00
parent 502a8cb79d
commit 032d380e1e
2 changed files with 39 additions and 0 deletions

37
package-lock.json generated
View File

@@ -9,6 +9,7 @@
"version": "0.1.0",
"hasInstallScript": true,
"dependencies": {
"@hookform/resolvers": "^2.9.11",
"@next-auth/prisma-adapter": "^1.0.5",
"@next/font": "^13.1.6",
"@prisma/client": "^4.9.0",
@@ -23,6 +24,7 @@
"react": "18.2.0",
"react-aria": "^3.23.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.43.5",
"react-icons": "^4.8.0",
"superjson": "1.9.1",
"zod": "^3.20.2"
@@ -123,6 +125,14 @@
"tslib": "^2.4.0"
}
},
"node_modules/@hookform/resolvers": {
"version": "2.9.11",
"resolved": "https://registry.npmjs.org/@hookform/resolvers/-/resolvers-2.9.11.tgz",
"integrity": "sha512-bA3aZ79UgcHj7tFV7RlgThzwSSHZgvfbt2wprldRkYBcMopdMvHyO17Wwp/twcJasNFischFfS7oz8Katz8DdQ==",
"peerDependencies": {
"react-hook-form": "^7.0.0"
}
},
"node_modules/@humanwhocodes/config-array": {
"version": "0.11.8",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz",
@@ -5421,6 +5431,21 @@
"react": "^18.2.0"
}
},
"node_modules/react-hook-form": {
"version": "7.43.5",
"resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.43.5.tgz",
"integrity": "sha512-YcaXhuFHoOPipu5pC7ckxrLrialiOcU91pKu8P+isAcXZyMgByUK9PkI9j5fENO4+6XU5PwWXRGMIFlk9u9UBQ==",
"engines": {
"node": ">=12.22.0"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/react-hook-form"
},
"peerDependencies": {
"react": "^16.8.0 || ^17 || ^18"
}
},
"node_modules/react-icons": {
"version": "4.8.0",
"resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.8.0.tgz",
@@ -6269,6 +6294,12 @@
"tslib": "^2.4.0"
}
},
"@hookform/resolvers": {
"version": "2.9.11",
"resolved": "https://registry.npmjs.org/@hookform/resolvers/-/resolvers-2.9.11.tgz",
"integrity": "sha512-bA3aZ79UgcHj7tFV7RlgThzwSSHZgvfbt2wprldRkYBcMopdMvHyO17Wwp/twcJasNFischFfS7oz8Katz8DdQ==",
"requires": {}
},
"@humanwhocodes/config-array": {
"version": "0.11.8",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz",
@@ -10022,6 +10053,12 @@
"scheduler": "^0.23.0"
}
},
"react-hook-form": {
"version": "7.43.5",
"resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.43.5.tgz",
"integrity": "sha512-YcaXhuFHoOPipu5pC7ckxrLrialiOcU91pKu8P+isAcXZyMgByUK9PkI9j5fENO4+6XU5PwWXRGMIFlk9u9UBQ==",
"requires": {}
},
"react-icons": {
"version": "4.8.0",
"resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.8.0.tgz",

View File

@@ -10,6 +10,7 @@
"start": "next start"
},
"dependencies": {
"@hookform/resolvers": "^2.9.11",
"@next-auth/prisma-adapter": "^1.0.5",
"@next/font": "^13.1.6",
"@prisma/client": "^4.9.0",
@@ -24,6 +25,7 @@
"react": "18.2.0",
"react-aria": "^3.23.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.43.5",
"react-icons": "^4.8.0",
"superjson": "1.9.1",
"zod": "^3.20.2"