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:
committed by
GitHub
parent
8bb0a25f57
commit
d814d9540e
5
.changeset/neat-feet-change.md
Normal file
5
.changeset/neat-feet-change.md
Normal file
@@ -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": {
|
||||
"awilix": "^8.0.1",
|
||||
"ioredis": "^5.4.1",
|
||||
"vite": "^5.4.14"
|
||||
"vite": "^5 || ^6"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"ioredis": {
|
||||
|
||||
Reference in New Issue
Block a user