Rulebearing Playground Coverage Schemas GitHub

ADR-0004: The graph document is an additive superset of dependency-cruiser's cruise-result schema

Context

In the reference monorepo the cruise JSON is read by a gate, a ratchet guard, an importer finder and a graph script. Those scripts read modules[].source, modules[].dependencies[].resolved, modules.length and summary.violations by name. A tool that only prints violations covers a third of the use; a tool that changes those names breaks every consumer.

Decision

The graph document has two layers in one JSON:

Consequences

Alternatives considered