Skip to content

chore: remove simple-icons dependency#160

Merged
masuP9 merged 2 commits intomainfrom
chore/remove-simple-icons
Mar 15, 2026
Merged

chore: remove simple-icons dependency#160
masuP9 merged 2 commits intomainfrom
chore/remove-simple-icons

Conversation

@masuP9
Copy link
Copy Markdown
Owner

@masuP9 masuP9 commented Mar 14, 2026

Summary

  • Remove simple-icons package dependency (was ~16MB)
  • Simplify Icon component by removing dual icon source logic and x.com special case
  • All icons now sourced from lucide-static only (GitHub icon included)

Changes

  • src/components/ui/icon/icon.astro: Remove simple-icons glob, x.com handling, dual rendering paths, and unused hrefMap entries
  • package.json: Remove simple-icons from dependencies

Test plan

  • npm run build passes
  • CI passes (build, lint, format, unit tests, e2e tests)
  • GitHub icon renders correctly in header/footer

🤖 Generated with Claude Code

simple-icons was only used for brand icons (X/Twitter etc.) in the Icon
component, but none were actually referenced in the site. The GitHub
icon is available in lucide-static, so simple-icons is unnecessary.

This also simplifies the Icon component by removing the dual icon source
logic and the x.com special case.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Mar 14, 2026

Deploying apg-patterns-examples with  Cloudflare Pages  Cloudflare Pages

Latest commit: db1b473
Status: ✅  Deploy successful!
Preview URL: https://16f312fa.apg-patterns-examples.pages.dev
Branch Preview URL: https://chore-remove-simple-icons.apg-patterns-examples.pages.dev

View logs

@masuP9 masuP9 merged commit 694e468 into main Mar 15, 2026
17 checks passed
@masuP9 masuP9 deleted the chore/remove-simple-icons branch March 15, 2026 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant