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

Read package.json to determine installed icon packs #175

Merged
merged 3 commits into from Dec 28, 2023

Conversation

natemoo-re
Copy link
Owner

Instead of using npm ls to get the installed packages, we just read package.json directly. Although this has the drawback of not supporting nested dependencies, it does sidestep a number of issues when NODE_ENV=production or using different package managers with their own heuristics for the list command.

Fixes #165, fixes #171, fixes #173

Copy link

changeset-bot bot commented Dec 28, 2023

🦋 Changeset detected

Latest commit: 02ddbf9

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

Copy link

vercel bot commented Dec 28, 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 Dec 28, 2023 5:16pm
astroicon ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 28, 2023 5:16pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant