Skip to content

Commit

Permalink
chore(repo): add release-it
Browse files Browse the repository at this point in the history
Closes #1
  • Loading branch information
nartc committed Sep 9, 2023
1 parent 4c66122 commit 95e1e0f
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 1 deletion.
49 changes: 49 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "cleanup",
"section": "Cleanup"
},
{
"type": "docs",
"section": "Documentations"
},
{
"type": "refactor",
"section": "Refactor"
}
]
},
"infile": "CHANGELOG.md"
},
"@release-it/bumper": {
"in": "libs/ngxtension/version.json",
"out": ["libs/ngxtension/version.json", "dist/libs/**/package.json"]
}
},
"git": {
"commitMessage": "chore: release ${version}"
},
"npm": {
"publish": false
},
"github": {
"release": true,
"releaseName": "Release ${version}"
},
"hooks": {
"after:bump": ["git checkout -- package.json"]
}
}
2 changes: 1 addition & 1 deletion libs/ngxtension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngxtension",
"version": "0.0.1",
"version": "0.0.0",
"peerDependencies": {
"@angular/common": "^16.0.0",
"@angular/core": "^16.0.0"
Expand Down
3 changes: 3 additions & 0 deletions libs/ngxtension/version.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"version": "0.0.1"
}

0 comments on commit 95e1e0f

Please sign in to comment.