1.0.2 • Published 2 months ago
@huberyyang/todo-scripts v1.0.2
现在开始
⚠️ 目前模块内使用pnpm,后期新增自动判断
# 没有pnpm?,请执行
npm install pnpm -g
安装
npm install --save-dev @huberyyang/todo-scripts
pnpm add --save-dev @huberyyang/todo-scripts
yarn add --dev @huberyyang/todo-scripts
bun add --dev @huberyyang/todo-scripts
> commitlint config
🚀自动执行 commitlint + husky + lint-staged安装与配置
npx hubery commitlint-init
pnpm exec hubery commitlint-init
bunx hubery commitlint-init
命令参数
🧹清洁执行
-如果希望执行完脚本后卸载模块,只需为命令行添加参数--clear
# 如
npx hubery commitlint-init --clear
尝试执行
如果没什么意外(顺利执行且终端没有报错)恭喜你配置完成🎉. 来测试下:
git add .
git commit -m "test commitlint"
# eslint 会在每次执行commit前自动执行,如需更改commit钩子执行前的命令,可自行修改package.json中lint-staged配置
1.0.2
2 months ago
1.0.1
2 months ago
1.0.0-beta.3
2 months ago
1.0.0-beta.4
2 months ago
1.0.0-beta.5
2 months ago
1.0.0-beta.2
2 months ago
1.0.0-beta.1
2 months ago
1.0.0-alpha.4
2 months ago
1.0.0-alpha.3
2 months ago
1.0.0-alpha.2
2 months ago
1.0.0-alpha.1
2 months ago