@nimbuslab/cli 1.0.0 → 1.2.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.
Files changed (3) hide show
  1. package/README.md +176 -57
  2. package/dist/index.js +1388 -312
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -1,109 +1,228 @@
1
1
  # @nimbuslab/cli
2
2
 
3
- CLI para criar projetos com a stack moderna da nimbuslab.
3
+ > Modern Next.js project generator with AI-friendly documentation and best practices built-in.
4
4
 
5
- ## Instalacao
5
+ Create production-ready Next.js projects in seconds with intelligent setup, optimized documentation for AI coding assistants, and interactive service configuration.
6
6
 
7
- ```bash
8
- npm install -g @nimbuslab/cli
9
- ```
7
+ ## Features
8
+
9
+ ✨ **Modern Stack** - Next.js 16, React 19, TypeScript, Tailwind CSS 4, shadcn/ui
10
+ 🤖 **AI-Friendly Documentation** - Auto-generated context files for Claude Code, Cursor, GitHub Copilot
11
+ ⚡ **Interactive Setup** - Configure services (email, analytics) during project creation
12
+ 📦 **Zero Config** - Smart defaults, production-ready from day one
13
+ 🎨 **Beautiful UI** - shadcn/ui components with dark mode support
10
14
 
11
- ## Comandos
15
+ ## Quick Start
12
16
 
13
17
  ```bash
14
- nimbus create # Criar novo projeto (interativo)
15
- nimbus analyze # Analisar stack do projeto atual
16
- nimbus upgrade # Planejar upgrades de dependencias
17
- nimbus update # Atualizar o CLI
18
- nimbus setup node # Configurar ambiente Node.js (Volta)
19
- nimbus help # Ajuda
18
+ npm install -g @nimbuslab/cli
19
+ nimbus create my-project
20
20
  ```
21
21
 
22
22
  ## Templates
23
23
 
24
24
  ### Landing Page
25
25
 
26
+ Perfect for marketing sites, product launches, and portfolios.
27
+
26
28
  ```bash
27
- nimbus create meu-site --landing
29
+ nimbus create my-site --landing
28
30
  ```
29
31
 
30
- Stack: Next.js 16 + React 19 + Tailwind CSS 4 + shadcn/ui
32
+ **Includes:**
33
+ - Next.js 16 (App Router, Turbopack)
34
+ - React 19 (Server Components)
35
+ - Tailwind CSS 4 (CSS-first)
36
+ - shadcn/ui (default style)
37
+ - TypeScript (strict mode)
38
+ - Responsive design
39
+ - Dark mode support
40
+ - SEO optimized
41
+
42
+ ### Web Application
31
43
 
32
- ### Web App
44
+ Full-stack app with authentication and database.
33
45
 
34
46
  ```bash
35
- nimbus create meu-app --app
47
+ nimbus create my-app --app
36
48
  ```
37
49
 
38
- Stack: Landing + Better Auth + Drizzle ORM + Docker
50
+ **Everything in Landing, plus:**
51
+ - Better Auth (authentication)
52
+ - Drizzle ORM (database)
53
+ - Protected routes
54
+ - User management
55
+ - Dashboard layout
56
+ - Docker support
39
57
 
40
58
  ### Monorepo
41
59
 
60
+ Turborepo setup for multi-app projects.
61
+
42
62
  ```bash
43
- nimbus create meu-projeto --turborepo
63
+ nimbus create my-workspace --turborepo
44
64
  ```
45
65
 
46
- Stack: Turborepo + apps/packages compartilhados
66
+ **Includes:**
67
+ - Turborepo (build system)
68
+ - Shared packages (ui, config, utils)
69
+ - Multiple apps support
70
+ - Optimized caching
71
+ - Parallel execution
72
+
73
+ ## AI-Friendly Documentation
74
+
75
+ Every project includes automatically generated documentation optimized for LLMs:
76
+
77
+ ### Generated Files
78
+
79
+ - **AGENTS.md** - Universal context for Claude Code, Cursor, GitHub Copilot
80
+ - **llms.txt** - 2026 standard for LLM indexing (ChatGPT, Perplexity)
81
+ - **ARCHITECTURE.md** - Architectural decisions with rationale
82
+ - **EXAMPLES.md** - Common tasks with complete code examples
83
+ - **Compatibility symlinks** - `.cursorrules`, `.github/copilot-instructions.md`
84
+
85
+ ### Interactive Service Setup
47
86
 
48
- ## Setup Node (Volta)
87
+ Configure integrations during project creation:
49
88
 
