@gilbert_oliveira/commit-wizard 2.0.2 → 2.1.0

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
@@ -5,11 +5,11 @@
5
5
  [![CI/CD](https://github.com/gilbert-oliveira/commit-wizard/workflows/CI/badge.svg)](https://github.com/gilbert-oliveira/commit-wizard/actions)
6
6
  [![Security](https://github.com/gilbert-oliveira/commit-wizard/workflows/Segurança/badge.svg)](https://github.com/gilbert-oliveira/commit-wizard/actions)
7
7
  [![Deploy](https://github.com/gilbert-oliveira/commit-wizard/workflows/Deploy/badge.svg)](https://github.com/gilbert-oliveira/commit-wizard/actions)
8
- [![Codecov](https://codecov.io/gh/gilbert-oliveira/commit-wizard/branch/main/graph/badge.svg)](https://codecov.io/gh/gilbert-oliveira/commit-wizard)
8
+
9
9
  [![npm version](https://img.shields.io/npm/v/@gilbert_oliveira/commit-wizard.svg)](https://www.npmjs.com/package/@gilbert_oliveira/commit-wizard)
10
10
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
11
11
 
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.
12
+ Um CLI desenvolvido para Node.js que analisa suas mudanças no Git e gera mensagens de commit personalizadas usando a API da OpenAI.
13
13
 
14
14
  ## 📊 Status do Projeto
15
15
 
@@ -60,13 +60,13 @@ Um CLI desenvolvido com Bun.js que analisa suas mudanças no Git e gera mensagen
60
60
 
61
61
  ### Pré-requisitos
62
62
 
63
- - [Bun](https://bun.sh/) instalado
63
+ - Node.js 18+ instalado
64
64
  - Chave da API OpenAI
65
65
 
66
66
  ### Instalação Global
67
67
 
68
68
  ```bash
69
- bun install -g @gilbert_oliveira/commit-wizard
69
+ npm install -g @gilbert_oliveira/commit-wizard
70
70
  ```
71
71
 
72
72
  ### Uso via npx (sem instalação)
@@ -168,9 +168,9 @@ Crie um arquivo `.commit-wizardrc` no seu projeto ou no diretório home:
168
168
  "compactMode": false
169
169
  },
170
170
  "cache": {
171
- "enabled": true, // ✅ Cache inteligente implementado
172
- "ttl": 60, // Tempo de vida em minutos
173
- "maxSize": 100 // Máximo de entradas no cache
171
+ "enabled": true, // ✅ Cache inteligente implementado
172
+ "ttl": 60, // Tempo de vida em minutos
173
+ "maxSize": 100 // Máximo de entradas no cache
174
174
  },
175
175
  "advanced": {
176
176
  "maxFileSize": 1024,
@@ -358,9 +358,7 @@ commit-wizard --split
358
358
  ### Executar Testes
359
359
 
360
360
  ```bash
361
- bun test # Todos os testes
362
- bun test src/__tests__ # Testes unitários
363
- bun test tests/ # Testes de integração
361
+ npm run test # Todos os testes
364
362
  ```
365
363
 
366
364
  ### Desenvolvimento Local
@@ -368,14 +366,15 @@ bun test tests/ # Testes de integração
368
366
  ```bash
369
367
  git clone https://github.com/gilbert-oliveira/commit-wizard
370
368
  cd commit-wizard
371
- bun install
372
- bun run dev
369
+
370
+ npm install
371
+ npm run dev
373
372
  ```
374
373
 
375
374
  ### Build
376
375
 
377
376
  ```bash
378
- bun run build
377
+ npm run build
379
378
  ```
380
379
 
381
380
  ---
@@ -437,7 +436,7 @@ MIT © [Gilbert Oliveira](https://github.com/gilbert-oliveira)
437
436
 
438
437
  - [Documentação da OpenAI](https://platform.openai.com/docs)
439
438
  - [Conventional Commits](https://www.conventionalcommits.org/)
440
- - [Bun.js](https://bun.sh/)
439
+ - [Node.js](https://nodejs.org/) (alternativa)
441
440
  - [📋 Guia para Contribuidores](.github/README.md) - Informações sobre desenvolvimento e CI/CD
442
441
 
443
442
  ---
@@ -0,0 +1 @@
1
+ #!/usr/bin/env node