chore(medusa-react): Move @medusajs/medusa to peerDeps in medusa-react (#1771)
* chore: Move @medusajs/medusa to peerDeps in medusa-react * update README
This commit is contained in:
1 parent
1d3032dc67
commit
f0704a7e17
2 files changed
+4
-4
No files matched your search
@@ -9,9 +9,9 @@ The library uses [react-query](https://react-query.tanstack.com/overview) as a s
|
|||||||
In order to install the package, run the following
|
In order to install the package, run the following
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install medusa-react react-query
|
npm install medusa-react react-query @medusajs/medusa
|
||||||
# or
|
# or
|
||||||
yarn add medusa-react react-query
|
yarn add medusa-react react-query @medusajs/medusa
|
||||||
```
|
```
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|||||||
@@ -23,7 +23,8 @@
|
|||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"react": ">=16",
|
"react": ">=16",
|
||||||
"react-query": ">= 3.29.0"
|
"react-query": ">= 3.29.0",
|
||||||
|
"@medusajs/medusa": "^1.3.2"
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
"hooks": {
|
"hooks": {
|
||||||
@@ -80,7 +81,6 @@
|
|||||||
"typescript": "^4.5.2"
|
"typescript": "^4.5.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@medusajs/medusa": "^1.3.2",
|
|
||||||
"@medusajs/medusa-js": "^1.2.2",
|
"@medusajs/medusa-js": "^1.2.2",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
|
|||||||
Reference in new issue
Block a user