@nimbuslab/cli 0.17.2 → 1.0.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 +0 -41
- package/dist/index.js +265 -1068
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,14 +5,7 @@ CLI para criar projetos com a stack moderna da nimbuslab.
|
|
|
5
5
|
## Instalacao
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
# Instalar CLI
|
|
9
8
|
npm install -g @nimbuslab/cli
|
|
10
|
-
|
|
11
|
-
# IMPORTANTE: Configurar ambiente Node.js (remove fnm/nvm, instala Volta)
|
|
12
|
-
nimbus setup node
|
|
13
|
-
|
|
14
|
-
# Instalar Lola (Code Agent)
|
|
15
|
-
nimbus lola install
|
|
16
9
|
```
|
|
17
10
|
|
|
18
11
|
## Comandos
|
|
@@ -23,7 +16,6 @@ nimbus analyze # Analisar stack do projeto atual
|
|
|
23
16
|
nimbus upgrade # Planejar upgrades de dependencias
|
|
24
17
|
nimbus update # Atualizar o CLI
|
|
25
18
|
nimbus setup node # Configurar ambiente Node.js (Volta)
|
|
26
|
-
nimbus lola install # Instalar Lola (Code Agent)
|
|
27
19
|
nimbus help # Ajuda
|
|
28
20
|
```
|
|
29
21
|
|
|
@@ -112,39 +104,6 @@ curl -fsSL https://bun.sh/install | bash
|
|
|
112
104
|
- [create-next-app](https://github.com/nimbuslab/create-next-app)
|
|
113
105
|
- [create-turborepo](https://github.com/nimbuslab/create-turborepo)
|
|
114
106
|
|
|
115
|
-
## Desenvolvimento
|
|
116
|
-
|
|
117
|
-
### Release
|
|
118
|
-
|
|
119
|
-
O projeto usa injecao de versao no build time para evitar problemas de versionamento.
|
|
120
|
-
|
|
121
|
-
```bash
|
|
122
|
-
# Release interativo (recomendado)
|
|
123
|
-
bun run release
|
|
124
|
-
|
|
125
|
-
# Release especifico
|
|
126
|
-
bun run release:patch # 0.17.1 -> 0.17.2
|
|
127
|
-
bun run release:minor # 0.17.1 -> 0.18.0
|
|
128
|
-
bun run release:major # 0.17.1 -> 1.0.0
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
**Como funciona:**
|
|
132
|
-
1. `bumpp` faz o bump da versao no `package.json`
|
|
133
|
-
2. `scripts/build.ts` le a versao e injeta no bundle via `--define`
|
|
134
|
-
3. `npm publish` publica o pacote
|
|
135
|
-
|
|
136
|
-
**Importante:** O script `prepublishOnly` garante que o build sempre roda antes do publish, mesmo se voce esquecer.
|
|
137
|
-
|
|
138
|
-
### Build Local
|
|
139
|
-
|
|
140
|
-
```bash
|
|
141
|
-
# Build de desenvolvimento
|
|
142
|
-
bun run build
|
|
143
|
-
|
|
144
|
-
# Testar localmente
|
|
145
|
-
bun run dist/index.js --version
|
|
146
|
-
```
|
|
147
|
-
|
|
148
107
|
## Licenca
|
|
149
108
|
|
|
150
109
|
UNLICENSED - [nimbuslab](https://nimbuslab.com.br) 2026
|