Skip to content

docs: defer new-package release steps to the npm-bootstrap-package skill#563

Merged
ddeboer merged 2 commits into
mainfrom
chore/dry-npm-bootstrap-docs
Jul 7, 2026
Merged

docs: defer new-package release steps to the npm-bootstrap-package skill#563
ddeboer merged 2 commits into
mainfrom
chore/dry-npm-bootstrap-docs

Conversation

@ddeboer

@ddeboer ddeboer commented Jul 6, 2026

Copy link
Copy Markdown
Member

The ‘Releasing a new package’ section in AGENTS.md near-duplicated a private bootstrap runbook and had drifted from it: it still described the npmjs.com web-UI Trusted Publisher flow (superseded by the npm trust CLI), and the new-package starting version had been flipped to 0.1.0 based on an assumption the release history contradicts.

Changes

  • Condense ‘Releasing a new package’ to the why (Trusted Publishing cannot create a package, so the first version is manual), the pre-merge npm view check, and the manual essence: build first, npm publish --access public --otp without --provenance, then npm trust github … --allow-publish + npm access set mfa=publish. The web-UI Trusted Publisher walkthrough is replaced by the CLI commands.
  • Start new packages at 0.0.0, not 0.1.0. The first CI release bumps from the manifest over the package’s full history (no tag yet), it does not publish the manifest version as-is. Observed: search-typesense and text-normalization started at 0.0.0 and landed their first release at exactly 0.1.0, while pipeline-shacl-sampler, pre-set to 0.1.0, shipped 0.2.0 as its first-ever version.

https://claude.ai/code/session_01PDZBfA1bj35oc7Yqn1pc2n

ddeboer added 2 commits July 6, 2026 20:17
- Shrink ‘Releasing a new package’ to the why, the skill pointer, and a
  short no-skill essence (build first, publish without --provenance,
  npm trust + mfa=publish); the skill is the canonical procedure
- Replace the outdated npmjs.com web-UI Trusted Publisher walkthrough
  with the npm trust CLI equivalent
- Start new packages at version 0.0.0 instead of 0.1.0: nx release bumps
  from the manifest, so 0.1.0 with breaking commits overshot to 0.2.0

Claude-Session: https://claude.ai/code/session_01PDZBfA1bj35oc7Yqn1pc2n
- Remove the npm-bootstrap-package skill paragraph: the repo is public
  and outside contributors do not have that skill (the pointer now lives
  in project memory); keep the skill-free essence and the pre-merge
  npm view check
- Back the 0.0.0 starting version with the observed releases: 0.0.0
  landed search-typesense and text-normalization at 0.1.0, while
  pipeline-shacl-sampler pre-set to 0.1.0 shipped 0.2.0

Claude-Session: https://claude.ai/code/session_01PDZBfA1bj35oc7Yqn1pc2n
@ddeboer ddeboer merged commit 17108da into main Jul 7, 2026
2 checks passed
@ddeboer ddeboer deleted the chore/dry-npm-bootstrap-docs branch July 7, 2026 17:08
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