Installation
Install the CLI
Section titled “Install the CLI”bash npm install -D chronus bash pnpm add -D chronus bash yarn add -D chronus bash npx chronus Initialize configuration
Section titled “Initialize configuration”Create a .chronus/config.yaml file in the root of your monorepo:
# Changelog generator — use "basic" or "@chronus/github/changelog" for PR linkschangelog: basic
# Change kinds — customize the categories for your changelogchangeKinds: breaking: versionType: major feature: versionType: minor fix: versionType: patch internal: versionType: none
# Optional: filter which file changes require a changelog entrychangedFiles: - "!**/*.md" - "!**/*.test.ts"Workspace detection
Section titled “Workspace detection”Chronus auto-detects your monorepo setup. It supports:
| Environment | Detection |
|---|---|
| pnpm | pnpm-workspace.yaml |
| npm | package.json with workspaces field |
| Rush | rush.json |
| Cargo | Cargo.toml with workspace section |
See Supported Environments for full details.
Basic workflow
Section titled “Basic workflow”- Make changes to your packages
- Add a changelog entry:
npx chronus add - Verify all changed packages have entries:
npx chronus verify - Bump versions and generate changelogs:
npx chronus version - Pack packages for publishing:
npx chronus pack
GitHub integration
Section titled “GitHub integration”For GitHub-enhanced changelogs with PR numbers and commit links, install the GitHub plugin:
npm install -D @chronus/githubThen update your config:
changelog: "@chronus/github/changelog"See the Changelog Generator guide for details.
Next steps
Section titled “Next steps”- CLI Reference — Full command documentation
- Change Kinds — Customize changelog categories
- Version Policies — Independent vs. lockstep versioning
- Prereleases — Automatic prerelease version bumps