Skip to content

Commit

Permalink
feat(update types for sharable config): types
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Sarzyński authored and picq committed Feb 25, 2021
1 parent 6222329 commit 7a9a41e
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 3 deletions.
4 changes: 3 additions & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
module.exports = {extends: ['@commitlint/config-conventional']}
module.exports = {
extends: ['@picq/config-conventional']
}
8 changes: 8 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

60 changes: 58 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"devDependencies": {
"@commitlint/cli": "^12.0.0",
"@commitlint/config-conventional": "^12.0.0",
"@picq/config-conventional": "git+https://github.com/picq/config-conventional.git",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/exec": "^5.0.0",
Expand All @@ -36,7 +37,62 @@
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
"path": "./node_modules/cz-conventional-changelog",
"types": {
"build": {
"description": "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)",
"title": "Build"
},
"chore": {
"description": "Other changes that don't modify src or test files",
"title": "Chore"
},
"ci": {
"description": "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)",
"title": "Ci"
},
"docs": {
"description": "Documentation only changes",
"title": "Docs"
},
"feat": {
"description": "A new feature",
"title": "Feat"
},
"fix": {
"description": "A bug fix",
"title": "Fix"
},
"perf": {
"description": "A code change that improves performance",
"title": "Perf"
},
"refactor": {
"description": "A code change that neither fixes a bug nor adds a feature",
"title": "Refactor"
},
"revert": {
"description": "Reverts a previous commit",
"title": "revert"
},
"style": {
"description": "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)",
"title": "Style"
},
"test": {
"description": "Adding missing tests or correcting existing tests",
"title": "Test"
},
"blockchain": {
"description": "blockchain related change",
"title": "Blockchain"
},
"btcv": {
"description": "BTCV related change",
"title": "BTCV"
}
}
}
}
},
"dependencies": {}
}

0 comments on commit 7a9a41e

Please sign in to comment.