Skip to content

chore(devoid): 0.4.0#6

Merged
ElijahKotyluk merged 5 commits into
mainfrom
chore/0.4.0
Apr 6, 2026
Merged

chore(devoid): 0.4.0#6
ElijahKotyluk merged 5 commits into
mainfrom
chore/0.4.0

Conversation

@ElijahKotyluk

@ElijahKotyluk ElijahKotyluk commented Apr 4, 2026

Copy link
Copy Markdown
Owner

Refactored module resolution into a shared module. Switched path lookups from Array.find() to Set.
Cleaned up the any types that were scattered across the CLI and analyzer — added AnalyzeOptions, ParsedArgs, etc.

New stuff:

--explain src/foo.ts:bar - traces who imports a file/export and shows re-export chains
--deps - compares package.json dependencies against actual imports, reports unused ones
--fail-on-unused - non-zero exit for CI
Config file support (devoid.config.json / .devoidrc) so you don't need to pass the same flags every time
Also fixed a false positive in the export usage test - the old resolution code was incorrectly marking a default export as "used" when nothing actually imported it.

@ElijahKotyluk ElijahKotyluk marked this pull request as ready for review April 6, 2026 03:34
@ElijahKotyluk ElijahKotyluk merged commit a159983 into main Apr 6, 2026
1 check passed
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.

1 participant