@rachelallyson/hero-hook-form 1.2.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@rachelallyson/hero-hook-form",
3
- "version": "1.2.0",
3
+ "version": "2.1.0",
4
4
  "description": "Typed form helpers that combine React Hook Form and HeroUI components.",
5
5
  "author": "Rachel Higley",
6
- "homepage": "https://github.com/rachelallyson/hero-hook-form#readme",
6
+ "homepage": "https://rachelallyson.github.io/hero-hook-form/",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/rachelallyson/hero-hook-form.git"
@@ -27,7 +27,10 @@
27
27
  "react-forms",
28
28
  "form-validation",
29
29
  "hero-ui",
30
- "form-components"
30
+ "form-components",
31
+ "nextjs",
32
+ "server-actions",
33
+ "next.js"
31
34
  ],
32
35
  "license": "ISC",
33
36
  "sideEffects": false,
@@ -43,6 +46,10 @@
43
46
  "./react": {
44
47
  "types": "./dist/react/index.d.ts",
45
48
  "import": "./dist/react/index.js"
49
+ },
50
+ "./cypress": {
51
+ "types": "./dist/cypress/index.d.ts",
52
+ "import": "./dist/cypress/index.js"
46
53
  }
47
54
  },
48
55
  "files": [
@@ -55,7 +62,7 @@
55
62
  "node": ">=18.0.0"
56
63
  },
57
64
  "scripts": {
58
- "build": "tsup src/index.ts --format esm --dts --clean && tsup src/index.ts --format esm --dts --env.NODE_ENV=production --tsconfig tsconfig.react.json --out-dir dist/react",
65
+ "build": "tsup src/index.ts --format esm --dts --clean && tsup src/index.ts --format esm --dts --env.NODE_ENV=production --tsconfig tsconfig.react.json --out-dir dist/react && tsup src/cypress/index.ts --format esm --dts --out-dir dist/cypress",
59
66
  "dev:build": "tsup src/index.ts --format esm --dts --watch",
60
67
  "lint": "eslint src",
61
68
  "typecheck": "tsc --noEmit",
@@ -63,45 +70,53 @@
63
70
  "cy:run": "cypress run --component",
64
71
  "prepublishOnly": "npm run build && npm run typecheck",
65
72
  "test": "npm run typecheck && npm run cy:run",
66
- "clean": "rm -rf dist node_modules package-lock.json"
73
+ "clean": "rm -rf dist node_modules package-lock.json",
74
+ "docs:dev": "cd docs && npm run dev",
75
+ "docs:build": "cd docs && npm run build",
76
+ "docs:start": "cd docs && npm run start",
77
+ "docs:api": "typedoc"
67
78
  },
68
79
  "devDependencies": {
69
- "@cypress/vite-dev-server": "^7.0.0",
70
- "@eslint/js": "^9.38.0",
71
- "@heroui/button": "^2.2.27",
72
- "@heroui/checkbox": "^2.3.27",
73
- "@heroui/date-input": "^2.3.27",
74
- "@heroui/date-picker": "^2.3.28",
75
- "@heroui/input": "^2.4.28",
76
- "@heroui/radio": "^2.3.27",
77
- "@heroui/react": "^2.8.5",
78
- "@heroui/select": "^2.4.28",
79
- "@heroui/slider": "^2.4.24",
80
- "@heroui/spinner": "^2.2.24",
81
- "@heroui/switch": "^2.2.24",
82
- "@heroui/system": "^2.4.23",
80
+ "@cypress/vite-dev-server": "^7.0.1",
81
+ "@eslint/js": "^9.39.2",
82
+ "@heroui/button": "^2.2.29",
83
+ "@heroui/checkbox": "^2.3.29",
84
+ "@heroui/date-input": "^2.3.29",
85
+ "@heroui/date-picker": "^2.3.30",
86
+ "@heroui/input": "^2.4.30",
87
+ "@heroui/radio": "^2.3.29",
88
+ "@heroui/react": "^2.8.7",
89
+ "@heroui/select": "^2.4.30",
90
+ "@heroui/slider": "^2.4.26",
91
+ "@heroui/spinner": "^2.2.26",
92
+ "@heroui/switch": "^2.2.26",
93
+ "@heroui/system": "^2.4.25",
94
+ "@rachelallyson/eslint-config-node": "^1.0.1",
83
95
  "@rachelallyson/heroui-font-picker": "^1.0.0",
84
- "@types/node": "^24.9.1",
85
- "@types/react": "^19.2.2",
86
- "@types/react-dom": "^19.2.2",
87
- "@vitejs/plugin-react": "^5.0.4",
88
- "cypress": "^15.5.0",
96
+ "@types/node": "^25.0.6",
97
+ "@types/react": "^19.2.8",
98
+ "@types/react-dom": "^19.2.3",
99
+ "@vitejs/plugin-react": "^5.1.2",
100
+ "cypress": "^15.8.2",
89
101
  "cypress-terminal-report": "^7.3.3",
90
- "eslint": "^9.38.0",
102
+ "eslint": "^9.39.2",
103
+ "eslint-plugin-jsx-a11y": "^6.10.2",
91
104
  "eslint-plugin-prettier": "^5.5.4",
105
+ "eslint-plugin-react": "^7.37.5",
92
106
  "eslint-plugin-simple-import-sort": "^12.1.1",
93
107
  "eslint-plugin-sort-destructure-keys": "^2.0.0",
94
108
  "eslint-plugin-sort-keys-fix": "^1.1.2",
95
109
  "eslint-plugin-unused-imports": "^4.3.0",
96
- "jsdom": "^27.0.1",
97
- "react": "^19.2.0",
98
- "react-dom": "^19.2.0",
99
- "react-hook-form": "^7.65.0",
100
- "tsup": "^8.5.0",
110
+ "jsdom": "^27.4.0",
111
+ "react": "^19.2.3",
112
+ "react-dom": "^19.2.3",
113
+ "react-hook-form": "^7.71.0",
114
+ "tsup": "^8.5.1",
115
+ "typedoc-plugin-markdown": "^4.9.0",
101
116
  "typescript": "^5.9.3",
102
- "typescript-eslint": "^8.46.2",
103
- "vite": "^7.1.11",
104
- "zod": "^4.1.12"
117
+ "typescript-eslint": "^8.52.0",
118
+ "vite": "^7.3.1",
119
+ "zod": "^4.3.5"
105
120
  },
106
121
  "peerDependencies": {
107
122
  "@heroui/button": ">=2 <3",
@@ -162,5 +177,22 @@
162
177
  "@rachelallyson/heroui-font-picker": {
163
178
  "optional": true
164
179
  }
180
+ },
181
+ "dependencies": {
182
+ "@hookform/resolvers": "^5.2.2"
183
+ },
184
+ "overrides": {
185
+ "@heroui/button": "^2.2.29",
186
+ "@heroui/checkbox": "^2.3.29",
187
+ "@heroui/date-input": "^2.3.29",
188
+ "@heroui/date-picker": "^2.3.30",
189
+ "@heroui/input": "^2.4.30",
190
+ "@heroui/radio": "^2.3.29",
191
+ "@heroui/select": "^2.4.30",
192
+ "@heroui/slider": "^2.4.26",
193
+ "@heroui/spinner": "^2.2.26",
194
+ "@heroui/switch": "^2.2.26",
195
+ "@heroui/system": "^2.4.25",
196
+ "@heroui/theme": "^2.4.25"
165
197
  }
166
198
  }