commit-sheriff 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/bin/commit-sheriff.js +0 -1
- package/package.json +1 -1
- package/templates/commit-msg +1 -1
package/README.md
CHANGED
|
@@ -162,7 +162,6 @@ Add/edit this file at your project's **root** (next to `package.json`) — the `
|
|
|
162
162
|
],
|
|
163
163
|
"types": [
|
|
164
164
|
"feat",
|
|
165
|
-
"feature",
|
|
166
165
|
"fix",
|
|
167
166
|
"docs",
|
|
168
167
|
"style",
|
|
@@ -219,7 +218,7 @@ Allowed prefixes for **branch names**. This is intentionally a coarser, workflow
|
|
|
219
218
|
|
|
220
219
|
### `types`
|
|
221
220
|
|
|
222
|
-
`string[]`, default: `["feat", "
|
|
221
|
+
`string[]`, default: `["feat", "fix", "docs", "style", "refactor", "test", "chore", "perf", "ci", "build", "revert"]`.
|
|
223
222
|
|
|
224
223
|
Allowed `type` words in **commit messages**, following [Conventional Commits](https://www.conventionalcommits.org/) style.
|
|
225
224
|
|
package/bin/commit-sheriff.js
CHANGED
package/package.json
CHANGED
package/templates/commit-msg
CHANGED
|
@@ -21,7 +21,7 @@ eval "$(node -e "
|
|
|
21
21
|
}
|
|
22
22
|
const useModules = cfg.useModules !== undefined ? cfg.useModules : true;
|
|
23
23
|
const modules = (cfg.modules && cfg.modules.length ? cfg.modules.join('|') : '[A-Z]+');
|
|
24
|
-
const types = (cfg.types || ['feat','
|
|
24
|
+
const types = (cfg.types || ['feat','fix','docs','style','refactor','test','chore','perf','ci','build','revert']).join('|');
|
|
25
25
|
console.log('USE_MODULES=' + useModules);
|
|
26
26
|
console.log('MODULES=\"' + modules + '\"');
|
|
27
27
|
console.log('TYPES=\"' + types + '\"');
|