Skip to content

Conversation

ahmedShawareb567
Copy link

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. ⛈️

@ahmedShawareb567 ahmedShawareb567 requested a review from antfu as a code owner May 30, 2025 13:43
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@kevinmarrec
Copy link

@antfu I'd suggest to have similar option as recent dtsMode in https://github.com/unplugin/unplugin-auto-import

Ref: unplugin/unplugin-auto-import#549

@antfu
Copy link
Member

antfu commented Sep 12, 2025

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.

@kevinmarrec
Copy link

@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.

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.

3 participants