@sobird/npm-template
v1.2.0
Published
npm template
Maintainers
Readme
npm-template
Npm package template repository, designed to quickly start a front-end typescript project.
husky config
# install
pnpm install --save-dev husky
# husky init
npx husky initcommitlint config
npm install --save-dev @commitlint/config-conventional @commitlint/cli
echo "export default {extends: ['@commitlint/config-conventional']};" > commitlint.config.js
echo "npx commitlint --edit \$1" > .husky/commit-msghow to publish
一
手动通过下面的命令,进行tag发布
npm version --patch
npm version --minor
npm version --major二
通过 release-please 这个自动化Action进行发布,详见 .github/workflows/release-please.yml 配置
