chore: tweak release it

This commit is contained in:
Maciej Jastrzebski
2024-10-25 09:25:54 +02:00
parent f231ea30b2
commit 422c007f83
2 changed files with 34 additions and 4 deletions
+33 -3
View File
@@ -1,17 +1,47 @@
{
"hooks": {
"before:init": ["yarn typecheck", "yarn test", "yarn lint"],
"after:bump": "yarn build",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
},
"git": {
"commitMessage": "chore: release ${version}",
"commitMessage": "chore: release v${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
"release": true,
"releaseName": "v${version}"
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "✨ Features"
},
{
"type": "perf",
"section": "💨 Performance Improvements"
},
{
"type": "fix",
"section": "🐛 Bug Fixes"
},
{
"type": "chore(deps)",
"section": "🛠️ Dependency Upgrades"
},
{
"type": "docs",
"section": "📚 Documentation"
}
]
}
}
}
}
+1 -1
View File
@@ -34,7 +34,7 @@
"build:js": "babel src --out-dir build --extensions \".js,.ts,.jsx,.tsx\" --source-maps --ignore \"**/__tests__/**\"",
"build:ts": "tsc --build tsconfig.release.json",
"build": "yarn clean && yarn build:js && yarn build:ts && yarn copy-flowtypes",
"publish": "yarn build && release-it"
"release": "release-it"
},
"files": [
"build/",