bunkit-cli 0.6.1 → 0.8.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 +61 -3
- package/dist/index.js +2177 -160
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
- **Lightning Fast** - Powered by Bun runtime for instant scaffolding
|
|
33
33
|
- **Interactive CLI** - Beautiful prompts powered by @clack/prompts (same as Astro)
|
|
34
34
|
- **Multiple Presets** - Choose from minimal, web, api, or full-stack templates
|
|
35
|
+
- **shadcn/ui Integration** - Complete UI component system with themes and customization
|
|
35
36
|
- **Workspace Management** - Add workspaces and shared packages to monorepos
|
|
36
37
|
- **Modern Stack** - Next.js 16, React 19, Hono, Drizzle ORM, TypeScript 5
|
|
37
38
|
- **Monorepo Expertise** - Bun workspaces with dependency catalogs and isolated installs
|
|
@@ -64,8 +65,25 @@ bunkit init
|
|
|
64
65
|
You'll be guided through:
|
|
65
66
|
- Project name selection
|
|
66
67
|
- Preset choice (minimal, web, api, full)
|
|
67
|
-
-
|
|
68
|
-
-
|
|
68
|
+
- Database configuration:
|
|
69
|
+
- PostgreSQL + Drizzle ORM
|
|
70
|
+
- Supabase (Client Only) - with presets and feature selection
|
|
71
|
+
- Supabase + Drizzle ORM - with presets and feature selection
|
|
72
|
+
- SQLite + Drizzle ORM
|
|
73
|
+
- None
|
|
74
|
+
- Supabase configuration (if Supabase selected):
|
|
75
|
+
- Preset: full-stack, auth-only, database-only, or custom
|
|
76
|
+
- Features: auth, storage, realtime, edge-functions, database
|
|
77
|
+
- Code quality tools (Ultracite, Biome)
|
|
78
|
+
- TypeScript strictness level
|
|
79
|
+
- CSS framework (Tailwind, Vanilla, CSS Modules)
|
|
80
|
+
- UI library (shadcn/ui with full customization)
|
|
81
|
+
- Style (new-york, default)
|
|
82
|
+
- Base color (neutral, gray, zinc, stone, slate)
|
|
83
|
+
- Border radius
|
|
84
|
+
- Testing framework (Bun Test, Vitest, none)
|
|
85
|
+
- Docker configuration
|
|
86
|
+
- CI/CD setup
|
|
69
87
|
- Git initialization
|
|
70
88
|
|
|
71
89
|
#### Non-Interactive Mode (AI-Friendly)
|
|
@@ -101,6 +119,19 @@ bunkit init --name my-app --preset web --no-git --no-install --non-interactive
|
|
|
101
119
|
**Available CLI Flags:**
|
|
102
120
|
- `--name <name>` - Project name
|
|
103
121
|
- `--preset <preset>` - Preset type (minimal, web, api, full)
|
|
122
|
+
- `--database <database>` - Database option (postgres-drizzle, supabase, supabase-drizzle, sqlite-drizzle, none)
|
|
123
|
+
- `--supabase-preset <preset>` - Supabase preset (full-stack, auth-only, database-only, custom)
|
|
124
|
+
- `--supabase-features <features>` - Comma-separated Supabase features (auth,storage,realtime,edge-functions,database)
|
|
125
|
+
- `--code-quality <tool>` - Code quality tool (ultracite, biome)
|
|
126
|
+
- `--ts-strictness <level>` - TypeScript strictness (strict, moderate, loose)
|
|
127
|
+
- `--ui-library <library>` - UI library (shadcn, none)
|
|
128
|
+
- `--css-framework <framework>` - CSS framework (tailwind, vanilla, css-modules)
|
|
129
|
+
- `--shadcn-style <style>` - shadcn/ui style (new-york, default)
|
|
130
|
+
- `--shadcn-base-color <color>` - shadcn/ui base color (neutral, gray, zinc, stone, slate)
|
|
131
|
+
- `--shadcn-radius <radius>` - shadcn/ui border radius (e.g., 0.5rem, 8px)
|
|
132
|
+
- `--testing <framework>` - Testing framework (bun-test, vitest, none)
|
|
133
|
+
- `--docker` - Include Docker configuration
|
|
134
|
+
- `--cicd` - Include GitHub Actions CI/CD
|
|
104
135
|
- `--no-git` - Skip git initialization
|
|
105
136
|
- `--no-install` - Skip dependency installation
|
|
106
137
|
- `--non-interactive` - Run without prompts (requires all options)
|
|
@@ -164,6 +195,11 @@ bunkit add <feature> [options]
|
|
|
164
195
|
|
|
165
196
|
- `workspace` - Add a new workspace to monorepo (nextjs, hono, or library)
|
|
166
197
|
- `package` - Add a shared package to monorepo (library, utils, types, or config)
|
|
198
|
+
- `component` - Add shadcn/ui components to your project
|
|
199
|
+
```bash
|
|
200
|
+
bunkit add component --components button,card,input
|
|
201
|
+
bunkit add component --all # Browse all available components
|
|
202
|
+
```
|
|
167
203
|
|
|
168
204
|
## Examples
|
|
169
205
|
|
|
@@ -208,6 +244,22 @@ bunkit add package --name @myapp/email --type library
|
|
|
208
244
|
# Creates shared package in packages/email
|
|
209
245
|
```
|
|
210
246
|
|
|
247
|
+
### Add shadcn/ui Components
|
|
248
|
+
|
|
249
|
+
```bash
|
|
250
|
+
# After creating a project with shadcn/ui configured
|
|
251
|
+
cd my-app
|
|
252
|
+
|
|
253
|
+
# Add specific components
|
|
254
|
+
bunkit add component --components button,card,input
|
|
255
|
+
|
|
256
|
+
# Browse all available components
|
|
257
|
+
bunkit add component --all
|
|
258
|
+
|
|
259
|
+
# Components are installed and ready to use!
|
|
260
|
+
# Import them: import { Button } from "@/components/ui/button"
|
|
261
|
+
```
|
|
262
|
+
|
|
211
263
|
## What You Get
|
|
212
264
|
|
|
213
265
|
### Full-Stack Monorepo Structure
|
|
@@ -237,7 +289,13 @@ my-app/
|
|
|
237
289
|
- **Database:** Drizzle ORM with native Bun drivers
|
|
238
290
|
- **Language:** TypeScript 5 (strict mode)
|
|
239
291
|
- **Styling:** Tailwind CSS 4 (CSS-first configuration)
|
|
240
|
-
- **UI Components:** shadcn/ui
|
|
292
|
+
- **UI Components:** shadcn/ui - Complete component system
|
|
293
|
+
- 5 base color themes (neutral, gray, zinc, stone, slate)
|
|
294
|
+
- Style variants (new-york, default)
|
|
295
|
+
- Customizable border radius
|
|
296
|
+
- Auto-installed default components (button, card)
|
|
297
|
+
- 60+ available components via `bunkit add component`
|
|
298
|
+
- Example components and comprehensive documentation
|
|
241
299
|
- **Code Quality:** Biome (NO ESLint, NO Prettier)
|
|
242
300
|
|
|
243
301
|
## Why bunkit?
|