Build

Validate in CI

Fail a build on bad content before it ships.

justjson validate walks your content/ and reports anything that would break your build: missing required fields, type mismatches, broken relations, duplicate slugs, and images pointing at missing media. It exits non-zero on errors:

npx @kdrgny/justjson validate          # human-readable
npx @kdrgny/justjson validate --json   # machine-readable, for CI
npx @kdrgny/justjson validate --strict # warnings fail too