@brunoluizdesiqueira/bbuilder-cli 1.0.0 → 1.0.1

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
@@ -10,7 +10,7 @@ CLI em Node.js/TypeScript que substitui o `build_local.bat` com interface intera
10
10
  # Desenvolvimento local
11
11
  npm install
12
12
  npm run build
13
- npm link # disponibiliza o comando 'delphi' globalmente
13
+ npm link # disponibiliza o comando 'bbuilder' globalmente
14
14
  ```
15
15
 
16
16
  ```bash
@@ -34,35 +34,35 @@ npx ts-node src/index.ts build
34
34
 
35
35
  ### Modo interativo (sem argumentos)
36
36
  ```bash
37
- delphi
37
+ bbuilder
38
38
  ```
39
39
  Exibe menus para escolher: modo de build → projeto → versão.
40
40
 
41
41
  ### Comando `build` com flags opcionais
42
42
  ```bash
43
- delphi build # interativo completo
44
- delphi build --type DEBUG # escolhe projeto e versão interativamente
45
- delphi build --type FAST --project faturamento\BimerFaturamento
46
- delphi build --type RELEASE --project Bimer --version 11.3.1
43
+ bbuilder build # interativo completo
44
+ bbuilder build --type DEBUG # escolhe projeto e versão interativamente
45
+ bbuilder build --type FAST --project faturamento\BimerFaturamento
46
+ bbuilder build --type RELEASE --project Bimer --version 11.3.1
47
47
  ```
48
48
 
49
49
  ### Atalhos diretos por modo
50
50
  ```bash
51
- delphi fast # interativo para projeto/versão
52
- delphi debug --project Bimer
53
- delphi release --project Bimer --version 11.3.1
51
+ bbuilder fast # interativo para projeto/versão
52
+ bbuilder debug --project Bimer
53
+ bbuilder release --project Bimer --version 11.3.1
54
54
  ```
55
55
 
56
56
  ### Gerenciamento de projetos
57
57
  ```bash
58
- delphi project list # lista projetos configurados
59
- delphi project add # adiciona novo projeto (interativo)
58
+ bbuilder project list # lista projetos configurados
59
+ bbuilder project add # adiciona novo projeto (interativo)
60
60
  ```
61
61
 
62
62
  ### Configuração do ambiente
63
63
  ```bash
64
- delphi config init # assistente para criar bbuilder.config.json
65
- delphi config show # exibe configuração atual
64
+ bbuilder config init # assistente para criar bbuilder.config.json
65
+ bbuilder config show # exibe configuração atual
66
66
  ```
67
67
 
68
68
  ---
@@ -71,7 +71,7 @@ delphi config show # exibe configuração atual
71
71
 
72
72
  Prioridade de resolução da configuração:
73
73
 
74
- 1. `delphi --config <caminho>`
74
+ 1. `bbuilder --config <caminho>`
75
75
  2. Variável de ambiente `BBUILDER_CONFIG`
76
76
  3. `bbuilder.config.json` no diretório atual
77
77
  4. `bimer.config.json` no diretório atual, por compatibilidade
@@ -79,7 +79,7 @@ Prioridade de resolução da configuração:
79
79
 
80
80
  No Windows, o arquivo global fica em `%APPDATA%\bbuilder-cli\bbuilder.config.json`.
81
81
 
82
- Crie com `delphi config init`, ou manualmente:
82
+ Crie com `bbuilder config init`, ou manualmente:
83
83
 
84
84
  ```json
85
85
  {
@@ -108,17 +108,17 @@ Crie com `delphi config init`, ou manualmente:
108
108
 
109
109
  `projects` agora usa o formato `nome amigável: caminho real do projeto`, para a CLI exibir nomes humanizados sem perder a referência correta de compilação.
110
110
 
111
- Se o arquivo não existir, os valores padrão acima são usados automaticamente. Ao rodar `delphi config init`, a CLI gera um `dependencyPaths` inicial com base nos diretórios informados.
111
+ Se o arquivo não existir, os valores padrão acima são usados automaticamente. Ao rodar `bbuilder config init`, a CLI gera um `dependencyPaths` inicial com base nos diretórios informados.
112
112
 
113
113
  Exemplos:
114
114
 
115
115
  ```bash
116
- delphi --config C:\configs\bbuilder.config.json build
116
+ bbuilder --config C:\configs\bbuilder.config.json build
117
117
  ```
118
118
 
119
119
  ```bash
120
120
  set BBUILDER_CONFIG=C:\configs\bbuilder.config.json
121
- delphi config show
121
+ bbuilder config show
122
122
  ```
123
123
 
124
124
  ---
@@ -134,7 +134,7 @@ Substitua o `tasks.json` atual por este (sem mais menus do VSCode, a CLI cuida d
134
134
  {
135
135
  "label": "Bimer: FAST + Run",
136
136
  "type": "shell",
137
- "command": "delphi fast",
137
+ "command": "bbuilder fast",
138
138
  "group": "build",
139
139
  "presentation": { "reveal": "always", "focus": true, "panel": "dedicated", "clear": true },
140
140
  "problemMatcher": {
@@ -149,7 +149,7 @@ Substitua o `tasks.json` atual por este (sem mais menus do VSCode, a CLI cuida d
149
149
  {
150
150
  "label": "Bimer: DEBUG + Run",
151
151
  "type": "shell",
152
- "command": "delphi debug",
152
+ "command": "bbuilder debug",
153
153
  "group": "build",
154
154
  "presentation": { "reveal": "always", "focus": true, "panel": "dedicated", "clear": true },
155
155
  "problemMatcher": {
@@ -164,7 +164,7 @@ Substitua o `tasks.json` atual por este (sem mais menus do VSCode, a CLI cuida d
164
164
  {
165
165
  "label": "Bimer: RELEASE",
166
166
  "type": "shell",
167
- "command": "delphi release",
167
+ "command": "bbuilder release",
168
168
  "group": "build",
169
169
  "presentation": { "reveal": "always", "focus": true, "panel": "dedicated", "clear": true },
170
170
  "problemMatcher": {
@@ -16,7 +16,7 @@ async function runCli(argv) {
16
16
  const config = (0, config_1.loadConfig)(resolvedConfigPath);
17
17
  const program = new commander_1.Command();
18
18
  program
19
- .name('delphi')
19
+ .name('bbuilder')
20
20
  .description('CLI de build local para projetos Delphi do Bimer')
21
21
  .version('1.0.0')
22
22
  .option('-c, --config <path>', `Caminho do arquivo de configuração (ou ${config_1.CONFIG_ENV_VAR})`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brunoluizdesiqueira/bbuilder-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "CLI de build local para projetos Delphi do Bimer",
5
5
  "files": [
6
6
  "dist",
@@ -8,7 +8,7 @@
8
8
  "LICENSE"
9
9
  ],
10
10
  "bin": {
11
- "delphi": "./dist/index.js"
11
+ "bbuilder": "dist/index.js"
12
12
  },
13
13
  "scripts": {
14
14
  "build": "tsc",