@next-safe-action/adapter-react-hook-form
Version:
This adapter offers a way to seamlessly integrate next-safe-action with react-hook-form.
106 lines • 2.41 kB
JSON
{
"name": "@next-safe-action/adapter-react-hook-form",
"version": "2.0.6",
"private": false,
"description": "This adapter offers a way to seamlessly integrate next-safe-action with react-hook-form.",
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"./hooks": {
"types": "./dist/hooks.d.mts",
"default": "./dist/hooks.mjs"
}
},
"typesVersions": {
"*": {
".": [
"./dist/index.d.mts"
],
"hooks": [
"./dist/hooks.d.mts"
]
}
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/TheEdoRan"
},
{
"type": "paypal",
"url": "https://www.paypal.com/donate/?hosted_button_id=ES9JRPSC66XKW"
}
],
"keywords": [
"next",
"nextjs",
"react",
"rsc",
"react server components",
"mutation",
"action",
"actions",
"react actions",
"next actions",
"server actions",
"next-safe-action",
"next safe action",
"react-hook-form",
"react hook form",
"react forms"
],
"author": "Edoardo Ranghieri",
"license": "MIT",
"devDependencies": {
"@hookform/resolvers": "^5.0.0",
"@testing-library/dom": "^10",
"@testing-library/react": "^16",
"jsdom": "^26",
"@types/node": "^24",
"@types/react": "^19",
"@types/react-dom": "^19",
"next": "^16.2.3",
"oxlint": "^1.60.0",
"oxlint-tsgolint": "^0.20.0",
"react": "^19",
"react-dom": "^19",
"react-hook-form": "^7.54.2",
"tsdown": "^0.21.0",
"typescript": "^6.0.2",
"vitest": "^4.1.4",
"zod": "^4.3.6",
"next-safe-action": "8.5.2"
},
"peerDependencies": {
"@hookform/resolvers": ">= 5.0.0",
"next": ">= 14.0.0",
"next-safe-action": ">=8.1.10",
"react": ">= 18.2.0",
"react-dom": ">= 18.2.0",
"react-hook-form": ">= 7.0.0"
},
"engines": {
"node": ">=18.17"
},
"repository": {
"type": "git",
"url": "https://github.com/next-safe-action/next-safe-action.git",
"directory": "packages/adapter-react-hook-form"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "vitest run",
"lint": "tsc --noEmit && oxlint --type-aware .",
"build": "tsdown"
}
}