1.2.0 • Published 5 months ago

@sobird/npm-template v1.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

npm-template

Npm package template repository, designed to quickly start a front-end typescript project.

npm Build Status Install Size

husky config

# install
pnpm install --save-dev husky

# husky init
npx husky init

commitlint 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-msg

how to publish

手动通过下面的命令,进行tag发布

npm version --patch
npm version --minor
npm version --major

通过 release-please 这个自动化Action进行发布,详见 .github/workflows/release-please.yml 配置

参考

1.2.0

5 months ago

1.1.0

1 year ago

1.0.4

1 year ago

1.0.2

1 year ago

1.0.0

1 year ago