bunkit-cli 0.5.2 → 0.6.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.
Files changed (3) hide show
  1. package/README.md +23 -22
  2. package/dist/index.js +19909 -18830
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -32,10 +32,10 @@
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
- - **Modular Features** - Add auth, database, payments, and more on demand
35
+ - **Workspace Management** - Add workspaces and shared packages to monorepos
36
36
  - **Modern Stack** - Next.js 16, React 19, Hono, Drizzle ORM, TypeScript 5
37
- - **Monorepo Ready** - Bun workspaces with dependency catalogs
38
- - **Zero Config** - Smart defaults, fully customizable
37
+ - **Monorepo Expertise** - Bun workspaces with dependency catalogs and isolated installs
38
+ - **Architecture First** - Provides foundation and structure, not business logic
39
39
 
40
40
  ## Installation
41
41
 
@@ -149,23 +149,21 @@ bunkit create <preset> <name> [options]
149
149
 
150
150
  ### `bunkit add`
151
151
 
152
- Add features to an existing project.
152
+ Extend your monorepo with new workspaces and shared packages.
153
153
 
154
154
  ```bash
155
155
  bunkit add <feature> [options]
156
156
 
157
157
  # Options:
158
- --provider <provider> Specify provider (e.g., supabase, stripe)
158
+ --name <name> Name for the workspace or package
159
+ --preset <preset> Preset for workspace (nextjs, hono, library)
160
+ --type <type> Type for package (library, utils, types, config)
159
161
  ```
160
162
 
161
163
  **Available Features:**
162
164
 
163
- - `auth` - Authentication (Supabase Auth, NextAuth, etc.)
164
- - `database` - Database with Drizzle ORM (PostgreSQL, MySQL, SQLite)
165
- - `ui` - UI components with shadcn/ui + Tailwind CSS 4
166
- - `payments` - Payment integration (Stripe, Paddle)
167
- - `email` - Email service (Resend, Nodemailer)
168
- - `storage` - File storage (Supabase Storage, S3)
165
+ - `workspace` - Add a new workspace to monorepo (nextjs, hono, or library)
166
+ - `package` - Add a shared package to monorepo (library, utils, types, or config)
169
167
 
170
168
  ## Examples
171
169
 
@@ -194,18 +192,20 @@ cd my-backend
194
192
  bun --hot src/index.ts
195
193
  ```
196
194
 
197
- ### Add Authentication to Existing Project
195
+ ### Add Workspace to Monorepo
198
196
 
199
197
  ```bash
200
- cd my-project
201
- bunkit add auth --provider supabase
198
+ cd my-saas
199
+ bunkit add workspace --name apps/admin --preset nextjs
200
+ # Creates new Next.js workspace in apps/admin
202
201
  ```
203
202
 
204
- ### Add UI Components
203
+ ### Add Shared Package to Monorepo
205
204
 
206
205
  ```bash
207
- bunkit add ui
208
- # Installs shadcn/ui with Tailwind CSS 4 and iconoir-react icons
206
+ cd my-saas
207
+ bunkit add package --name @myapp/email --type library
208
+ # Creates shared package in packages/email
209
209
  ```
210
210
 
211
211
  ## What You Get
@@ -262,11 +262,12 @@ Modern stack with zero legacy baggage. Bun runtime means fast installs, fast tes
262
262
 
263
263
  ## Philosophy
264
264
 
265
- - **Quality First** - Enterprise-grade code from day one
266
- - **Type Safety** - Strict TypeScript everywhere
267
- - **Performance** - Native Bun APIs, minimal dependencies
268
- - **Developer Experience** - Fast iteration with HMR
269
- - **Modern Stack** - Latest stable versions only
265
+ - **Architecture, Not Product** - Provides foundation and structure, not business logic
266
+ - **Bun-First** - Leverages Bun 1.3+ features (catalogs, isolated installs, workspaces)
267
+ - **Monorepo Expertise** - Makes Bun monorepos easy and maintainable
268
+ - **Type Safety** - Strict TypeScript everywhere, proper project references
269
+ - **Modern Stack** - Latest stable versions (Next.js 16, React 19, Hono, Tailwind 4)
270
+ - **Developer Experience** - Beautiful CLI, hot reload, clear conventions
270
271
 
271
272
  ## Community & Support
272
273