specifica-br 1.0.0 → 1.0.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.
Files changed (3) hide show
  1. package/README.md +15 -15
  2. package/dist/index.js +7 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -20,23 +20,23 @@ Spec Driven Development é uma metodologia de desenvolvimento que prioriza a doc
20
20
  Para instalar o Specifica-BR como uma ferramenta CLI global:
21
21
 
22
22
  ```bash
23
- npm install -g especifica-br
23
+ npm install -g specifica-br
24
24
  ```
25
25
 
26
26
  Para usar como uma ferramenta local no projeto:
27
27
 
28
28
  ```bash
29
- npm install --save-dev especifica-br
29
+ npm install --save-dev specifica-br
30
30
  ```
31
31
 
32
32
  ## Comandos Básicos
33
33
 
34
- ### `specifica init`
34
+ ### `specifica-br init`
35
35
 
36
36
  Inicializa a estrutura SDD no projeto atual.
37
37
 
38
38
  ```bash
39
- specifica init
39
+ specifica-br init
40
40
  ```
41
41
 
42
42
  **O que faz:**
@@ -47,7 +47,7 @@ specifica init
47
47
 
48
48
  **Exemplo de uso:**
49
49
  ```bash
50
- $ specifica init
50
+ $ specifica-br init
51
51
  Inicializando estrutura Spec Driven Development...
52
52
 
53
53
  Selecione a ferramenta de IA:
@@ -59,12 +59,12 @@ Selecione o modelo de IA:
59
59
  ✓ Estrutura SDD criada com sucesso!
60
60
  ```
61
61
 
62
- ### `specifica help`
62
+ ### `specifica-br help`
63
63
 
64
64
  Exibe ajuda simplificada dos comandos disponíveis.
65
65
 
66
66
  ```bash
67
- specifica help
67
+ specifica-br help
68
68
  ```
69
69
 
70
70
  **O que faz:**
@@ -72,12 +72,12 @@ specifica help
72
72
  - Mostra opções globais
73
73
  - Sugere uso de `help --completo` para mais detalhes
74
74
 
75
- ### `specifica help --completo`
75
+ ### `specifica-br help --completo`
76
76
 
77
77
  Exibe ajuda detalhada com o workflow completo de SDD.
78
78
 
79
79
  ```bash
80
- specifica help --completo
80
+ specifica-br help --completo
81
81
  ```
82
82
 
83
83
  **O que faz:**
@@ -93,12 +93,12 @@ specifica help --completo
93
93
  4. **Geração de Tarefas:** Decompõe o plano técnico em tarefas executáveis
94
94
  5. **Execução de Tarefas:** Implementa cada tarefa seguindo a especificação
95
95
 
96
- ### `specifica upgrade`
96
+ ### `specifica-br upgrade`
97
97
 
98
98
  Atualiza templates e comandos (em breve).
99
99
 
100
100
  ```bash
101
- specifica upgrade
101
+ specifica-br upgrade
102
102
  ```
103
103
 
104
104
  **Nota:** Este comando está em desenvolvimento e estará disponível em uma versão futura.
@@ -110,7 +110,7 @@ O workflow completo de Spec Driven Development é composto por 5 etapas:
110
110
  ### 1. Inicialização
111
111
 
112
112
  ```bash
113
- specifica init
113
+ specifica-br init
114
114
  ```
115
115
 
116
116
  Cria a estrutura de diretórios e templates no projeto.
@@ -149,7 +149,7 @@ Implementa cada tarefa individualmente seguindo a especificação.
149
149
 
150
150
  ## Estrutura do Projeto
151
151
 
152
- Após executar `specifica init`, a estrutura do projeto será:
152
+ Após executar `specifica-br init`, a estrutura do projeto será:
153
153
 
154
154
  ```
155
155
  seu-projeto/
@@ -192,12 +192,12 @@ npm start
192
192
 
193
193
  ## Licença
194
194
 
195
- ISC
195
+ MIT
196
196
 
197
197
  ## Suporte
198
198
 
199
199
  Para mais informações, use:
200
200
 
201
201
  ```bash
202
- specifica help --completo
202
+ specifica-br help --completo
203
203
  ```
package/dist/index.js CHANGED
@@ -1,15 +1,21 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
+ var __importDefault = (this && this.__importDefault) || function (mod) {
4
+ return (mod && mod.__esModule) ? mod : { "default": mod };
5
+ };
3
6
  Object.defineProperty(exports, "__esModule", { value: true });
4
7
  const commander_1 = require("commander");
8
+ const fs_extra_1 = __importDefault(require("fs-extra"));
9
+ const path_1 = __importDefault(require("path"));
5
10
  const init_1 = require("./commands/init");
6
11
  const help_1 = require("./commands/help");
7
12
  const upgrade_1 = require("./commands/upgrade");
13
+ const packageJson = JSON.parse(fs_extra_1.default.readFileSync(path_1.default.join(__dirname, '..', 'package.json'), 'utf-8'));
8
14
  const program = new commander_1.Command();
9
15
  program
10
16
  .name('specifica-br')
11
17
  .description('Ferramenta de automação para desenvolvimento guiado por especificações (Spec Driven Development - SDD) com IA. Otimizado para o ecossistema brasileiro.')
12
- .version('1.0.0');
18
+ .version(packageJson.version);
13
19
  program.addCommand(init_1.initCommand);
14
20
  program.addCommand(help_1.helpCommand);
15
21
  program.addCommand(upgrade_1.upgradeCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "specifica-br",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Ferramenta de automação para desenvolvimento guiado por especificações (Spec Driven Development - SDD) com IA. Otimizado para o ecossistema brasileiro.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {