Adding Changesets
Interactive Mode
bash
tspub changeset addThis prompts you for:
- Bump type —
patch,minor, ormajor - Summary — A short description of the change
The changeset is saved as a markdown file in .changeset/:
.changeset/
├── README.md
└── cool-lions-dance.mdChangeset Format
markdown
---
"my-package": minor
---
Added support for custom themesIn monorepos, multiple packages can be in one changeset:
markdown
---
"@scope/core": minor
"@scope/cli": patch
---
Added theme API to core, updated CLI to support --theme flagWhen to Add a Changeset
Add a changeset when your change:
- Adds new functionality (minor)
- Fixes a bug (patch)
- Introduces breaking changes (major)
- Changes public API types (minor or major)
Don't add a changeset for:
- Documentation-only changes
- Internal refactors that don't affect the public API
- Test-only changes
- CI/build tooling changes