@gilbert_oliveira/commit-wizard 2.0.1 → 2.0.3
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 +9 -6
- package/dist/commit-wizard.js +51 -51
- package/package.json +2 -2
- package/src/core/index.ts +5 -1
- package/src/core/openai.ts +29 -11
- package/src/core/smart-split.ts +59 -35
- package/src/git/index.ts +16 -4
- package/src/utils/polyfill.ts +16 -12
package/README.md
CHANGED
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
> **Gere mensagens de commit inteligentes usando IA**
|
|
4
4
|
|
|
5
|
-
[](https://github.com/gilbert-oliveira/commit-wizard/actions)
|
|
6
|
+
[](https://github.com/gilbert-oliveira/commit-wizard/actions)
|
|
7
|
+
[](https://github.com/gilbert-oliveira/commit-wizard/actions)
|
|
8
|
+
|
|
9
|
+
[](https://www.npmjs.com/package/@gilbert_oliveira/commit-wizard)
|
|
8
10
|
[](https://opensource.org/licenses/MIT)
|
|
9
11
|
|
|
10
12
|
Um CLI desenvolvido com Bun.js que analisa suas mudanças no Git e gera mensagens de commit personalizadas usando a API da OpenAI.
|
|
@@ -166,9 +168,9 @@ Crie um arquivo `.commit-wizardrc` no seu projeto ou no diretório home:
|
|
|
166
168
|
"compactMode": false
|
|
167
169
|
},
|
|
168
170
|
"cache": {
|
|
169
|
-
"enabled": true,
|
|
170
|
-
"ttl": 60,
|
|
171
|
-
"maxSize": 100
|
|
171
|
+
"enabled": true, // ✅ Cache inteligente implementado
|
|
172
|
+
"ttl": 60, // Tempo de vida em minutos
|
|
173
|
+
"maxSize": 100 // Máximo de entradas no cache
|
|
172
174
|
},
|
|
173
175
|
"advanced": {
|
|
174
176
|
"maxFileSize": 1024,
|
|
@@ -436,6 +438,7 @@ MIT © [Gilbert Oliveira](https://github.com/gilbert-oliveira)
|
|
|
436
438
|
- [Documentação da OpenAI](https://platform.openai.com/docs)
|
|
437
439
|
- [Conventional Commits](https://www.conventionalcommits.org/)
|
|
438
440
|
- [Bun.js](https://bun.sh/)
|
|
441
|
+
- [📋 Guia para Contribuidores](.github/README.md) - Informações sobre desenvolvimento e CI/CD
|
|
439
442
|
|
|
440
443
|
---
|
|
441
444
|
|