From 6712e62f39cc7cb0804d868052ade682b9324cc1 Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com>
Date: Fri, 28 Jul 2017 00:09:20 -0400
Subject: [PATCH] chore(commitizen): added standard commitizen files.

---
 .cz-config.js | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 .cz.json      |  1 +
 2 files changed, 52 insertions(+)
 create mode 100644 .cz-config.js
 create mode 100644 .cz.json

diff --git a/.cz-config.js b/.cz-config.js
new file mode 100644
index 00000000..15dde7e7
--- /dev/null
+++ b/.cz-config.js
@@ -0,0 +1,51 @@
+'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'},
+    {name: 'internal'},
+    {name: 'swing'},    
+    {name: 'opencl'}
+  ],
+
+  scopeOverrides: {
+    build: [
+      {name: 'dependencies'},
+      {name: 'versioning'},
+      {name: 'release'},
+      {name: 'build plugin'}
+    ],
+    ci: [
+      {name: 'travis'}
+    ],
+    chore: [
+      {name: 'commitizen'},
+      {name: 'editorconfig'},
+      {name: 'git'}
+    ],
+    docs: [
+      {name: 'javadocs'},
+      {name: 'repo'},
+      {name: 'maven'}
+    ]
+  },
+
+  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 00000000..d4856e0f
--- /dev/null
+++ b/.cz.json
@@ -0,0 +1 @@
+{ "path": "cz-customizable" }
-- 
GitLab