Skip to content

Installation

bash npm install -D chronus

Create a .chronus/config.yaml file in the root of your monorepo:

.chronus/config.yaml
# Changelog generator — use "basic" or "@chronus/github/changelog" for PR links
changelog: basic
# Change kinds — customize the categories for your changelog
changeKinds:
breaking:
versionType: major
feature:
versionType: minor
fix:
versionType: patch
internal:
versionType: none
# Optional: filter which file changes require a changelog entry
changedFiles:
- "!**/*.md"
- "!**/*.test.ts"

Chronus auto-detects your monorepo setup. It supports:

EnvironmentDetection
pnpmpnpm-workspace.yaml
npmpackage.json with workspaces field
Rushrush.json
CargoCargo.toml with workspace section

See Supported Environments for full details.

  1. Make changes to your packages
  2. Add a changelog entry: npx chronus add
  3. Verify all changed packages have entries: npx chronus verify
  4. Bump versions and generate changelogs: npx chronus version
  5. Pack packages for publishing: npx chronus pack

For GitHub-enhanced changelogs with PR numbers and commit links, install the GitHub plugin:

Terminal window
npm install -D @chronus/github

Then update your config:

changelog: "@chronus/github/changelog"

See the Changelog Generator guide for details.