chore: add release-it

pull/64/head
moonrailgun 3 years ago
parent 90ed2d1795
commit 9003207432

@ -0,0 +1,21 @@
{
"github": {
"release": true,
"web": true
},
"git": {
"commitMessage": "chore: release v${version}"
},
"npm": {
"publish": false
},
"hooks": {
"after:bump": "echo 更新版本成功"
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
}

@ -1,6 +1,6 @@
{
"name": "tailchat",
"version": "1.0.0",
"version": "1.2.0",
"private": true,
"description": "",
"main": "index.js",
@ -17,7 +17,8 @@
"check:type:server": "cd server && tsc --noEmit",
"preinstall": "npx only-allow pnpm",
"lint:fix": "eslint --fix './**/*.{ts,tsx}'",
"prepare": "husky install"
"prepare": "husky install",
"release": "release-it"
},
"keywords": [],
"author": "moonrailgun <moonrailgun@gmail.com>",
@ -25,6 +26,7 @@
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@release-it/conventional-changelog": "^5.1.1",
"@typescript-eslint/eslint-plugin": "^5.35.1",
"@typescript-eslint/parser": "^5.35.1",
"commitlint": "^17.0.3",
@ -41,6 +43,7 @@
"i18next-scanner": "^3.0.0",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"release-it": "^15.5.1",
"typescript": "^4.8.2",
"vinyl-fs": "^3.0.3"
},

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save