Repository navigation
v1.2.0 — JSON output mode
What's new
--json flag — outputs a single, clean machine-readable JSON object
instead of colored terminal text, designed for CI dashboards, GitHub bots,
editor extensions, or any tool that needs to parse results programmatically.
npx predeploy-check --json | jq '.summary'
--help --json and --version --json also return structured JSON, for
tools that want to introspect the CLI itself.
Under the hood
Refactored the core runner to separate result-collection from output
formatting, so the terminal output and JSON output now share a single
source of truth — they can't drift out of sync or disagree on a result.
Testing
Added 10 new tests covering the JSON output, including real end-to-end
CLI invocations (not just internal function calls), bringing the total
test suite to 59 tests.
Docs
Updated the README with a clearer opening description and full
documentation of the JSON output shape.
Full Changelog: https://github.com/Alok-Fusion/predeploy_check/commits/v1.2.0