Skip to content

Commit

Permalink
build: use release-it instead of np
Browse files Browse the repository at this point in the history
  • Loading branch information
onikienko committed Jan 16, 2025
1 parent 115331b commit 4dded46
Show file tree
Hide file tree
Showing 3 changed files with 3,289 additions and 3,594 deletions.
45 changes: 45 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"$schema": "https://unpkg.com/release-it@18/schema/release-it.json",
"npm": {
"publish": true
},
"git": {
"requireCleanWorkingDir": true,
"commitMessage": "v${version}",
"pushRepo": "origin",
"tagName": "v${version}",
"requireCommits": true
},
"github": {
"release": true,
"releaseName": "v${version}",
"tokenRef": "GITHUB_TOKEN"
},
"plugins": {
"@release-it/conventional-changelog": {
"infile": "CHANGELOG.md",
"ignoreRecommendedBump": true,
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "docs",
"section": "Documentation"
},
{
"type": "build",
"section": "Build System and Dependencies"
}
]
}
}
}
}
Loading

0 comments on commit 4dded46

Please sign in to comment.