fix(types): Allow providing either vite@5 or vite@6 for the peer dependency (#11581)
**What** - The types package has an optional peerDep on vite@5. This causes issues if the package is installed in a repo that has vite@6 installed. An example could be a `react-router/remix` storefront. - Loosen the dependency to accept either vite@5 or vite@6. Resolves SUP-970
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/types": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix(types): Allow providing either vite@5 or vite@6 for the peer dependency
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"awilix": "^8.0.1",
|
"awilix": "^8.0.1",
|
||||||
"ioredis": "^5.4.1",
|
"ioredis": "^5.4.1",
|
||||||
"vite": "^5.4.14"
|
"vite": "^5 || ^6"
|
||||||
},
|
},
|
||||||
"peerDependenciesMeta": {
|
"peerDependenciesMeta": {
|
||||||
"ioredis": {
|
"ioredis": {
|
||||||
|
|||||||
Reference in New Issue
Block a user