diff --git a/.cz-config.js b/.cz-config.js new file mode 100644 index 0000000000000000000000000000000000000000..16048de8258670e1ee5bc8fb0f5565b220d86d92 --- /dev/null +++ b/.cz-config.js @@ -0,0 +1,46 @@ +'use strict'; + +module.exports = { + + types: [ + {value: 'feat', name: 'feat: A new feature'}, + {value: 'fix', name: 'fix: A bug fix'}, + {value: 'docs', name: 'docs: Documentation only changes'}, + {value: 'style', name: 'style: Changes that do not affect the meaning of the code\n (white-space, formatting, etc)'}, + {value: 'refactor', name: 'refactor: A code change that neither fixes a bug nor adds a feature'}, + {value: 'perf', name: 'perf: A code change that improves performance'}, + {value: 'test', name: 'test: Adding missing tests or correcting existing tests'}, + {value: 'build', name: 'build: Changes that affect the build system or external dependencies (example scopes: maven, gradle, npm, gulp)'}, + {value: 'ci', name: 'ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)'}, + {value: 'chore', name: 'chore: Other changes that dont modify src or test files'}, + {value: 'revert', name: 'revert: Reverts a previous commit'} + ], + + scopes: [ + {name: 'JNI Interface'}, + {name: 'internal'}, + {name: 'Swing Utility'}, + {name: 'OpenCL'} + ], + + scopeOverrides: { + build: [ + {name: 'dependencies'}, + {name: 'versioning'}, + {name: 'release'}, + {name: 'build plugin'} + ], + ci: [ + {name: 'Travis'} + ], + chore: [ + {name: 'Commitizen'}, + {name: 'editorconfig'}, + {name: 'GIT'} + ] + }, + + allowCustomScopes: true, + allowBreakingChanges: ['feat', 'fix', 'docs', 'style', 'refactor', 'perf', 'test', 'build', 'ci', 'chore', 'revert'] + +}; diff --git a/.cz.json b/.cz.json new file mode 100644 index 0000000000000000000000000000000000000000..d4856e0f01c0fd7a73d9905a6c4e1d4c440464d6 --- /dev/null +++ b/.cz.json @@ -0,0 +1 @@ +{ "path": "cz-customizable" }