icon icon indicating copy to clipboard operation
icon copied to clipboard

Deprecate nuxt-icon

Open dethdkn opened this issue 1 year ago • 3 comments

Hello! Could nuxt-icon (https://www.npmjs.com/package/nuxt-icon) be deprecated so that people don't mistakenly install it instead of @nuxt/icon (https://www.npmjs.com/package/@nuxt/icon)?

dethdkn avatar Jun 29 '24 21:06 dethdkn

We already added a runtime warning in the latest beta of nuxt-icon. For deprecating the npm library, it would be safer to wait for a while longer.

antfu avatar Jun 30 '24 01:06 antfu

@antfu I apologize for not seeing this warning. However, I believe this should be included in the latest version because most people use npm i nuxt-icon or pnpm add nuxt-icon, which installs version 0.6.10 that does not have this warning. I'm mentioning this because I noticed some colleagues mistakenly using the old version of nuxt-icon without realizing it.

I think it would make sense to release a 0.6.11 with the warning on nuxt-icon right? or set the 1.0.0-beta.7 version as the latest

Screenshot from 2024-06-29 22-41-18

dethdkn avatar Jun 30 '24 01:06 dethdkn

Good points, just set 1.0.0-beta.7 as the latest

antfu avatar Jun 30 '24 11:06 antfu