UNPKG

@next-safe-action/adapter-react-hook-form

Version:

This adapter offers a way to seamlessly integrate next-safe-action with react-hook-form.

102 lines (101 loc) 2.42 kB
{ "name": "@next-safe-action/adapter-react-hook-form", "version": "1.0.14", "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": { ".": "./dist/index.mjs", "./hooks": "./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" } ], "scripts": { "lint": "tsc && prettier --write . && eslint .", "build": "tsup", "deploy": "semantic-release" }, "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", "publishConfig": { "access": "public" }, "devDependencies": { "@eslint/js": "^9.9.0", "@hookform/resolvers": "catalog:", "@manypkg/cli": "^0.21.4", "@types/node": "catalog:", "@types/react": "catalog:", "@types/react-dom": "catalog:", "@typescript-eslint/eslint-plugin": "^8.27.0", "@typescript-eslint/parser": "^8.27.0", "eslint": "catalog:", "eslint-config-prettier": "^9.1.0", "eslint-define-config": "^2.1.0", "eslint-plugin-react-hooks": "^4.6.2", "next-safe-action": "catalog:", "prettier": "^3.3.3", "react": "catalog:", "react-hook-form": "catalog:", "semantic-release": "^23.0.8", "tsup": "^8.2.4", "tsx": "^4.17.0", "typescript": "catalog:", "typescript-eslint": "^7.18.0", "zod": "^3.23.8" }, "peerDependencies": { "@hookform/resolvers": ">= 3.0.0", "next": ">= 14.0.0", "next-safe-action": ">= 7.6.0", "react": ">= 18.2.0", "react-dom": ">= 18.2.0", "react-hook-form": ">= 7.0.0" }, "repository": { "type": "git", "url": "https://github.com/next-safe-action/adapter-react-hook-form.git" }, "packageManager": "pnpm@9.7.1+sha512.faf344af2d6ca65c4c5c8c2224ea77a81a5e8859cbc4e06b1511ddce2f0151512431dd19e6aff31f2c6a8f5f2aced9bd2273e1fed7dd4de1868984059d2c4247" }