Health check for the npm installation.
Validates the project's npm setup by checking for common issues: missing files, stale lockfiles, broken symlinks, etc.
Summary
Functions
Runs all health checks and returns results.
Formats check results for display.
Returns true if all checks pass (no errors).
Returns a summary of check results.
Types
Functions
@spec diagnose(String.t()) :: [check_result()]
Runs all health checks and returns results.
@spec format_results([check_result()]) :: String.t()
Formats check results for display.
Returns true if all checks pass (no errors).
@spec summary([check_result()]) :: %{ ok: non_neg_integer(), warn: non_neg_integer(), error: non_neg_integer() }
Returns a summary of check results.