Using Changesets
lazyenv uses Changesets for version management.
Creating a Changeset
Section titled “Creating a Changeset”When making changes:
pnpm changesetFollow the prompts:
- Select packages that changed
- Choose version bump type (major/minor/patch)
- Write a summary of changes
Changeset Types
Section titled “Changeset Types”- Major: Breaking changes
- Minor: New features (backwards compatible)
- Patch: Bug fixes
Example
Section titled “Example”$ pnpm changeset
🦋 Which packages would you like to include?◉ lazyenv
🦋 Which type of change is this for lazyenv?◯ major◉ minor◯ patch
🦋 Please enter a summary for this change:Add support for custom environment namesWorkflow
Section titled “Workflow”- Make your changes
- Create a changeset:
pnpm changeset - Commit the changeset file
- Create a pull request
- PR will automatically version and publish
Changeset File
Section titled “Changeset File”Generated in .changeset/:
---"lazyenv": minor---
Add support for custom environment namesCommit this file with your changes.
Publishing
Section titled “Publishing”Handled automatically by GitHub Actions when PR is merged.