Gathering detailed insights and metrics for vue-cli-plugin-commitlint-release
Gathering detailed insights and metrics for vue-cli-plugin-commitlint-release
Gathering detailed insights and metrics for vue-cli-plugin-commitlint-release
Gathering detailed insights and metrics for vue-cli-plugin-commitlint-release
npm install vue-cli-plugin-commitlint-release
Typescript
Module System
Node Version
NPM Version
68.6
Supply Chain
98.7
Quality
75.8
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
46,388
Last Day
4
Last Week
33
Last Month
163
Last Year
2,475
9 Stars
23 Commits
1 Forks
2 Watching
2 Branches
1 Contributors
Latest Version
1.1.4
Package Id
vue-cli-plugin-commitlint-release@1.1.4
Unpacked Size
7.41 kB
Size
3.22 kB
File Count
6
NPM Version
6.9.0
Node Version
10.16.0
Cumulative downloads
Total Downloads
Last day
0%
4
Compared to previous day
Last week
-31.3%
33
Compared to previous week
Last month
-20.5%
163
Compared to previous month
Last year
-63.6%
2,475
Compared to previous year
这是一个集成了 commitizen、commitlint、standard-version、conventional-changelog 、conventional-changelog-cli 基础配置的 Vue CLI 插件。
它可以解决以下几个问题:
commit message
commit message
是否符合规范package.json
里的版本号changelog
,更好的维护版本迭代commitizen 使用的适配器是 AngularJS's commit message convention
作为一个 Vue CLI
插件,安装方法有2种:
# 为了防止和已有的包冲突,可以提前移除 `node_modules` 后再安装
rm -rf node_modules
vue add commitlint-release
# or
vue invoke commitlint-release
这时候你的项目里就会增加一个 commitlint.config.js
文件、release.sh
文件,以及 package.json 里增加一些 scripts
、devDependencies
,以及一个 config
和 husky
的配置。
下面只需要直接运行
npm install
即可将所需依赖安装上。
add
git add .
commit message
npm run commit
# or
# 如果你的 NPM 5.2+,也可以执行以下命令
npx git-cz
changelog
npm run push
输入命令后,提示输入 [ major | minor | patch ],以当前版本 1.0.0 为例:
具体参考:semver 语义化版本控制规范
解决办法:全局安装 vue cli
npm install -g @vue/cli
# or
yarn global add @vue/cli
npm ERR! path /Users/jojo/node_modules/babel-eslint/node_modules/@babel/traverse/node_modules/.bin/babylon
npm ERR! code EEXIST
npm ERR! Refusing to delete /Users/jojo/wanba/front-activity/node_modules/babel-eslint/node_modules/@babel/traverse/node_modules/.bin/babylon: containing path /Users/jojo/node_modules/babel-eslint/node_modules/@babel/traverse/node_modules/babylon isn't under npm's control
npm ERR! File exists: /Users/jojo/wanba/front-activity/node_modules/babel-eslint/node_modules/@babel/traverse/node_modules/.bin/babylon
npm ERR! Move it away, and try again.
解决办法: 删除 node_modules 重新安装
rm -rf node_modules
npm install
EACCES: permission denied
权限问题,命令行前加 sudo 或查看 fixing npm permissions 寻求帮助
我会尽我最大努力来维护这个项目,所以有问题一定要给我提 issues 哟~
ISC
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 1/20 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-12-16
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More