@dingdaoos/dingcloud-release
v1.0.3
Published
全局安装 npm install -g conventional-changelog-cli
Downloads
12
Keywords
Readme
使用方法
全局安装 npm install -g conventional-changelog-cli
项目的根目录建立一个scripts文件夹,下面建立一个release.ts 脚本
import { defaultTask } from '@dingdaoos/dingcloud-release'
defaultTask()
package.json
"scripts": {
"release": "node --loader ts-node/esm ./scripts/release.ts"
},
"scripts": {
"release": "node ./scripts/release.js"
},
然后命令行界面到你的项目根目录,输入:
npm run release
提示:工具可单独使用gitPush、addTag、setChangelog