@mvp-kit/create 0.0.8 → 0.0.11

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
@@ -1,6 +1,6 @@
1
1
  # @mvp-kit/create
2
2
 
3
- > The official CLI for creating MVPKit applications
3
+ > The official Create CLI for creating MVPKit applications
4
4
 
5
5
  [![npm version](https://badge.fury.io/js/@mvp-kit%2Fcreate.svg)](https://www.npmjs.com/package/@mvp-kit/create)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
@@ -16,7 +16,6 @@ pnpm create @mvp-kit my-app
16
16
 
17
17
  # Or with bun
18
18
  bun create @mvp-kit my-app
19
-
20
19
  ```
21
20
 
22
21
  ## Features
@@ -34,43 +33,77 @@ bun create @mvp-kit my-app
34
33
  ### Basic Commands
35
34
 
36
35
  ```bash
37
- # Create a new MVPKit core application
36
+ # Create a new MVPKit core application (interactive)
38
37
  npx @mvp-kit/create my-app
39
38
 
40
- # Interactive mode (customize project details)
41
- npx @mvp-kit/create my-app --interactive
42
-
43
39
  # Non-interactive mode (use defaults)
44
- npx @mvp-kit/create my-app --no-interactive
40
+ npx @mvp-kit/create my-app --yes
41
+
42
+ # Skip dependency installation
43
+ npx @mvp-kit/create my-app --no-install
45
44
  ```
46
45
 
47
46
  ### Options
48
47
 
49
48
  | Option | Description |
50
49
  |--------|-------------|
51
- | `--description <text>` | Project description |
52
- | `--domain <domain>` | Domain name for the application |
50
+ | `-t, --template <template>` | Template to use (default: "core") |
51
+ | `-d, --description <text>` | Project description |
52
+ | `-w, --website <domain>` | Domain name for the application |
53
+ | `-p, --pack <pack>` | Component pack to install |
54
+ | `--no-cache` | Disable template caching |
53
55
  | `--no-install` | Skip dependency installation |
54
56
  | `--no-git` | Skip git initialization |
55
- | `--setup-db` | Setup database and run migrations |
56
- | `--no-interactive` | Skip interactive mode (use defaults) |
57
+ | `-y, --yes` | Skip interactive prompts and use defaults |
57
58
 
58
59
  ### Examples
59
60
 
60
61
  ```bash
61
- # Minimal setup (skip installs)
62
+ # Minimal setup (skip installs and git)
62
63
  npx @mvp-kit/create my-app --no-install --no-git
63
64
 
64
- # Quick setup with database
65
- npx @mvp-kit/create my-app --setup-db
65
+ # Quick setup with all components
66
+ npx @mvp-kit/create my-app --pack all
66
67
 
67
68
  # Non-interactive with custom options
68
69
  npx @mvp-kit/create my-app \
69
70
  --description "My awesome app" \
70
- --domain "myapp.com" \
71
- --no-interactive
71
+ --website "myapp.com" \
72
+ --yes
73
+ ```
74
+
75
+ ## What You Get
76
+
77
+ ### 🚀 Automated Setup
78
+ The CLI automatically handles:
79
+ - **Database Setup**: Initializes D1 database, generates schema, and runs migrations
80
+ - **Dependencies**: Installs all required packages
81
+ - **UI Components**: Configures shadcn/ui with your chosen theme
82
+ - **Code Quality**: Sets up ESLint, Prettier, and TypeScript
83
+ - **Version Control**: Initializes git repository with initial commit
84
+
85
+ ### 🆓 MVPKit Core Template
86
+ Production-ready foundation for rapid development:
87
+ - **Frontend**: React 19, TanStack Router, TanStack Query
88
+ - **Backend**: Cloudflare Workers, Hono, tRPC
89
+ - **Database**: D1 with Drizzle ORM (auto-configured)
90
+ - **Auth**: Better Auth with social providers
91
+ - **Styling**: Tailwind CSS v4 + shadcn/ui
92
+ - **Deployment**: Cloudflare Pages + Workers
93
+
94
+ ### 📱 Development Workflow
95
+ After creation:
96
+ ```bash
97
+ cd my-app
98
+ pnpm dev
72
99
  ```
73
100
 
101
+ Your application will be ready at http://localhost:3000 with:
102
+ - ✅ Database initialized and migrated
103
+ - ✅ Authentication configured
104
+ - ✅ UI components installed
105
+ - ✅ All dependencies resolved
106
+
74
107
  ## What You Get
75
108
 
76
109
  ### 🆓 MVPKit Core Template