Skip to content

Commit

Permalink
chore: 🔨 add release-it
Browse files Browse the repository at this point in the history
  • Loading branch information
moinulmoin committed Nov 23, 2024
1 parent 8b8c0fd commit 0d74fd8
Show file tree
Hide file tree
Showing 3 changed files with 2,100 additions and 6 deletions.
19 changes: 19 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"plugins": {
"release-it-pnpm": {}
},
"git": {
"commitMessage": "chore: release v${version}",
"tagName": "v${version}",
"push": true,
"requireCleanWorkingDir": true
},
"github": {
"release": true,
"tokenRef": "GITHUB_TOKEN",
"releaseNotes": "git log --pretty=format:'* %s (%h)' ${latestTag}...${tagName}"
},
"npm": {
"publish": false
}
}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"start": "next start",
"lint": "next lint --dir src",
"format": "prettier --write 'src/**/*.{ts,tsx,js,jsx,css}'",
"preinstall": "lefthook install"
"preinstall": "lefthook install",
"release": "release-it"
},
"dependencies": {
"@hookform/resolvers": "^3.9.1",
Expand Down Expand Up @@ -67,6 +68,8 @@
"prettier": "3.3.3",
"prettier-plugin-tailwindcss": "^0.6.8",
"prisma": "^5.22.0",
"release-it": "^17.10.0",
"release-it-pnpm": "^4.6.3",
"serwist": "^9.0.10",
"tailwind-merge": "^2.5.4",
"tailwindcss": "3.4.15",
Expand Down
Loading

0 comments on commit 0d74fd8

Please sign in to comment.