Skip to content

Live Commit Comparison v0.1.0

Latest

Choose a tag to compare

@AnkitPandit120 AnkitPandit120 released this 02 Dec 08:41

Open two commits on separate local ports and review the exact source diff.

  • compare-live-commits guides the full UI and code review.
  • commit-preview-pair starts isolated worktrees and live servers.
  • route-contract-diff compares HTTP status, redirects, server titles, and headings.

The attached tarballs install locally with npm. See the repository README for usage and platform requirements.

Compare routes from npm

npx --yes route-contract-diff@0.1.0 --before http://127.0.0.1:4173 --after http://127.0.0.1:4174 --route /

Use any two local servers. The report covers status, first redirect destination, title, and H1/H2 headings in server HTML. route-contract-diff on npm

For live Git previews, install the attached commit-preview-pair-0.1.0.tgz and run npx commit-preview-pair HEAD~1 HEAD --diff-file preview.patch in an npm app repository.

Read the practical examples on DEV.