feat: Add prerelease script to generate fresh changelog
* skip changelog updates from being listed in changelog.md file
This commit is contained in:
@@ -49,6 +49,7 @@ commit_parsers = [
|
|||||||
{ message = "^style", group = "Styling"},
|
{ message = "^style", group = "Styling"},
|
||||||
{ message = "^tests", group = "Testing"},
|
{ message = "^tests", group = "Testing"},
|
||||||
{ message = "^chore\\(release\\): prepare for", skip = true},
|
{ message = "^chore\\(release\\): prepare for", skip = true},
|
||||||
|
{ message = "^chore: Update CHANGELOG.md", skip = true },
|
||||||
{ message = "^chore", group = "Miscellaneous Tasks"},
|
{ message = "^chore", group = "Miscellaneous Tasks"},
|
||||||
{ body = ".*security", group = "Security"},
|
{ body = ".*security", group = "Security"},
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
"docs:build": "yarn --cwd docs build",
|
"docs:build": "yarn --cwd docs build",
|
||||||
"build": "yarn --cwd package build",
|
"build": "yarn --cwd package build",
|
||||||
"postbuild": "yarn typedoc",
|
"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",
|
"release": "yarn --cwd package np",
|
||||||
"test": "yarn --cwd tests test",
|
"test": "yarn --cwd tests test",
|
||||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",
|
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .",
|
||||||
|
|||||||
Reference in New Issue
Block a user