From 75e2c2ce021c67567cfb3c3ce0d171e45c001c34 Mon Sep 17 00:00:00 2001 From: Marko Ristin Date: Mon, 10 May 2021 22:54:57 +0200 Subject: [PATCH] Add additional verbs from crosshair repo (#84) This patch adds the additional verbs from the [crosshair repository]. [crosshair repository]: https://github.com/pschanely/CrossHair/blob/master/additional-verbs-in-imperative-mood.txt --- dist/index.js | 32 +++++++++++++++++-- local/powershell/OpinionatedCommitMessage.ps1 | 30 ++++++++++++++++- src/mostFrequentEnglishVerbs.ts | 32 +++++++++++++++++-- 3 files changed, 89 insertions(+), 5 deletions(-) diff --git a/dist/index.js b/dist/index.js index fda3ed6..44cd359 100644 --- a/dist/index.js +++ b/dist/index.js @@ -8563,7 +8563,6 @@ exports.SET = new Set([ 'record', 'recover', 'recur', - 'rede', 'reduce', 'refer', 'reference', @@ -8772,6 +8771,7 @@ exports.SET = new Set([ 'wrap', 'unwrap', 'rewrap', + 're-wrap', 'delete', 'erase', 'sync', @@ -8823,7 +8823,35 @@ exports.SET = new Set([ 'pin', 'hint', 'integrate', - 'instruct' + 'instruct', + 'verbosify', + 'log', + 'enhance', + 'untrack', + 'refine', + 'dispatch', + 'export', + 'import', + 'skip', + 'redirect', + 'duplicate', + 'deduplicate', + 'de-duplicate', + 're-order', + 'undry', + 'suppress', + 're-enable', + 'guard', + 'revise', + 'revisit', + 'fork', + 'isolate', + 're-design', + 'redesign', + 'tweak', + 'tune', + 'reset', + 're-set' ]); diff --git a/local/powershell/OpinionatedCommitMessage.ps1 b/local/powershell/OpinionatedCommitMessage.ps1 index d102319..dffc86d 100644 --- a/local/powershell/OpinionatedCommitMessage.ps1 +++ b/local/powershell/OpinionatedCommitMessage.ps1 @@ -231,11 +231,13 @@ $frequentVerbs = @( 'cut', 'damage', 'dance', +'de-duplicate', 'deal', 'debate', 'decide', 'declare', 'deconstruct', +'deduplicate', 'defeat', 'defend', 'define', @@ -268,6 +270,7 @@ $frequentVerbs = @( 'discuss', 'dislike', 'dismiss', +'dispatch', 'displace', 'display', 'distinguish', @@ -282,6 +285,7 @@ $frequentVerbs = @( 'drink', 'drive', 'drop', +'duplicate', 'earn', 'eat', 'echo', @@ -298,6 +302,7 @@ $frequentVerbs = @( 'endure', 'enforce', 'engage', +'enhance', 'enjoy', 'enquire', 'enroll', @@ -324,6 +329,7 @@ $frequentVerbs = @( 'experience', 'explain', 'explore', +'export', 'express', 'extend', 'extract', @@ -351,6 +357,7 @@ $frequentVerbs = @( 'force', 'foresee', 'forget', +'fork', 'form', 'format', 'forward', @@ -370,6 +377,7 @@ $frequentVerbs = @( 'grant', 'grin', 'grow', +'guard', 'guess', 'guide', 'hand', @@ -397,6 +405,7 @@ $frequentVerbs = @( 'imagine', 'implement', 'imply', +'import', 'importune', 'impose', 'improve', @@ -426,6 +435,7 @@ $frequentVerbs = @( 'investigate', 'invite', 'involve', +'isolate', 'issue', 'join', 'journey', @@ -464,6 +474,7 @@ $frequentVerbs = @( 'live', 'locate', 'lock', +'log', 'look', 'lose', 'love', @@ -564,8 +575,13 @@ $frequentVerbs = @( 'raise', 'randomize', 're-define', +'re-design', 're-do', +'re-enable', 're-instate', +'re-order', +'re-set', +'re-wrap', 'reach', 'read', 'realise', @@ -580,13 +596,15 @@ $frequentVerbs = @( 'record', 'recover', 'recur', -'rede', 'redefine', +'redesign', +'redirect', 'redo', 'reduce', 'refactor', 'refer', 'reference', +'refine', 'reflect', 'reformat', 'refresh', @@ -618,6 +636,7 @@ $frequentVerbs = @( 'request', 'require', 'research', +'reset', 'reside', 'resolve', 'respond', @@ -633,6 +652,8 @@ $frequentVerbs = @( 'reveal', 'revert', 'review', +'revise', +'revisit', 'reword', 'rewrap', 'rewrite', @@ -674,6 +695,7 @@ $frequentVerbs = @( 'simplify', 'sing', 'sit', +'skip', 'sleep', 'slide', 'slip', @@ -710,6 +732,7 @@ $frequentVerbs = @( 'supply', 'support', 'suppose', +'suppress', 'surround', 'survive', 'suspect', @@ -746,18 +769,22 @@ $frequentVerbs = @( 'trim', 'trust', 'try', +'tune', 'turn', +'tweak', 'twist', 'uncover', 'understand', 'undertake', 'undo', +'undry', 'unfold', 'unify', 'unite', 'unload', 'unpack', 'unskip', +'untrack', 'unwrap', 'update', 'upgrade', @@ -767,6 +794,7 @@ $frequentVerbs = @( 'value', 'vanish', 'vary', +'verbosify', 'view', 'visit', 'vocalize', diff --git a/src/mostFrequentEnglishVerbs.ts b/src/mostFrequentEnglishVerbs.ts index 79e617b..93d6a0e 100644 --- a/src/mostFrequentEnglishVerbs.ts +++ b/src/mostFrequentEnglishVerbs.ts @@ -473,7 +473,6 @@ export const SET = new Set([ 'record', 'recover', 'recur', - 'rede', 'reduce', 'refer', 'reference', @@ -683,6 +682,7 @@ export const SET = new Set([ 'wrap', 'unwrap', 'rewrap', + 're-wrap', 'delete', 'erase', 'sync', @@ -734,5 +734,33 @@ export const SET = new Set([ 'pin', 'hint', 'integrate', - 'instruct' + 'instruct', + 'verbosify', + 'log', + 'enhance', + 'untrack', + 'refine', + 'dispatch', + 'export', + 'import', + 'skip', + 'redirect', + 'duplicate', + 'deduplicate', + 'de-duplicate', + 're-order', + 'undry', + 'suppress', + 're-enable', + 'guard', + 'revise', + 'revisit', + 'fork', + 'isolate', + 're-design', + 'redesign', + 'tweak', + 'tune', + 'reset', + 're-set' ]);