@sugarmo/aicommits 1.12.0 → 1.13.2
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 +5 -4
- package/dist/cli.mjs +74 -74
- package/package.json +26 -86
- package/dist/cli-2IldWz4f.mjs +0 -217
- package/dist/cli-B4CzHGlw.mjs +0 -217
- package/dist/cli-BLeSI0RG.mjs +0 -217
- package/dist/cli-BxYoCO_t.mjs +0 -217
- package/dist/cli-BxoTG54R.mjs +0 -217
- package/dist/cli-D5LKS_gV.mjs +0 -214
- package/dist/cli-DOlOxITZ.mjs +0 -217
- package/dist/cli-Dghc1HXo.mjs +0 -217
- package/dist/cli-DhEhfPVj.mjs +0 -217
- package/dist/cli-DoRxvV2c.mjs +0 -214
- package/dist/cli-VKXKWT-J.mjs +0 -217
- package/dist/cli-ZGc9mt4a.mjs +0 -217
- package/dist/token-BGl6xBJo.mjs +0 -1
- package/dist/token-BHAr8BGF.mjs +0 -1
- package/dist/token-BNKPepq2.mjs +0 -1
- package/dist/token-BU4WbpuT.mjs +0 -1
- package/dist/token-BgWUvNvl.mjs +0 -1
- package/dist/token-Bitulk9b.mjs +0 -1
- package/dist/token-C-_ybS1T.mjs +0 -1
- package/dist/token-D9tzl7Yz.mjs +0 -1
- package/dist/token-DSxWyl39.mjs +0 -1
- package/dist/token-Dqj85-rE.mjs +0 -1
- package/dist/token-pFVbzMqR.mjs +0 -1
- package/dist/token-util-12Sgwcw5.mjs +0 -1
- package/dist/token-util-BK5iblfw.mjs +0 -1
- package/dist/token-util-BNtjmkiu.mjs +0 -1
- package/dist/token-util-Bezp8Ra7.mjs +0 -1
- package/dist/token-util-BthbkaNP.mjs +0 -1
- package/dist/token-util-C-S1NtRU.mjs +0 -1
- package/dist/token-util-C08UmjgT.mjs +0 -1
- package/dist/token-util-C9k-Ose8.mjs +0 -1
- package/dist/token-util-CIaGUPau.mjs +0 -1
- package/dist/token-util-CghlsVgF.mjs +0 -1
- package/dist/token-util-Cm6RjjS1.mjs +0 -1
- package/dist/token-util-CnZZ1AJv.mjs +0 -1
- package/dist/token-util-CtBubgF8.mjs +0 -1
- package/dist/token-util-CzaKG7us.mjs +0 -1
- package/dist/token-util-D4W-wT_B.mjs +0 -1
- package/dist/token-util-DYebtoan.mjs +0 -1
- package/dist/token-util-Db6xqzh1.mjs +0 -1
- package/dist/token-util-Dg8-JbHb.mjs +0 -1
- package/dist/token-util-DtOpdBbh.mjs +0 -1
- package/dist/token-util-Hi0Y_OJ1.mjs +0 -1
- package/dist/token-util-Z9AnE2k6.mjs +0 -1
- package/dist/token-util-daVwaNP6.mjs +0 -1
- package/dist/token-util-r02UdbTi.mjs +0 -1
- package/dist/token-util-yhghfNwd.mjs +0 -1
- package/dist/token-xhtueDQA.mjs +0 -1
package/README.md
CHANGED
|
@@ -106,10 +106,10 @@ You can combine conventional commits with custom output format and type mapping:
|
|
|
106
106
|
aicommits --type conventional --conventional-format "<type>(<scope>): <subject>" --conventional-types '{"feature":"Introduce a feature","bugfix":"Fix defects"}'
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
-
By default, conventional mode
|
|
109
|
+
By default, conventional mode omits scope and uses `type: subject`. You can enable scope preference (for example `refactor(RecentScrollshotController): ...`) when there is a clear dominant file/class/module:
|
|
110
110
|
|
|
111
111
|
```sh
|
|
112
|
-
aicommits --conventional-scope
|
|
112
|
+
aicommits --conventional-scope true
|
|
113
113
|
```
|
|
114
114
|
|
|
115
115
|
### Git hook
|
|
@@ -360,9 +360,10 @@ aicommits config set conventional-types='{"feature":"Introduce a feature","bugfi
|
|
|
360
360
|
|
|
361
361
|
#### conventional-scope
|
|
362
362
|
|
|
363
|
-
Default: `
|
|
363
|
+
Default: `false`
|
|
364
364
|
|
|
365
|
-
When enabled, conventional commits strongly prefer `type(scope): subject` using the primary file/class/module as scope.
|
|
365
|
+
When enabled, conventional commits strongly prefer `type(scope): subject` using the primary file/class/module as scope.
|
|
366
|
+
When disabled (default), conventional commits prefer `type: subject`.
|
|
366
367
|
|
|
367
368
|
```sh
|
|
368
369
|
aicommits config set conventional-scope=true
|