-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adding release configuration for release-it
- Loading branch information
1 parent
a387ee1
commit 4d4ce31
Showing
1 changed file
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"plugins": { | ||
"@release-it/conventional-changelog": { | ||
"gitRawCommitsOpts": { | ||
"path": "." | ||
}, | ||
"header": "# Changelog\n\nThis changelog is updated automatically using release-it.\n", | ||
"infile": "CHANGELOG.md", | ||
"path": ".", | ||
"preset": { | ||
"name": "conventionalcommits", | ||
"types": [ | ||
{ | ||
"section": "Bug Fixes", | ||
"type": "fix" | ||
}, | ||
{ | ||
"section": "Build Changes", | ||
"type": "build" | ||
}, | ||
{ | ||
"section": "Chores", | ||
"type": "chore" | ||
}, | ||
{ | ||
"section": "Code Refactoring", | ||
"type": "refactor" | ||
}, | ||
{ | ||
"section": "Code Style Changes", | ||
"type": "style" | ||
}, | ||
{ | ||
"section": "Continuous Integration", | ||
"type": "ci" | ||
}, | ||
{ | ||
"section": "Documentation", | ||
"type": "docs" | ||
}, | ||
{ | ||
"section": "Features", | ||
"type": "feat" | ||
}, | ||
{ | ||
"section": "Performance Improvements", | ||
"type": "perf" | ||
}, | ||
{ | ||
"section": "Reverts", | ||
"type": "revert" | ||
}, | ||
{ | ||
"section": "Tests", | ||
"type": "test" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"git": { | ||
"commitMessage": "Released version ${version}", | ||
"commitsPath": ".", | ||
"push": true, | ||
"requireCommits": true, | ||
"requireCommitsFail": false, | ||
"tagExclude": "*[@]*", | ||
"tagName": "${version}" | ||
}, | ||
"github": { | ||
"release": true, | ||
"releaseName": "${version}" | ||
} | ||
} |