banira diff

Compare two custom-elements.json files and report API changes with a suggested semver release type — useful as a release gate.

Usage

$ banira diff <baseline> <current> [options]

Arguments

ArgumentDescription
<baseline>Baseline custom-elements.json.
<current>Current custom-elements.json.

Options

OptionDescription
--jsonEmit the diff as JSON.

Examples

compare two manifests
$ banira diff old/custom-elements.json custom-elements.json

Notes

Removals / type changes suggest major, additions suggest minor, otherwise patch. See CI & release for wiring it into a release gate.