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:
Kasper Fabricius Kristensen
2025-02-25 18:59:38 +00:00
committed by GitHub
parent 8bb0a25f57
commit d814d9540e
3 changed files with 7 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/types": patch
---
fix(types): Allow providing either vite@5 or vite@6 for the peer dependency