Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: type generation for local collection #130

Closed
wants to merge 36 commits into from
Closed

Conversation

stramel
Copy link
Collaborator

@stramel stramel commented Jul 14, 2023

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.

natemoo-re and others added 30 commits June 5, 2023 21:47
* chore: update ci to use pnpm

* chore(lint): Prettier fix

---------

Co-authored-by: Michael Stramel <michael.stramel@koyfin.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: convert core package to typescript

* update lockfile

* chore(lint): Prettier fix

---------

Co-authored-by: Michael Stramel <michael.stramel@koyfin.com>
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: remove Iconify requirement

* update lockfile

* chore(lint): Prettier fix

---------

Co-authored-by: Michael Stramel <michael.stramel@koyfin.com>
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* docs: update core README

* chore: update website to use latest code

* Remove Sprite references from demo

* Swap for correct dependency to install

* remove content

* update lockfile

* chore(lint): Prettier fix

---------

Co-authored-by: Michael Stramel <michael.stramel@koyfin.com>
Co-authored-by: Nate Moore <nate@astro.build>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: convert core package to typescript

* feat: remove Iconify requirement

* docs: update core README

* chore: update website to use latest code

* fix: improve typings and organization

* fix: generating icon type definitions

* chore(lint): Prettier fix

* fix readme

---------

Co-authored-by: Michael Stramel <michael.stramel@koyfin.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: allow svgo options to be passed

* chore(lint): Prettier fix

* cleanup merge conflicts

---------

Co-authored-by: Michael Stramel <michael.stramel@koyfin.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nate Moore <nate@astro.build>
* fix build

* chore(lint): Prettier fix

---------

Co-authored-by: Michael Stramel <michael.stramel@koyfin.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* improve error messaging

* chore(lint): Prettier fix

---------

Co-authored-by: Michael Stramel <michael.stramel@koyfin.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* improve readme

* chore(lint): Prettier fix

---------

Co-authored-by: Michael Stramel <michael.stramel@koyfin.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael Stramel <michael.stramel@koyfin.com>
* fix: prevent failing on missing local collection

* chore(lint): Prettier fix

---------

Co-authored-by: Michael Stramel <michael.stramel@koyfin.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael Stramel <michael.stramel@koyfin.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@stramel stramel added the bug Something isn't working label Jul 14, 2023
@stramel stramel added this to the v1 milestone Jul 14, 2023
@stramel stramel requested a review from natemoo-re July 14, 2023 04:06
@stramel stramel self-assigned this Jul 14, 2023
@changeset-bot
Copy link

changeset-bot bot commented Jul 14, 2023

🦋 Changeset detected

Latest commit: e1d8954

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
Copy link

vercel bot commented Jul 14, 2023

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

stramel and others added 2 commits October 11, 2023 00:35
* fix: correctly pass svgo options

* Create violet-experts-travel.md

---------

Co-authored-by: Michael Stramel <michael.stramel@koyfin.com>
@natemoo-re
Copy link
Owner

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

@natemoo-re natemoo-re closed this Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type generation during astro check doesn't include local collection
2 participants