28 lines
773 B
Markdown
28 lines
773 B
Markdown
# Changesets
|
|
|
|
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
|
|
with multi-package repos, or single-package repos to help you version and publish your code. You can
|
|
find the full documentation for it [in the repository](https://github.com/changesets/changesets).
|
|
|
|
## Usage
|
|
|
|
When you make a change that needs to be released:
|
|
|
|
```bash
|
|
pnpm changeset
|
|
```
|
|
|
|
This will prompt you to:
|
|
1. Select which packages have changed
|
|
2. Choose a semver bump type (major/minor/patch)
|
|
3. Provide a summary of the changes
|
|
|
|
A changeset markdown file will be created in this directory.
|
|
|
|
When it's time to release:
|
|
|
|
```bash
|
|
pnpm changeset version # Apply version bumps and update changelogs
|
|
pnpm changeset publish # Publish to npm
|
|
```
|