Skip to content
Back to archipelago.banuacoder.com

DevTools

changelog_generator Free ​

Tier
Freeversion 1.0.4
Command
archipelago generate changelog_generator
Generates
  • devtools/scripts/changelog_generator
Depends on
monorepo_toolkitgenerate these first

Conventional Commit changelog generation. Adds the changelog command to the base monorepo_toolkit.

Variables ​

VariableTypeDefaultDescription
appNamestringMyAppThe name of your application
isForMonorepobooleantrueWhether this is being generated as part of a monorepo

Install ​

bash
archipelago generate changelog_generator

The monorepo scaffold generates it. Requires monorepo_toolkit: post_gen adds the script as a path dependency and injects ChangelogCommand() into command_runner.dart's free-command list.

Generated Structure ​

text
devtools/
└── scripts/
    └── changelog_generator/
        ├── lib/src/{commands,models,services}/
        ├── test/changelog_service_test.dart
        └── pubspec.yaml

Usage ​

See Changelog for the flags and the groups.

bash
dart run monorepo_toolkit changelog --version 1.4.0

Dependencies ​

path, args, plus shared_scripts (workspace path dependency). Dev: test.

Limitations ​

  • The group list is fixed (Breaking changes, Features, Fixes, Performance, Other); there is no config file.
  • Commit subjects are copied as written. Entries carry no commit hash or link.