Skip to content

docs: link the changelog from the README and ship it in the npm package - #11

Merged
simkimsia merged 2 commits into
mainfrom
docs/changelog
Oct 4, 2026
Merged

simkimsia merged 2 commits into
mainfrom
docs/changelog

Conversation

@simkimsia

Copy link
Copy Markdown
Owner

Intent

Make the release-please changelog discoverable now that release-please is working.

  • release-please stays the only author of CHANGELOG.md; nothing hand-edits it, and there is no hand-kept Unreleased section.
  • CHANGELOG.md is added to package.json "files" so the installed npm package carries its release notes (e.g. breaking error-code renames).
  • README gains a "## Changelog" section, just before License, linking CHANGELOG.md and GitHub Releases. Wording is shared across all four vendor axis and the axi-playbook README template, so keep it identical.
  • build: and docs: commits deliberately do not trigger a release; the file reaches npm with the next feat/fix release.

What Changed

  • Added CHANGELOG.md to the files list in package.json, so the published npm package includes the release-please release notes.
  • Added a ## Changelog section to README.md, just before License. It links CHANGELOG.md and 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.
  • No CLI behavior changes. Because these are build:/docs: commits, they don't trigger a release, and the changelog first reaches npm with the next feat/fix release.

🤖 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
# README Changelog section vs axi-playbook template (<vendor>=calcom)
IDENTICAL

# README headings
10:## Status
14:## Requirements
21:## Install
40:## Usage
79:## Agent skill
92:## Development
102:## Changelog
108:## License

# npm pack --dry-run (non-dist files)
CHANGELOG.md
LICENSE
README.md
package.json
skills/calcom-axi/SKILL.md

# CHANGELOG.md authors
ff391b5 github-actions[bot] chore(main): release calcom-axi 0.1.1

# commits on branch touching CHANGELOG.md
       0
Evidence: npm pack --dry-run JSON manifest (shows CHANGELOG.md is in the tarball)
[
  {
    "id": "@simkimsia/calcom-axi@0.1.1",
    "name": "@simkimsia/calcom-axi",
    "version": "0.1.1",
    "size": 5180,
    "unpackedSize": 11502,
    "shasum": "629bb28acbf8c147a08fd17d1914071f3a09acc5",
    "integrity": "sha512-Tl/vBgjxk5NoUv35HhW6P3e3Omz6Q7p0DmDGtnswOXjGTv22HHqCFOK2aMIXEm9sbDKYM4JVCKo0xkQEVQSqkg==",
    "filename": "simkimsia-calcom-axi-0.1.1.tgz",
    "files": [
      {
        "path": "CHANGELOG.md",
        "size": 946,
        "mode": 420
      },
      {
        "path": "LICENSE",
        "size": 1067,
        "mode": 420
      },
      {
        "path": "README.md",
        "size": 4147,
        "mode": 420
      },
      {
        "path": "package.json",
        "size": 1223,
        "mode": 420
      },
      {
        "path": "skills/calcom-axi/SKILL.md",
        "size": 4119,
        "mode": 420
      }
    ],
    "entryCount": 5,
    "bundled": []
  }
]

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.md
  • grep -n &#39;^## &#39; README.md: Changelog sits at line 102, directly before License at line 108
  • Compared the README Changelog section with ~/Projects/axi/axi-playbook/templates/README.md (&lt;vendor&gt; replaced with calcom) using diff: identical; it also matches the netlify-axi README
  • Read release-please-config.json: bump-minor-pre-major is true, which backs the README's claim that breaking changes bump the minor version below 1.0
  • Checked the branch's commit types: build: (19e2773) and docs: (b5d3dea), neither of which releases
✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

simkimsia and others added 2 commits October 4, 2026 10:54
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>
@simkimsia
simkimsia merged commit 2fb735e into main Oct 4, 2026
2 checks passed
@simkimsia
simkimsia deleted the docs/changelog branch October 4, 2026 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant