Repository navigation
docs: link the changelog from the README and ship it in the npm package - #11
Merged
Merged
Conversation
An installed copy then carries the release notes, including breaking error-code changes, so an agent can read them offline. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Make the release-please changelog discoverable now that release-please is working.
What Changed
CHANGELOG.mdto thefileslist inpackage.json, so the published npm package includes the release-please release notes.## Changelogsection toREADME.md, just before License. It linksCHANGELOG.mdand GitHub Releases, says release-please writes the file so nobody should edit it by hand, and explains that breaking changes (such as a renamed error code) appear under "⚠ BREAKING CHANGES" and bump the minor version while the package is below 1.0.build:/docs:commits, they don't trigger a release, and the changelog first reaches npm with the nextfeat/fixrelease.🤖 Generated with Claude Code
Risk Assessment
✅ Low: The change only adds CHANGELOG.md to package.json "files" and a README Changelog section placed just before License. Both match the intent, and the README's claims (breaking changes appear under "⚠ BREAKING CHANGES" and bump the minor version while below 1.0) agree with release-please-config.json, which sets bump-minor-pre-major.
Testing
This change only touches documentation and packaging, with no UI and no runtime code, so I didn't run the unit tests. I ran the real npm packer (
npm pack --dry-run) and it lists CHANGELOG.md in the package. Git history shows only release-please has ever written CHANGELOG.md, and the branch doesn't touch it. The README's Changelog section sits right before License and matches the shared axi-playbook template word for word. Everything passed, and I left no files behind in the worktree.Evidence: Verification transcript: template diff, README heading order, packed file list, CHANGELOG authorship
Evidence: npm pack --dry-run JSON manifest (shows CHANGELOG.md is in the tarball)
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
npm pack --dry-run --json --ignore-scripts: runs the real packer, which includes CHANGELOG.md alongside README.md, LICENSE, package.json and the skill (dist/ wasn't built, so it's missing from this dry run)git log -- CHANGELOG.md: the only author is github-actions[bot] (release-please 0.1.1), and the branch ff391b5..b5d3dea has no commits touching CHANGELOG.mdgrep -n '^## ' README.md: Changelog sits at line 102, directly before License at line 108Compared the README Changelog section with ~/Projects/axi/axi-playbook/templates/README.md (<vendor>replaced with calcom) usingdiff: identical; it also matches the netlify-axi READMERead release-please-config.json:bump-minor-pre-majoris true, which backs the README's claim that breaking changes bump the minor version below 1.0Checked the branch's commit types:build:(19e2773) anddocs:(b5d3dea), neither of which releases✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.