A dependency health diagnostic tool for the MoonBit ecosystem.
Overview
MoonBit Depsight analyzes your moon.mod.json and recursively inspects the entire transitive dependency tree to surface risks before they become problems.
Features
Dependency Tree Visualization: Recursive resolution of transitive dependencies with ASCII tree rendering
Cycle Detection: DFS-based circular dependency detection with structured diagnostics (CYCLE-001)
Registry Abstraction: GitHub raw content fallback (main -> master) for fetching moon.mod.json
Roadmap
Size Attribution: Identify which packages bloat your final build artifact
Deprecated API Detection: Cross-package tracking of @deprecated usage across dependency layers
License Compliance: Automatic SPDX license identification and copyleft conflict warnings
Health Scoring: Quantified 0-100 health score per package based on version freshness, license compatibility, deprecated API density, and maintenance activity
Installation
moon add LittleFish/depsight
Usage
# Show dependency tree
depsight tree
# Run full audit
depsight audit
# Generate HTML report
depsight report --html -o report.html
Development
# Build for JS target
moon build --target js
# Run tests
moon test --target js
MoonBit Depsight
A dependency health diagnostic tool for the MoonBit ecosystem.
Overview
MoonBit Depsight analyzes your
moon.mod.jsonand recursively inspects the entire transitive dependency tree to surface risks before they become problems.Features
CYCLE-001)Diagnostic { level, code, message, path, suggestions }with JSON/terminal outputmain->master) for fetchingmoon.mod.jsonRoadmap
@deprecatedusage across dependency layersInstallation
Usage
Development
License
Apache-2.0