0.4.0
A Deno native way to manage versioning and changelogs.
Attributes
Includes Deno configuration
Repository
Current version released
a year ago
deno_changesets
🦕 Deno native way to manage versioning and changelogs.
deno run --unstable --allow-read --allow-write --allow-run https://deno.land/x/deno_changesets/main.ts --help
Getting started
There are a few constraints to consider when using deno_changesets:
- Versioning follows semver
- Changelogs follow keep a changelog
- Versions are stored as git tags
- Repositories should expose a single module (subdirectory support coming soon)
- Enforces minor only bumps when pre 1.0
See: Adding a module on the Deno docs.
Creating a changeset
Creates a new changeset inside the .changeset
folder.
➜ deno run --unstable --allow-read --allow-write --allow-run https://deno.land/x/deno_changesets/main.ts create
? Select a module (deno_changesets) › deno_changesets
? What type of change? › added
? Description › Prompts when creating a changeset now come with hints.
? Confirm (y/n) › Yes
Options
Option | Description |
---|---|
–commit -C | Commits the changeset after creation. |
Releasing
Releasing collects all previously created changsets, translates them to a version bump (patch, minor, major) with the highest taking precedence, updates changelogs, and then pushes to remote.
➜ deno run --unstable --allow-read --allow-write --allow-run https://deno.land/x/deno_changesets/main.ts release
? Will publish from 0.1.0 to 0.2.0 (y/n) › Yes
Options
Option | Description |
---|---|
–prod-ready -P | Releases a 1.0 version, will error if already 1.0 or above. |