Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boringstack-xyz/boringstack
/ check-unused-components.mjs
File
check-unused-components.mjs
apps/docs/scripts/check-unused-components.mjs:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env node
2
/*
3
* Fail
if
any React component under src/components is never referenced
4
* elsewhere in src. apps/docs has no knip (its Astro/MDX entry graph makes
Callers
nothing calls this directly
Calls
2
error
Method · 0.80
walk
Function · 0.70
Tested by
no test coverage detected