Skip to content

Commit 9083808

Browse files
committed
docs: add release process documentation to CLAUDE.md
Documents changesets workflow for version management and npm publishing.
1 parent e5017a8 commit 9083808

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

CLAUDE.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,29 @@ bun run build # Build for production
8383
## Commit Convention
8484

8585
Uses Conventional Commits: `feat:`, `fix:`, `docs:`, `test:`, `refactor:`, `chore:`
86+
87+
## Release Process
88+
89+
Uses [changesets](https://github.com/changesets/changesets) for version management and npm publishing.
90+
91+
### Creating a Changeset
92+
93+
When making changes that should be released:
94+
```bash
95+
bun run changeset
96+
```
97+
Follow the prompts to select version bump type (patch/minor/major) and describe the change.
98+
99+
### Release Workflow
100+
101+
1. Create a changeset with your PR
102+
2. Merge PR to main
103+
3. GitHub Action creates a "Release" PR with version bumps
104+
4. Merge the Release PR to publish to npm
105+
106+
### Manual Release
107+
108+
```bash
109+
bun run changeset version # Apply version bumps from changesets
110+
bun run release # Build and publish to npm
111+
```

0 commit comments

Comments
 (0)