Skip to content

Commit cde1e75

Browse files
Add publishing workflow to CLAUDE.md
Document the release process: version bump, build, test with coverage, npm publish, MCP registry publish, and git push. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 16ca882 commit cde1e75

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,36 @@ pnpm update-types # Update spec AND generate types (convenience)
278278
OURA_ACCESS_TOKEN=your_token npx ts-node scripts/validate-fixtures.ts # Compare fixtures to real API
279279
```
280280

281+
## Publishing Releases
282+
283+
**IMPORTANT:** After significant changes, publish to both npm AND MCP registry.
284+
285+
```bash
286+
# 1. Bump version
287+
npm version patch # or minor/major
288+
289+
# 2. Build, test, and verify coverage
290+
pnpm build && pnpm test:coverage
291+
292+
# 3. Publish to npm
293+
npm publish
294+
295+
# 4. Update server.json version to match package.json
296+
# Edit server.json: update both "version" fields to match
297+
298+
# 5. Publish to MCP registry
299+
npx @anthropic-ai/mcp-publisher publish
300+
301+
# 6. Push to GitHub
302+
git push && git push --tags
303+
```
304+
305+
**When to publish:**
306+
- New features or tools
307+
- Bug fixes
308+
- Documentation improvements that affect usage
309+
- NOT needed for: internal refactors, test-only changes, CLAUDE.md updates
310+
281311
## Testing Strategy
282312

283313
We use **Vitest** for testing with the following structure:

0 commit comments

Comments
 (0)