Skip to content

Commit

Permalink
ci: add release
Browse files Browse the repository at this point in the history
  • Loading branch information
wzhudev committed Jul 10, 2024
1 parent c2740b6 commit c23d1d4
Show file tree
Hide file tree
Showing 3 changed files with 2,543 additions and 36 deletions.
17 changes: 17 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"git": {
"commitMessage": "release: release v${version}",
"tagName": "v${version}"
},
"npm": false,
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md",
"ignoreRecommendedBump": true
}
}
}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"test": "vitest run",
"coverage": "vitest run --coverage",
"watch": "vitest",
"build": "squirrel"
"build": "squirrel",
"release": "release-it"
},
"squirrel": {
"copyFiles": [
Expand All @@ -18,6 +19,7 @@
"author": "Wenzhao Hu<[email protected]>",
"license": "MIT",
"devDependencies": {
"@release-it/conventional-changelog": "^8.0.1",
"@testing-library/dom": "^8.5.0",
"@testing-library/react": "^14.0.0",
"@testing-library/react-hooks": "^8.0.1",
Expand All @@ -28,6 +30,7 @@
"jsdom": "^19.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"release-it": "^17.4.1",
"rxjs": "^6.2.1",
"typescript": "^5.3.3",
"vitest": "^1.5.0"
Expand Down
Loading

0 comments on commit c23d1d4

Please sign in to comment.