You
Remove dead exports from packages/ui.
Assistant
Subagents
1 / 1
Found 6 unused exports in packages/ui and removed them.
LegacyButton,OldModal,useDebouncedValue(replaced by the shared hook)- 3 icon wrappers with no importers
Type-check and tests pass. A subagent confirmed that none of the removed names appear in the docs site.
You
Which icon wrappers did you remove?
Assistant
The three icon wrappers were IconGhost, IconLegacyBell and IconOldPin. All had zero importers across the monorepo.
You
Could any of these be used by external consumers?
Assistant
Checked the published package: nothing in packages/ui is re-exported from the public entry point for these names, so no external consumers are affected.
You
Can we stop this from piling up again?
Assistant
Yes. Adding an unused-exports check to CI would catch these early. It takes one script and about 8 seconds per run.