antfu-collective / icones

⚡️ Icon Explorer with Instant searching, powered by Iconify

Home Page:https://icones.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Version select

Avaray opened this issue · comments

Clear and concise description of the problem

Would be nice to have possibility to choose version of iconify, to see list of icons available only in that specific version.

I started using Astro with the only reasonable at this moment library astro-icon. Unfortunately astro-icon uses iconify/json in version 1.1.461 that was released 2 years ago. Most of my favourite icons are not there. I wish to know which icons are available, but I have no idea how to browse icons from that old versions. So, that's how this idea came about.

Suggested solution

Possibility to browse icons from old versions.

Alternative

Upload file of old version to be able to browse them?

Additional context

No response

Validations

Can't you just install latest @iconify/json as dependency?

edit: if npm complains about version mismatch, try pnpm instead. It can be configured to override dependency of any package.

Can't you just install latest @iconify/json as dependency?

edit: if npm complains about version mismatch, try pnpm instead. It can be configured to override dependency of any package.

Thanks for advice. I'm pretty sure I did it with pnpm at the very beginning and it didn't work. But I will try again tomorrow.

I am not sure if this is something that worth the effort to support something legacy. I think it would be more reasonable to wait for astro-icons to keep up-to-date. Otherwise you might fork this project and upgrade the icondata on your local to see.

I agree. Backward compatibility can be problematic.