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:
committed by
GitHub
parent
1d3032dc67
commit
f0704a7e17
@@ -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
|
||||
|
||||
```bash
|
||||
npm install medusa-react react-query
|
||||
npm install medusa-react react-query @medusajs/medusa
|
||||
# or
|
||||
yarn add medusa-react react-query
|
||||
yarn add medusa-react react-query @medusajs/medusa
|
||||
```
|
||||
|
||||
## Quick Start
|
||||
|
||||
@@ -23,7 +23,8 @@
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=16",
|
||||
"react-query": ">= 3.29.0"
|
||||
"react-query": ">= 3.29.0",
|
||||
"@medusajs/medusa": "^1.3.2"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
@@ -80,7 +81,6 @@
|
||||
"typescript": "^4.5.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@medusajs/medusa": "^1.3.2",
|
||||
"@medusajs/medusa-js": "^1.2.2",
|
||||
"lodash": "^4.17.21",
|
||||
"lodash-es": "^4.17.21",
|
||||
|
||||
Reference in New Issue
Block a user