Skip to content

Commit

Permalink
chore: added release-it
Browse files Browse the repository at this point in the history
  • Loading branch information
Enubia committed Mar 4, 2023
1 parent c029642 commit d2c6c65
Show file tree
Hide file tree
Showing 3 changed files with 1,382 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"git": {
"commitMessage": "chore: release v${version}"
},
"npm": {
"publish": false
}
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"release": "vue-tsc --noEmit && vite build && electron-builder",
"publish": "release-it",
"clean": "rimraf dist-electron dist release",
"lint:src": "eslint --cache --ext .ts --ignore-path .eslintignore src/",
"lint:electron": "eslint --cache --ext .ts --ignore-path .eslintignore electron/",
Expand Down Expand Up @@ -61,6 +62,7 @@
"husky": "8.0.3",
"lint-staged": "13.1.2",
"prettier": "2.8.4",
"release-it": "15.7.0",
"rimraf": "4.3.0",
"sass": "1.58.3",
"typescript": "4.9.5",
Expand Down
Loading

0 comments on commit d2c6c65

Please sign in to comment.