A PHP tool built to generate a changelog from a project's commit messages and metadata following the conventionalcommits.org and automate versioning with semver.org.
Hi, when I execute $ vendor/bin/conventional-changelog --history the version key is added to composer.json.
Is there an option to disable this ? (I looked and I can't found anything).
The reasons are:
We use 2 spaces as tabulation in composer.json, but vendor/bin/conventional-changelog forces to use 4 spaces. So all lines are modified. (FYI tabulation is respected when we install new dependencies with composer).
The hash in composer.lock is not updated, so $ composer validate throws an error. I can execute $ composer update but I don't want to update all my dependencies.
Not everybody in my team uses vendor/bin/conventional-changelog, so version in composer.json will be inconsistent with reality. (we only want to create a changelog file, and not to create an actual release)
Maybe an option like --composer/--no-composer might be useful. Than you :)
Hi, when I execute
$ vendor/bin/conventional-changelog --history
the version key is added tocomposer.json
. Is there an option to disable this ? (I looked and I can't found anything).The reasons are:
composer.json
, butvendor/bin/conventional-changelog
forces to use 4 spaces. So all lines are modified. (FYI tabulation is respected when we install new dependencies withcomposer
).composer.lock
is not updated, so$ composer validate
throws an error. I can execute$ composer update
but I don't want to update all my dependencies.vendor/bin/conventional-changelog
, so version incomposer.json
will be inconsistent with reality. (we only want to create a changelog file, and not to create an actual release)Maybe an option like
--composer/--no-composer
might be useful. Than you :)