natemoo-re / astro-icon

Inline and sprite-based SVGs in Astro made easy!
https://astroicon.dev
Other
992 stars 57 forks source link

fix: type generation for local collection #130

Closed stramel closed 6 months ago

stramel commented 11 months ago

Fixes #126

Running astro check doesn't trigger the load function so it currently fails on local collection. We need to add it for the initial run.

Separately we need to look into updating the virtual module to handle new icons for local collection.

changeset-bot[bot] commented 11 months ago

🦋 Changeset detected

Latest commit: e1d8954d4403368e3154ce8527c5ef45e4416491

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------- | ----- | | astro-icon | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 11 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-astroicon ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 12, 2023 10:10pm
astroicon ❌ Failed (Inspect) Oct 12, 2023 10:10pm
natemoo-re commented 6 months ago

I made very similar changes directly in #111 so I'm going to close this! Thanks for tackling this, though!