Skip to content

Commit

Permalink
feat: add release-it for release (#146)
Browse files Browse the repository at this point in the history
* feat: release-it (#145)

* chore: code format
  • Loading branch information
konpeki622 authored May 9, 2022
1 parent c73c505 commit feeb0a9
Show file tree
Hide file tree
Showing 3 changed files with 898 additions and 61 deletions.
18 changes: 18 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"git": {
"tagName": "cli@${version}"
},
"npm": {
"publish": false
},
"github": {
"release": true,
"releaseName": "cli@${version}"
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
}
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@
"test": "vitest run --config vitest.config.ts",
"test:e2e": "pnpm run test:e2e -r",
"fix": "pnpm format --write",
"format": "prettier --config .prettierrc --ignore-path .prettierignore \"**/*.{ts,js,json,html}\""
"format": "prettier --config .prettierrc --ignore-path .prettierignore \"**/*.{ts,js,json,html}\"",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"release": "release-it"
},
"author": "@originjs",
"license": "MulanPSL-2.0",
"devDependencies": {
"@release-it/conventional-changelog": "^5.0.0",
"@types/jest": "^26.0.24",
"@types/node": "^16.3.3",
"@typescript-eslint/eslint-plugin": "^4.28.3",
Expand All @@ -34,6 +37,7 @@
"lerna": "^4.0.0",
"lint-staged": "^11.0.1",
"prettier": "^2.3.2",
"release-it": "^15.0.0",
"ts-jest": "^27.0.3",
"ts-node": "^10.1.0",
"typescript": "^4.3.5",
Expand Down
Loading

0 comments on commit feeb0a9

Please sign in to comment.