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 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", "feature", "fix", "docs", "style", "refactor", "test", "chore", "perf", "ci", "build", "revert"]`.
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
 
@@ -24,7 +24,6 @@ const DEFAULT_COMMIT_GUARD = {
24
24
  ],
25
25
  types: [
26
26
  "feat",
27
- "feature",
28
27
  "fix",
29
28
  "docs",
30
29
  "style",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commit-sheriff",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Shared husky commit-msg / pre-commit hooks enforcing ticket-based commit messages and branch naming",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -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','feature','fix','docs','style','refactor','test','chore','perf','ci','build','revert']).join('|');
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 + '\"');