@rachelallyson/hero-hook-form 2.7.0 → 2.8.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@rachelallyson/hero-hook-form",
3
- "version": "2.7.0",
3
+ "version": "2.8.0",
4
4
  "description": "Typed form helpers that combine React Hook Form and HeroUI components.",
5
5
  "author": "Rachel Higley",
6
6
  "homepage": "https://rachelallyson.github.io/hero-hook-form/",
@@ -38,15 +38,18 @@
38
38
  "main": "./dist/index.js",
39
39
  "module": "./dist/index.js",
40
40
  "types": "./dist/index.d.ts",
41
+ "typesVersions": {
42
+ "*": {
43
+ "cypress": [
44
+ "./dist/cypress/index.d.ts"
45
+ ]
46
+ }
47
+ },
41
48
  "exports": {
42
49
  ".": {
43
50
  "types": "./dist/index.d.ts",
44
51
  "import": "./dist/index.js"
45
52
  },
46
- "./react": {
47
- "types": "./dist/react/index.d.ts",
48
- "import": "./dist/react/index.js"
49
- },
50
53
  "./cypress": {
51
54
  "types": "./dist/cypress/index.d.ts",
52
55
  "import": "./dist/cypress/index.js"
@@ -62,7 +65,7 @@
62
65
  "node": ">=18.0.0"
63
66
  },
64
67
  "scripts": {
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",
68
+ "build": "tsup src/index.ts --format esm --dts --clean && tsup src/cypress/index.ts --format esm --out-dir dist/cypress && cp src/cypress/index.d.ts dist/cypress/index.d.ts",
66
69
  "dev:build": "tsup src/index.ts --format esm --dts --watch",
67
70
  "lint": "eslint src",
68
71
  "typecheck": "tsc --noEmit",
@@ -77,7 +80,7 @@
77
80
  "docs:api": "typedoc"
78
81
  },
79
82
  "devDependencies": {
80
- "@cypress/vite-dev-server": "^7.0.1",
83
+ "@cypress/vite-dev-server": "^7.1.0",
81
84
  "@eslint/js": "^9.39.2",
82
85
  "@heroui/autocomplete": "^2",
83
86
  "@heroui/button": "^2.2.29",
@@ -94,15 +97,15 @@
94
97
  "@heroui/system": "^2.4.25",
95
98
  "@rachelallyson/eslint-config-node": "^1.0.1",
96
99
  "@rachelallyson/heroui-font-picker": "^1.0.0",
97
- "@types/node": "^25.0.6",
100
+ "@types/node": "^25.0.8",
98
101
  "@types/react": "^19.2.8",
99
102
  "@types/react-dom": "^19.2.3",
100
103
  "@vitejs/plugin-react": "^5.1.2",
101
- "cypress": "^15.8.2",
104
+ "cypress": "^15.9.0",
102
105
  "cypress-terminal-report": "^7.3.3",
103
106
  "eslint": "^9.39.2",
104
107
  "eslint-plugin-jsx-a11y": "^6.10.2",
105
- "eslint-plugin-prettier": "^5.5.4",
108
+ "eslint-plugin-prettier": "^5.5.5",
106
109
  "eslint-plugin-react": "^7.37.5",
107
110
  "eslint-plugin-simple-import-sort": "^12.1.1",
108
111
  "eslint-plugin-sort-destructure-keys": "^2.0.0",
@@ -111,11 +114,11 @@
111
114
  "jsdom": "^27.4.0",
112
115
  "react": "^19.2.3",
113
116
  "react-dom": "^19.2.3",
114
- "react-hook-form": "^7.71.0",
117
+ "react-hook-form": "^7.71.1",
115
118
  "tsup": "^8.5.1",
116
119
  "typedoc-plugin-markdown": "^4.9.0",
117
120
  "typescript": "^5.9.3",
118
- "typescript-eslint": "^8.52.0",
121
+ "typescript-eslint": "^8.53.0",
119
122
  "vite": "^7.3.1",
120
123
  "zod": "^4.3.5"
121
124
  },