Add Changeset
First Todo list item: Find the code in this PR to get context.
Instructions
- •If the user does not specify one of
patch,minor, ormajor, use AskUserQuestion to prompt them:- •patch: Bug fixes, small changes (backwards compatible)
- •minor: New features (backwards compatible)
- •major: Breaking changes
Only prompt if they do not provide it
- •
Create a changeset file in
.changeset/directory with a descriptive name based on the feature or change (e.g.,add-dark-mode.md,fix-login-bug.md,rename-config-fields.md) - •
Add a todo at the end to verify the changeset with
bun run changeset status
Example Changeset
File: .changeset/add-export-feature.md
markdown
--- "patchy-cli": patch --- Add CSV export functionality for usage metrics
Changeset Format
markdown
--- "package-name": patch|minor|major --- Description of the change (used in CHANGELOG)
Naming Convention
Name changeset files descriptively based on the change:
- •
add-dark-mode.md(new feature) - •
fix-auth-timeout.md(bug fix) - •
rename-config-fields.md(refactor) - •
breaking-api-v2.md(breaking change)
Avoid random/generated filenames.