Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Commit

Permalink
feat: update commitizen config
Browse files Browse the repository at this point in the history
  • Loading branch information
YanceyOfficial committed Dec 4, 2019
1 parent cf8f74e commit 0a60b64
Show file tree
Hide file tree
Showing 6 changed files with 159 additions and 250 deletions.
2 changes: 1 addition & 1 deletion .commitlintrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
extends:
- 'cz'
- '@commitlint/config-conventional'
178 changes: 0 additions & 178 deletions .cz-config.js

This file was deleted.

2 changes: 1 addition & 1 deletion .huskyrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"hooks": {
"commit-msg": "commitlint -e $GIT_PARAMS",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ _This library is part of the [BPG (Blog Program Group)](https://github.com/Yance

[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
![Code Style](https://camo.githubusercontent.com/c83b8df34339bd302b7fd3fbb631f99ba25f87f8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f64655f7374796c652d70726574746965722d6666363962342e737667)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-0.0.1-blue.svg)](https://conventionalcommits.org)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-0.1.2-blue.svg)](https://conventionalcommits.org)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-green.svg)](https://github.com/Yancey-Blog/blog-be-next/pulls)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![Gitter](https://badges.gitter.im/yancey-official/community.svg)](https://gitter.im/yancey-official/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
},
"dependencies": {
"@alicloud/pop-core": "^1.7.7",
"@commitlint/config-conventional": "^8.2.0",
"@hapi/joi": "^16.1.8",
"@nestjs/common": "^6.10.5",
"@nestjs/core": "^6.10.5",
Expand Down Expand Up @@ -93,8 +94,7 @@
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"codecov": "^3.6.1",
"commitlint-config-cz": "^0.12.1",
"cz-customizable": "^6.2.0",
"cz-conventional-changelog": "^3.0.2",
"eslint": "^6.7.2",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-airbnb-base": "^14.0.0",
Expand All @@ -119,7 +119,7 @@
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
"path": "node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
Expand Down
Loading

0 comments on commit 0a60b64

Please sign in to comment.