Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
db-commit-cli
Advanced tools
git commit
信息规范及格式检查工具
使用 npm
安装
npm install --save-dev db-commit-cli
使用 yarn
安装
yarn add -D db-commit-cli
npx db-commit-cli -h
在终端执行 npx db-commit-cli
会自动添加以下项目:
commitizen
、cz-customizable
及相关配置commitlint
、husky
相关依赖及配置commitlint
规则文件引入自动添加了cz
脚本命令
执行yarn cz
或npm run cz
会自动暂存文件并触发commitizen
提交提示,通过交互完成信息输入即可完成标准化的提交
如果全局安装了
commitizen
,可以执行git cz
来代替git commit
,但此时如果没有暂存文件需要自己手动暂存
项目中使用了gitmoji
作为提交时的表情,其中一个依赖插件需要使用gitmojis.json
,由于网络原因这个文件比较难下载,所以初次安装时已经集成到配置中,后续安装需要手动执行命令安装
所以在重新安装依赖后可能会使该文件丢失,造成提交确认后卡住很长一段时间或者报错,可以执行npx db-commit-cli --add-mojis
来安装gitmojis.json
文件
FAQs
dangbei commit lint
The npm package db-commit-cli receives a total of 9 weekly downloads. As such, db-commit-cli popularity was classified as not popular.
We found that db-commit-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.