Release Checklist (npm)
- Choose package name & scope
- Recommended: scoped name, e.g.,
@your-scope/a2dev. - Update
package.jsonfields:name: "@your-scope/a2dev"- Remove
"private": true repository.url: your Git HTTPS URLhomepage: your repo pagelicense: pick one (MIT/Apache-2.0/UNLICENSED etc.)
- Verify published contents
filesarray inpackage.jsonlimits contents to:bin/,a2a/**,a2dev_cli.py,a2a_cli.py,AGENTS.md,README_A2Dev.md,.a2dev/**,docs/PRD_SAMPLE.md,scripts/*,tools/codex_router_example.py,examples/*
- Adjust if you want to exclude examples.
- Build portable runner (optional)
npm run build:pyzto createa2dev.pyz(not included by default; you can add it tofilesif desired).
- Dry run
npm pack --dry-runto inspect contents.
- Publish
- Remove
private: true. npm publish --access public(for scoped packages).
- Verify install paths
- Fresh project:
npx @your-scope/a2dev install - Confirm it initializes
.a2dev/,docs/PRD.md, CLI shims, and runs bootstrap.
- Tag and changelog
- Tag
vX.Y.Zand update CHANGELOG if you maintain one.