Skip to content

Commit 2a09aec

Browse files
committed
fix: move @medusajs/ui and react-hook-form to peer deps
1 parent efef134 commit 2a09aec

2 files changed

Lines changed: 14 additions & 12 deletions

File tree

packages/medusa-forms/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
{
22
"name": "@lambdacurry/medusa-forms",
3-
"version": "0.2.7",
3+
"version": "0.2.8",
44
"main": "./dist/cjs/index.cjs",
55
"module": "./dist/esm/index.js",
66
"types": "./dist/types/index.d.ts",
7-
"files": [
8-
"dist"
9-
],
7+
"files": ["dist"],
108
"exports": {
119
".": {
1210
"import": {
@@ -47,14 +45,15 @@
4745
"type-check": "tsc --noEmit"
4846
},
4947
"peerDependencies": {
50-
"react": "^18.3.0 || ^19.0.0"
48+
"@medusajs/ui": "^4.0.0",
49+
"react": "^18.3.0 || ^19.0.0",
50+
"react-hook-form": "^7.49.0"
5151
},
5252
"dependencies": {
53-
"@hookform/error-message": "^2.0.1",
54-
"@medusajs/ui": "^4.0.13",
55-
"react-hook-form": "^7.57.0"
53+
"@hookform/error-message": "^2.0.1"
5654
},
5755
"devDependencies": {
56+
"@medusajs/ui": "^4.0.0",
5857
"@types/glob": "^8.1.0",
5958
"@types/react": "^19.0.0",
6059
"@typescript-eslint/eslint-plugin": "^6.21.0",
@@ -63,6 +62,7 @@
6362
"autoprefixer": "^10.4.20",
6463
"glob": "^11.0.0",
6564
"react": "^19.0.0",
65+
"react-hook-form": "^7.49.0",
6666
"tailwindcss": "^4.0.0",
6767
"typescript": "^5.7.2",
6868
"vite": "^5.4.11",

yarn.lock

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1854,7 +1854,7 @@ __metadata:
18541854
resolution: "@lambdacurry/medusa-forms@workspace:packages/medusa-forms"
18551855
dependencies:
18561856
"@hookform/error-message": "npm:^2.0.1"
1857-
"@medusajs/ui": "npm:^4.0.13"
1857+
"@medusajs/ui": "npm:^4.0.0"
18581858
"@types/glob": "npm:^8.1.0"
18591859
"@types/react": "npm:^19.0.0"
18601860
"@typescript-eslint/eslint-plugin": "npm:^6.21.0"
@@ -1863,14 +1863,16 @@ __metadata:
18631863
autoprefixer: "npm:^10.4.20"
18641864
glob: "npm:^11.0.0"
18651865
react: "npm:^19.0.0"
1866-
react-hook-form: "npm:^7.57.0"
1866+
react-hook-form: "npm:^7.49.0"
18671867
tailwindcss: "npm:^4.0.0"
18681868
typescript: "npm:^5.7.2"
18691869
vite: "npm:^5.4.11"
18701870
vite-plugin-dts: "npm:^4.4.0"
18711871
vite-tsconfig-paths: "npm:^5.1.4"
18721872
peerDependencies:
1873+
"@medusajs/ui": ^4.0.0
18731874
react: ^18.3.0 || ^19.0.0
1875+
react-hook-form: ^7.49.0
18741876
languageName: unknown
18751877
linkType: soft
18761878

@@ -1921,7 +1923,7 @@ __metadata:
19211923
languageName: node
19221924
linkType: hard
19231925

1924-
"@medusajs/ui@npm:^4.0.13":
1926+
"@medusajs/ui@npm:^4.0.0":
19251927
version: 4.0.13
19261928
resolution: "@medusajs/ui@npm:4.0.13"
19271929
dependencies:
@@ -12333,7 +12335,7 @@ __metadata:
1233312335
languageName: node
1233412336
linkType: hard
1233512337

12336-
"react-hook-form@npm:^7.51.0, react-hook-form@npm:^7.53.1, react-hook-form@npm:^7.57.0":
12338+
"react-hook-form@npm:^7.49.0, react-hook-form@npm:^7.51.0, react-hook-form@npm:^7.53.1":
1233712339
version: 7.57.0
1233812340
resolution: "react-hook-form@npm:7.57.0"
1233912341
peerDependencies:

0 commit comments

Comments
 (0)