1.4.10 • Published 9 months ago

@denaro-config/config-cz-git v1.4.10

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@denaro-config/config-cz-git

:tada: 前端工程化中的 cz-git 通用配置, 与 Commitlint 配合, 获取 Commitlint 相关配置, 给予命令行提示信息。

npm (scoped) NPM

GitHub repo size GitHub Repo stars GitHub issues GitHub top language

npm jsDelivr hits (npm scoped)

参考官网地址

安装至您的项目

npm install -D @denaro-config/config-cz-git
# or
pnpm install -D @denaro-config/config-cz-git
# or
yarn add -D @denaro-config/config-cz-git

使用

在项目根目录下创建 cz.config.js 文件, 参考配置内容如下:

module.exports = {
    ...require('@denaro-config/config-cz-git')
}

配置 cz-git

package.json 中配置, 后续进行提交代码时需要执行 npm run commit 命令

{
    "scripts": {
        "commit": "git add .&& cz"
    },
    "config": {
        "commitizen": {
            "path": "cz-git"
        }
    }
}

结合 commitlint 使用

参考 commitlint

1.4.10

9 months ago

1.4.9

11 months ago

1.4.8

1 year ago

1.4.7

1 year ago

1.4.6

1 year ago

1.4.5

1 year ago

1.4.4

1 year ago

1.4.3

1 year ago

1.4.2

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.2

2 years ago

1.3.1

2 years ago

1.2.4

2 years ago

1.3.0

2 years ago

1.2.3

2 years ago

1.2.0

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago