fix: remove outdated components
Description
Hotfix: Remove outdated components from components-info.json and components.d.ts to prevent incorrect type declarations and ensure consistency with current component exports. 🤖
Linked Issues
Additional context
I encountered an issue where deleted component files were not being removed from components-info.json and components.d.ts. This caused stale references to persist, even after the files were deleted. ⛈️
Run & review this pull request in StackBlitz Codeflow.
@antfu I'd suggest to have similar option as recent dtsMode in https://github.com/unplugin/unplugin-auto-import
Ref: https://github.com/unplugin/unplugin-auto-import/pull/549
I'd suggest to have similar option as recent dtsMode in
Yeah, I feel it would be better to have an option indeed instead of changing it back and forth. @kevinmarrec Would you like to help implement it? Thanks.
@antfu I created #882 if it can help.
Based on tests it looks great, but I'm unsure of all the behaviors in userland.
I'm not really using this plugin, but wanted to help, so it would be better if someone could try to use my PR version of the plugin to see if the solution fits to the initial problem.