Skip to content

Commit a688f47

Browse files
authored
fix: change to peerDependencies (#135)
* fix: change to `peerDependencies` * fix: change to `peerDependencies`
1 parent caa7572 commit a688f47

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

package-lock.json

+8-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/react/package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,17 @@
2323
"@types/react-dom": "^18.2.19",
2424
"eslint": "^8.57.0",
2525
"tsup": "^8.3.0",
26-
"typescript": "^5.3.3"
26+
"typescript": "^5.3.3",
27+
"react-hook-form": "^7.53.0"
2728
},
2829
"dependencies": {
2930
"@autoform/core": "*",
3031
"@autoform/zod": "*",
3132
"@autoform/yup": "*",
3233
"@hookform/resolvers": "^3.9.0",
33-
"react": "^18.2.0",
34+
"react": "^18.2.0"
35+
},
36+
"peerDependencies": {
3437
"react-hook-form": "^7.53.0"
3538
}
3639
}

packages/shadcn/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"@types/react-dom": "^18.2.19",
3232
"autoprefixer": "^10",
3333
"eslint": "^8.57.0",
34+
"react-hook-form": "^7.53.0",
3435
"postcss": "^8",
3536
"postcss-load-config": "^6",
3637
"tailwindcss": "*",
@@ -54,13 +55,13 @@
5455
"lucide-react": "*",
5556
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
5657
"react-day-picker": "^8.10.1",
57-
"react-hook-form": "^7.53.0",
5858
"tailwind-merge": "^2.3.0",
5959
"tailwindcss-animate": "^1.0.7",
6060
"tsup": "^8.3.0",
6161
"zod": "^3.23.8"
6262
},
6363
"peerDependencies": {
64-
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
64+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
65+
"react-hook-form": "^7.53.0"
6566
}
6667
}

0 commit comments

Comments
 (0)