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
+1 -1
View File
@@ -6662,7 +6662,7 @@ __metadata:
peerDependencies:
awilix: ^8.0.1
ioredis: ^5.4.1
vite: ^5.4.14
vite: ^5 || ^6
peerDependenciesMeta:
ioredis:
optional: true