This project uses Changesets for version management and automated releases.
When you make changes that should be released, create a changeset:
pnpm changesetThis will prompt you to:
- Select the package to release (
pcu) - Choose the version bump type (
patch,minor,major) - Write a summary of the changes
A markdown file will be created in .changeset/ directory.
git add .changeset/*.md
git commit -m "chore: add changeset for <feature>"
git pushWhen changes are merged to main:
- CI detects pending changesets
- Creates a "Version Packages" PR that:
- Bumps version in
package.json - Updates
CHANGELOG.md - Removes consumed changeset files
- Bumps version in
- Merging this PR triggers the publish workflow
- Package is published to npm as both
pcuandpnpm-catalog-updates
| Type | When to Use | Example |
|---|---|---|
patch |
Bug fixes, documentation | 1.0.0 -> 1.0.1 |
minor |
New features (backward compatible) | 1.0.0 -> 1.1.0 |
major |
Breaking changes | 1.0.0 -> 2.0.0 |
For emergency releases when CI is unavailable:
npm login
pnpm releaseNote: This bypasses changesets and directly publishes the current version.
---
'pcu': minor
---
feat: add AI-powered dependency analysis
- Add `pcu ai` command
- Add `--ai` flag for update command
- Support multiple AI providers