This repository has been archived by the owner on Feb 10, 2025. It is now read-only.
fix(cloudflare): Fixes peer dependency conflict #344
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
@inox-tools/astro-when
0.2.0 has a peer dependency requirement on Astro^4.12.2
while the Cloudflare adapter has a peer dependency on^4.10
. This could cause issues for people trying to update the adapter with Astro version 4.10.x and 4.11.x.Astro When doesn't require anything from 4.12; it had that requirement just by using the same as all other Inox Tools. I released version 0.2.1 with the restriction relaxed to
^4
. Since the dependency on Astro When is^0.2.0
consumer projects will already get the update, but I think it is safer to enforce the minimal correct version on the dependency.