Skip to content

Commit

Permalink
feat(template-vue-ts): support release-it
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterliu1003 committed Jul 23, 2022
1 parent 06b48ff commit 361ace9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
11 changes: 11 additions & 0 deletions template-vue-ts/.release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
}
5 changes: 4 additions & 1 deletion template-vue-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"coverage": "vitest run --coverage",
"lint": "eslint . --ext=.ts,.vue --fix",
"clean": "pnpm exec -- rm -rf node_modules dist docs coverage .cache",
"typecheck": "vue-tsc --noEmit"
"typecheck": "vue-tsc --noEmit",
"release": "release-it"
},
"dependencies": {
"@vueuse/core": "^8.7.5",
Expand All @@ -36,6 +37,7 @@
},
"devDependencies": {
"@antfu/eslint-config": "^0.25.2",
"@release-it/conventional-changelog": "^5.0.0",
"@types/node": "^18.0.0",
"@vitejs/plugin-vue": "^3.0.1",
"@viteplay/plugin": "^0.0.27",
Expand All @@ -45,6 +47,7 @@
"eslint": "^8.19.0",
"happy-dom": "^6.0.0",
"pnpm": "^7.5.2",
"release-it": "^15.1.3",
"typescript": "^4.7.4",
"vite": "^3.0.2",
"vitest": "^0.18.0",
Expand Down

0 comments on commit 361ace9

Please sign in to comment.