feat: Add prerelease script to generate fresh changelog

* skip changelog updates from being listed in changelog.md file
This commit is contained in:
Braks
2022-04-04 13:12:08 +02:00
parent 5804ace138
commit 035cf69240
2 changed files with 2 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ commit_parsers = [
{ message = "^style", group = "Styling"},
{ message = "^tests", group = "Testing"},
{ message = "^chore\\(release\\): prepare for", skip = true},
{ message = "^chore: Update CHANGELOG.md", skip = true },
{ message = "^chore", group = "Miscellaneous Tasks"},
{ body = ".*security", group = "Security"},
]

View File

@@ -15,6 +15,7 @@
"docs:build": "yarn --cwd docs build",
"build": "yarn --cwd package build",
"postbuild": "yarn typedoc",
"prerelease": "git-cliff --output CHANGELOG.md && git add CHANGELOG.md && git commit -m \"chore: Update CHANGELOG.md\"",
"release": "yarn --cwd package np",
"test": "yarn --cwd tests test",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",