50
- O comando `nimbus setup node` configura o ambiente Node.js usando [Volta](https://volta.sh).
89
+ - **Resend** - Transactional email (3,000 emails/month free)
90
+ - **Google Analytics** - Site metrics (free)
51
91
 
52
- **Por que Volta?**
53
- - fnm e nvm causam problemas de cache do shell
54
- - Volta nao tem esse problema (binarios nativos)
55
- - Funciona igual no Linux e Windows
56
- - Gerencia Node, npm e pacotes globais automaticamente
92
+ The CLI provides:
93
+ - Pricing information and signup links
94
+ - API key validation
95
+ - Automatic `.env` and `.env.example` generation
96
+ - Direct links to documentation
97
+
98
+ Based on [GEO (Generative Engine Optimization)](https://gitbook.com/docs/guides/seo-and-llm-optimization/geo-guide) best practices.
99
+
100
+ ## Commands
57
101
 
58
102
  ```bash
59
- # Verificar ambiente atual
60
- nimbus setup node --check
103
+ nimbus create [name] # Create new project (interactive)
104
+ nimbus analyze [dir] # Analyze existing project stack
105
+ nimbus upgrade [target] # Plan dependency upgrades
106
+ nimbus update # Update CLI itself
107
+ nimbus setup node # Configure Node.js environment (Volta)
108
+ nimbus help # Show help
109
+ ```
61
110
 
62
- # Migrar para Volta (interativo)
63
- nimbus setup node
111
+ ## Options
112
+
113
+ | Flag | Description |
114
+ |------|-------------|
115
+ | `-y, --yes` | Accept defaults (skip prompts) |
116
+ | `--no-git` | Skip Git initialization |
117
+ | `--no-install` | Skip dependency installation |
118
+ | `--landing` | Use landing page template |
119
+ | `--app` | Use web app template |
120
+ | `--turborepo` | Use monorepo template |
121
+
122
+ ## Examples
123
+
124
+ ### Landing Page (Auto Mode)
125
+
126
+ ```bash
127
+ nimbus create portfolio --landing -y
128
+ cd portfolio
129
+ bun dev
64
130
  ```
65
131
 
66
- O comando:
67
- 1. Detecta fnm/nvm instalados
68
- 2. Remove automaticamente
69
- 3. Instala Volta
70
- 4. Reinstala pacotes globais
132
+ ### Web App (Interactive)
71
133
 
72
- ## Analyze e Upgrade
134
+ ```bash
135
+ nimbus create dashboard --app
136
+ # Follow prompts for service configuration
137
+ cd dashboard
138
+ bun setup # Database setup
139
+ bun dev
140
+ ```
141
+
142
+ ### Analyze Existing Project
143
+
144
+ ```bash
145
+ nimbus analyze ./my-project
146
+ nimbus analyze --json # JSON output
147
+ ```
148
+
149
+ ### Plan Upgrades
73
150
 
74
151
  ```bash
75
- # Analisar projeto existente
76
- nimbus analyze ./meu-projeto
77
- nimbus analyze --json
78
-
79
- # Planejar upgrades
80
- nimbus upgrade --plan
81
- nimbus upgrade tailwind
82
- nimbus upgrade next
152
+ nimbus upgrade --plan # Show available upgrades
153
+ nimbus upgrade tailwind # Upgrade specific package
154
+ nimbus upgrade next # Upgrade Next.js
83
155
  ```
84
156
 
85
- ## Opcoes
157
+ ## Node.js Setup (Volta)
158
+
159
+ Configure Node.js environment using [Volta](https://volta.sh).
160
+
161
+ **Why Volta?**
162
+ - No shell cache issues (unlike fnm/nvm)
163
+ - Native binaries for better performance
164
+ - Cross-platform (Linux, macOS, Windows)
165
+ - Automatic version management per project
166
+
167
+ ```bash
168
+ # Check current environment
169
+ nimbus setup node --check
170
+
171
+ # Migrate to Volta (interactive)
172
+ nimbus setup node
173
+ ```
86
174
 
87
- | Flag | Descricao |
88
- |------|-----------|
89
- | `-y, --yes` | Aceitar padroes |
90
- | `--no-git` | Nao inicializar Git |
91
- | `--no-install` | Nao instalar dependencias |
175
+ The command will:
176
+ 1. Detect existing fnm/nvm installations
177
+ 2. Remove them automatically
178
+ 3. Install Volta
179
+ 4. Reinstall global packages
92
180
 
93
- ## Requisitos
181
+ ## Requirements
94
182
 
95
183
  - [Bun](https://bun.sh) >= 1.0
96
184
 
97
185
  ```bash
186
+ # Linux/macOS
98
187
  curl -fsSL https://bun.sh/install | bash
188
+
189
+ # Windows
190
+ powershell -c "irm bun.sh/install.ps1 | iex"
99
191
  ```
100
192
 
101
- ## Templates Open Source
193
+ ## Open Source Templates
194
+
195
+ - [create-next-landing](https://github.com/nimbuslab/create-next-landing) - Landing page template
196
+ - [create-next-app](https://github.com/nimbuslab/create-next-app) - Web app template
197
+ - [create-turborepo](https://github.com/nimbuslab/create-turborepo) - Monorepo template
198
+
199
+ ## Why nimbuslab CLI?
200
+
201
+ **Modern Stack**
202
+ Built with the latest technologies: Next.js 16, React 19, Tailwind CSS 4. Always up-to-date.
203
+
204
+ **AI-First**
205
+ Documentation designed for AI coding assistants. Get better suggestions, faster onboarding.
206
+
207
+ **Zero Config**
208
+ Smart defaults based on industry best practices. Production-ready from day one.
209
+
210
+ **Interactive**
211
+ Guided setup for services and integrations. No more reading docs to get started.
212
+
213
+ **Open Source**
214
+ All templates are open source. Fork, customize, contribute back.
215
+
216
+ ## Support
217
+
218
+ - 📖 [Documentation](https://github.com/nimbuslab/nimbus-cli)
219
+ - 🐛 [Issues](https://github.com/nimbuslab/nimbus-cli/issues)
220
+ - 💬 [Discussions](https://github.com/nimbuslab/nimbus-cli/discussions)
221
+
222
+ ## License
102
223
 
103
- - [create-next-landing](https://github.com/nimbuslab/create-next-landing)
104
- - [create-next-app](https://github.com/nimbuslab/create-next-app)
105
- - [create-turborepo](https://github.com/nimbuslab/create-turborepo)
224
+ MIT © [nimbuslab](https://nimbuslab.com.br)
106
225
 
107
- ## Licenca
226
+ ---
108
227
 
109
- UNLICENSED - [nimbuslab](https://nimbuslab.com.br) 2026
228
+ **Created by nimbuslab** - Building digital products with design and technology.