lilnasy / gratelets

A collection of purpose-built, small, third-party integrations for Astro.
The Unlicense
105 stars 6 forks source link

[astro-global] Support Astro v5 #100

Open kjkent opened 1 month ago

kjkent commented 1 month ago

Astro v5 is currently in beta, and astro-global gives an unmet peer dependency warning if using it. I'm not sure if Astro's updates require any changes to astro-global; at a glance, the necessity for src/env.d.ts is gone, as Astro will now keep its type references in .astro/types.d.ts

lilnasy commented 4 weeks ago

Can you create and share a small minimal project showing the incompatibility? Also does the dependency warning exist with npm and pnpm?

kjkent commented 3 weeks ago

@lilnasy sure! Will do when I'm back on a pc. After some testing, it seems to work just fine on the latest beta, even without the src/env.d.ts file, so it's just the dependency warning. It's there on pnpm but I'll check npm when I'm back.