From 4632a2e509f1bb2b9504c16fec1d68f23e1f8bea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Sun, 12 Nov 2023 16:56:19 +0100 Subject: [PATCH] feat: add package to auto-generate changelogs --- .changelog | 5 ++++ composer.json | 6 ++-- composer.lock | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 87 insertions(+), 3 deletions(-) create mode 100644 .changelog diff --git a/.changelog b/.changelog new file mode 100644 index 0000000..1f6d646 --- /dev/null +++ b/.changelog @@ -0,0 +1,5 @@ + ['ConventionalChangelog\PackageBump\ComposerJson'], +]; diff --git a/composer.json b/composer.json index f89834c..a622d0f 100644 --- a/composer.json +++ b/composer.json @@ -116,6 +116,7 @@ }, "require-dev": { "deployer/deployer": "^7.3", + "marcocesarato/php-conventional-changelog": "^1.17", "phpunit/phpunit": "^9.5", "symfony/browser-kit": "6.3.*", "symfony/css-selector": "6.3.*", @@ -124,5 +125,6 @@ "symfony/phpunit-bridge": "^6.3", "symfony/stopwatch": "6.3.*", "symfony/web-profiler-bundle": "6.3.*" - } -} + }, + "version": "0.0.1" +} \ No newline at end of file diff --git a/composer.lock b/composer.lock index 7358a64..14a6e3f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "78e56675252a12b859ccf75a9ccda8e2", + "content-hash": "df338b352545df0665c61f700f265651", "packages": [ { "name": "beberlei/doctrineextensions", @@ -9122,6 +9122,83 @@ ], "time": "2023-10-27T21:33:56+00:00" }, + { + "name": "marcocesarato/php-conventional-changelog", + "version": "1.17.0", + "source": { + "type": "git", + "url": "https://github.com/marcocesarato/php-conventional-changelog.git", + "reference": "9269b0a3198d2107322f9f9a0fca399719825f67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/marcocesarato/php-conventional-changelog/zipball/9269b0a3198d2107322f9f9a0fca399719825f67", + "reference": "9269b0a3198d2107322f9f9a0fca399719825f67", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": ">=7.1.3", + "symfony/console": "^4 || ^5 || ^6" + }, + "require-dev": { + "brainmaestro/composer-git-hooks": "^2.8", + "friendsofphp/php-cs-fixer": "^3.8", + "php-mock/php-mock": "^2.3", + "php-mock/php-mock-phpunit": "^2.6", + "phpunit/phpunit": "^9.6" + }, + "bin": [ + "conventional-changelog" + ], + "type": "library", + "extra": { + "hooks": { + "pre-commit": "composer fix-cs", + "pre-push": "composer check-cs", + "post-merge": "composer install" + } + }, + "autoload": { + "psr-4": { + "ConventionalChangelog\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0-or-later" + ], + "authors": [ + { + "name": "Marco Cesarato", + "email": "cesarato.developer@gmail.com" + } + ], + "description": "Generate changelogs and release notes from a project's commit messages and metadata and automate versioning with semver.org and conventionalcommits.org", + "keywords": [ + "changelog", + "commit", + "commits", + "convention", + "conventional", + "conventional-changelog", + "conventional-changelog-preset", + "conventional-commit", + "conventional-commits", + "conventionalcommits", + "generation", + "git", + "history", + "php", + "readme", + "tag" + ], + "support": { + "issues": "https://github.com/marcocesarato/php-conventional-changelog/issues", + "source": "https://github.com/marcocesarato/php-conventional-changelog/tree/v1.17.0" + }, + "time": "2023-03-26T16:59:30+00:00" + }, { "name": "masterminds/html5", "version": "2.8.1",