create-fs-app 1.1.10 → 2.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 +524 -57
- package/dist/core/health-check.d.ts +21 -0
- package/dist/core/health-check.js +253 -0
- package/dist/core/health-check.js.map +1 -0
- package/dist/core/presets.d.ts +44 -0
- package/dist/core/presets.js +194 -0
- package/dist/core/presets.js.map +1 -0
- package/dist/core/scaffold.d.ts +32 -0
- package/dist/core/scaffold.js +106 -0
- package/dist/core/scaffold.js.map +1 -0
- package/dist/core/template-cache.d.ts +38 -0
- package/dist/core/template-cache.js +219 -0
- package/dist/core/template-cache.js.map +1 -0
- package/dist/core/template-clone.d.ts +27 -0
- package/dist/core/template-clone.js +335 -0
- package/dist/core/template-clone.js.map +1 -0
- package/dist/core/template-list.d.ts +34 -0
- package/dist/core/template-list.js +132 -0
- package/dist/core/template-list.js.map +1 -0
- package/dist/core/template-registry.d.ts +57 -0
- package/dist/core/template-registry.js +116 -0
- package/dist/core/template-registry.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +642 -0
- package/dist/index.js.map +1 -0
- package/dist/types/index.d.ts +106 -0
- package/dist/types/index.js +69 -0
- package/dist/types/index.js.map +1 -0
- package/dist/utils/errors.d.ts +15 -0
- package/dist/utils/errors.js +50 -0
- package/dist/utils/errors.js.map +1 -0
- package/dist/utils/logger.d.ts +37 -0
- package/dist/utils/logger.js +62 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/validation.d.ts +25 -0
- package/dist/utils/validation.js +63 -0
- package/dist/utils/validation.js.map +1 -0
- package/package.json +81 -35
- package/.github/workflows/npm-publish-github-packages.yml +0 -36
- package/SECURITY.md +0 -21
- package/assets/logo.png +0 -0
- package/assets/s1.png +0 -0
- package/create-fs-app.js +0 -181
package/README.md
CHANGED
|
@@ -1,57 +1,524 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
1
|
+
# Create Full-Stack App 🚀
|
|
2
|
+
|
|
3
|
+
A blazingly fast CLI tool for creating production-ready full-stack monorepo applications with your preferred tech stack.
|
|
4
|
+
|
|
5
|
+
**NEW**: Template-based architecture for lightning-fast project creation!
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+

|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
## 🎬 Demo
|
|
12
|
+
|
|
13
|
+
https://github.com/Om-jannu/create-fs-app/raw/master/assets/create-fs-app.mp4
|
|
14
|
+
|
|
15
|
+
> Watch create-fs-app in action - from zero to full-stack app in seconds!
|
|
16
|
+
|
|
17
|
+
## ✨ Features
|
|
18
|
+
|
|
19
|
+
### 🏗️ **Monorepo Frameworks**
|
|
20
|
+
- **Turborepo** - High-performance build system with intelligent caching
|
|
21
|
+
- **Nx** - Smart, extensible build framework with powerful dev tools
|
|
22
|
+
- **Lerna** - Time-tested monorepo management
|
|
23
|
+
|
|
24
|
+
### 🎨 **Frontend Frameworks**
|
|
25
|
+
- **React** (Vite) - Fast, modern React setup
|
|
26
|
+
- **Next.js** - Production-ready React with SSR/SSG
|
|
27
|
+
- **Vue** - Progressive JavaScript framework
|
|
28
|
+
- **Nuxt** - Vue with SSR and great DX
|
|
29
|
+
- **Angular** - Full-featured TypeScript framework
|
|
30
|
+
|
|
31
|
+
### 🛠️ **Backend Frameworks**
|
|
32
|
+
- **Express** - Minimal, flexible Node.js framework
|
|
33
|
+
- **NestJS** - Enterprise-grade Node.js framework
|
|
34
|
+
- **Fastify** - Lightning-fast web framework
|
|
35
|
+
- **Koa** - Modern, elegant middleware framework
|
|
36
|
+
|
|
37
|
+
### 💾 **Databases & ORMs**
|
|
38
|
+
- **PostgreSQL** + Prisma/TypeORM/Drizzle
|
|
39
|
+
- **MongoDB** + Mongoose
|
|
40
|
+
- **MySQL** + Prisma/TypeORM
|
|
41
|
+
- **SQLite** + Prisma
|
|
42
|
+
|
|
43
|
+
### 📦 **Package Managers**
|
|
44
|
+
- npm, yarn, pnpm
|
|
45
|
+
|
|
46
|
+
### 🔧 **Included Out of the Box**
|
|
47
|
+
- ✅ **TypeScript only** - All projects use TypeScript (no JavaScript)
|
|
48
|
+
- ✅ Styling solutions (Tailwind, CSS Modules, Styled Components)
|
|
49
|
+
- ✅ Testing frameworks (Jest, Vitest)
|
|
50
|
+
- ✅ Docker & Docker Compose
|
|
51
|
+
- ✅ ESLint + Prettier
|
|
52
|
+
- ✅ GitHub Actions CI/CD templates
|
|
53
|
+
- ✅ Shared packages support
|
|
54
|
+
|
|
55
|
+
## 🚀 Quick Start
|
|
56
|
+
|
|
57
|
+
### Interactive Mode (Recommended for First-Time Users)
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
npx create-fs-app my-app
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Follow the interactive prompts to customize your application.
|
|
64
|
+
|
|
65
|
+
### CLI Options Mode (Fast & Scriptable)
|
|
66
|
+
|
|
67
|
+
Skip prompts by specifying your stack directly:
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
npx create-fs-app my-app \
|
|
71
|
+
--monorepo turborepo \
|
|
72
|
+
--frontend next.js \
|
|
73
|
+
--backend nest.js \
|
|
74
|
+
--database postgresql \
|
|
75
|
+
--orm prisma \
|
|
76
|
+
--package-manager pnpm
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
✅ Perfect for CI/CD, scripts, and when you know exactly what you want!
|
|
80
|
+
|
|
81
|
+
### Direct Template Mode (Fastest)
|
|
82
|
+
|
|
83
|
+
Use a specific template by name:
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
# See all available templates
|
|
87
|
+
npx create-fs-app list
|
|
88
|
+
|
|
89
|
+
# Get info about a specific template
|
|
90
|
+
npx create-fs-app info turborepo-nextjs-nestjs-postgresql-prisma
|
|
91
|
+
|
|
92
|
+
# Use a specific template
|
|
93
|
+
npx create-fs-app my-app --template turborepo-nextjs-nestjs-postgresql-prisma
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Other Package Managers
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
# Using yarn
|
|
100
|
+
yarn create fs-app my-app
|
|
101
|
+
|
|
102
|
+
# Using pnpm
|
|
103
|
+
pnpm create fs-app my-app
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### CLI Options Mode (Non-Interactive)
|
|
107
|
+
|
|
108
|
+
Skip prompts by providing options directly:
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
npx create-fs-app my-app \
|
|
112
|
+
--monorepo turborepo \
|
|
113
|
+
--frontend next.js \
|
|
114
|
+
--backend nest.js \
|
|
115
|
+
--database postgresql \
|
|
116
|
+
--orm prisma
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
**All Available Options:**
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
npx create-fs-app <project-name> [options]
|
|
123
|
+
|
|
124
|
+
Stack Options:
|
|
125
|
+
--monorepo <framework> Monorepo framework (turborepo, nx, lerna)
|
|
126
|
+
--frontend <framework> Frontend (react, next.js, vue, nuxt, angular)
|
|
127
|
+
--backend <framework> Backend (express, nest.js, fastify, koa)
|
|
128
|
+
--database <db> Database (postgresql, mongodb, mysql, sqlite)
|
|
129
|
+
--orm <orm> ORM (prisma, typeorm, mongoose, drizzle)
|
|
130
|
+
--package-manager <pm> Package manager (npm, yarn, pnpm)
|
|
131
|
+
--styling <solution> Styling (css, scss, tailwind, styled-components)
|
|
132
|
+
--[no-]linting Enable linting (default: true)
|
|
133
|
+
--[no-]docker Include Docker (default: true)
|
|
134
|
+
|
|
135
|
+
Note: All projects use TypeScript by default (no JavaScript option)
|
|
136
|
+
|
|
137
|
+
Template Options:
|
|
138
|
+
-t, --template <name> Use a specific template directly
|
|
139
|
+
|
|
140
|
+
Control Options:
|
|
141
|
+
--no-git Skip git initialization
|
|
142
|
+
--no-install Skip dependency installation
|
|
143
|
+
-h, --help Display help
|
|
144
|
+
-V, --version Display version
|
|
145
|
+
|
|
146
|
+
Commands:
|
|
147
|
+
list, ls List all available templates
|
|
148
|
+
info <template> Show detailed template information
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
**See [docs/CLI_USAGE.md](./docs/CLI_USAGE.md) for complete usage guide and examples.**
|
|
152
|
+
|
|
153
|
+
## 💡 Usage Examples
|
|
154
|
+
|
|
155
|
+
### Example 1: SaaS Application
|
|
156
|
+
|
|
157
|
+
```bash
|
|
158
|
+
npx create-fs-app my-saas \
|
|
159
|
+
--monorepo turborepo \
|
|
160
|
+
--frontend next.js \
|
|
161
|
+
--backend nest.js \
|
|
162
|
+
--database postgresql \
|
|
163
|
+
--orm prisma \
|
|
164
|
+
--package-manager pnpm
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
### Example 2: E-commerce Site
|
|
168
|
+
|
|
169
|
+
```bash
|
|
170
|
+
npx create-fs-app my-shop \
|
|
171
|
+
--monorepo nx \
|
|
172
|
+
--frontend react \
|
|
173
|
+
--backend express \
|
|
174
|
+
--database mongodb \
|
|
175
|
+
--orm mongoose \
|
|
176
|
+
--styling tailwind
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### Example 3: Blog/CMS
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
npx create-fs-app my-blog \
|
|
183
|
+
--monorepo turborepo \
|
|
184
|
+
--frontend vue \
|
|
185
|
+
--backend nest.js \
|
|
186
|
+
--database postgresql \
|
|
187
|
+
--orm prisma
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### Example 4: CI/CD Pipeline
|
|
191
|
+
|
|
192
|
+
```bash
|
|
193
|
+
#!/bin/bash
|
|
194
|
+
# Automated project creation
|
|
195
|
+
npx create-fs-app $PROJECT_NAME \
|
|
196
|
+
--monorepo turborepo \
|
|
197
|
+
--frontend next.js \
|
|
198
|
+
--backend nest.js \
|
|
199
|
+
--database postgresql \
|
|
200
|
+
--orm prisma \
|
|
201
|
+
--no-git \
|
|
202
|
+
--no-install
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
**See [docs/CLI_USAGE.md](./docs/CLI_USAGE.md) for more examples and advanced usage.**
|
|
206
|
+
|
|
207
|
+
## 🛠️ Local Development
|
|
208
|
+
|
|
209
|
+
To run the CLI locally for testing and development:
|
|
210
|
+
|
|
211
|
+
### Method 1: Using npm link (Recommended)
|
|
212
|
+
|
|
213
|
+
This creates a global symlink so you can use `create-fs-app` anywhere:
|
|
214
|
+
|
|
215
|
+
```bash
|
|
216
|
+
# Install dependencies
|
|
217
|
+
npm install
|
|
218
|
+
|
|
219
|
+
# Build the project
|
|
220
|
+
npm run build
|
|
221
|
+
|
|
222
|
+
# Create a global symlink
|
|
223
|
+
npm link
|
|
224
|
+
|
|
225
|
+
# Now you can use it anywhere!
|
|
226
|
+
create-fs-app my-app
|
|
227
|
+
# or
|
|
228
|
+
create-fs-app my-app --template turborepo-nextjs-nestjs-postgresql-prisma
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
To unlink later:
|
|
232
|
+
```bash
|
|
233
|
+
npm unlink -g create-fs-app
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
### Method 2: Direct Node Execution
|
|
237
|
+
|
|
238
|
+
Run the compiled CLI directly:
|
|
239
|
+
|
|
240
|
+
```bash
|
|
241
|
+
# Build the project
|
|
242
|
+
npm run build
|
|
243
|
+
|
|
244
|
+
# Run directly with node
|
|
245
|
+
node dist/index.js my-app
|
|
246
|
+
|
|
247
|
+
# Or with options
|
|
248
|
+
node dist/index.js my-app --template turborepo-nextjs-nestjs-postgresql-prisma
|
|
249
|
+
|
|
250
|
+
# List templates
|
|
251
|
+
node dist/index.js list
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
### Method 3: Watch Mode for Development
|
|
255
|
+
|
|
256
|
+
For active development with auto-rebuild:
|
|
257
|
+
|
|
258
|
+
```bash
|
|
259
|
+
# Terminal 1: Watch for changes and rebuild
|
|
260
|
+
npm run dev
|
|
261
|
+
|
|
262
|
+
# Terminal 2: Run the CLI (rebuilds automatically)
|
|
263
|
+
node dist/index.js my-app
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
### Method 4: Using npx with local path
|
|
267
|
+
|
|
268
|
+
```bash
|
|
269
|
+
# Build first
|
|
270
|
+
npm run build
|
|
271
|
+
|
|
272
|
+
# Run with npx pointing to local dist
|
|
273
|
+
npx ./dist/index.js my-app
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
### Testing Your Changes
|
|
277
|
+
|
|
278
|
+
1. Make changes to source files in `src/`
|
|
279
|
+
2. Run `npm run build` (or `npm run dev` for watch mode)
|
|
280
|
+
3. Test with one of the methods above
|
|
281
|
+
4. Test different scenarios:
|
|
282
|
+
```bash
|
|
283
|
+
# Interactive mode
|
|
284
|
+
create-fs-app test-app
|
|
285
|
+
|
|
286
|
+
# CLI options mode
|
|
287
|
+
create-fs-app test-app --monorepo turborepo --frontend next.js
|
|
288
|
+
|
|
289
|
+
# Template mode
|
|
290
|
+
create-fs-app test-app --template turborepo-nextjs-nestjs-postgresql-prisma
|
|
291
|
+
|
|
292
|
+
# List templates
|
|
293
|
+
create-fs-app list
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
## Requirements
|
|
297
|
+
|
|
298
|
+
- Node.js 16.0.0 or later
|
|
299
|
+
- npm 7+ or yarn 1.22+ or pnpm 7+
|
|
300
|
+
|
|
301
|
+
## Project Structure
|
|
302
|
+
|
|
303
|
+
The generated project will have the following structure:
|
|
304
|
+
|
|
305
|
+
```
|
|
306
|
+
my-app/
|
|
307
|
+
├── apps/
|
|
308
|
+
│ ├── frontend/ # Frontend application
|
|
309
|
+
│ │ ├── src/
|
|
310
|
+
│ │ └── package.json
|
|
311
|
+
│ └── backend/ # Backend application
|
|
312
|
+
│ ├── src/
|
|
313
|
+
│ └── package.json
|
|
314
|
+
├── packages/
|
|
315
|
+
│ └── shared/ # Shared utilities and components
|
|
316
|
+
├── package.json # Root package.json
|
|
317
|
+
└── README.md
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
## Configuration Options
|
|
321
|
+
|
|
322
|
+
### Monorepo Frameworks
|
|
323
|
+
|
|
324
|
+
- **Turborepo**: High-performance build system with task caching
|
|
325
|
+
- **Nx**: Smart and extensible build framework
|
|
326
|
+
- **Lerna**: Original monorepo management tool
|
|
327
|
+
|
|
328
|
+
### Frontend Frameworks
|
|
329
|
+
|
|
330
|
+
- **React**: Popular UI library with Vite setup
|
|
331
|
+
- **Next.js**: Full-featured React framework with SSR
|
|
332
|
+
- **Vue**: Progressive JavaScript framework
|
|
333
|
+
- **Nuxt**: Vue.js framework with SSR support
|
|
334
|
+
- **Angular**: Full-featured TypeScript framework
|
|
335
|
+
|
|
336
|
+
### Backend Frameworks
|
|
337
|
+
|
|
338
|
+
- **Express**: Minimal Node.js web framework
|
|
339
|
+
- **NestJS**: Progressive Node.js framework
|
|
340
|
+
- **Fastify**: Fast and low overhead framework
|
|
341
|
+
- **Koa**: Modern middleware framework
|
|
342
|
+
|
|
343
|
+
### Database Options
|
|
344
|
+
|
|
345
|
+
- **MongoDB**: NoSQL database
|
|
346
|
+
- **PostgreSQL**: Advanced SQL database
|
|
347
|
+
- **MySQL**: Popular SQL database
|
|
348
|
+
- **SQLite**: Lightweight SQL database
|
|
349
|
+
|
|
350
|
+
### ORM Options
|
|
351
|
+
|
|
352
|
+
- **Prisma**: Modern database toolkit
|
|
353
|
+
- **TypeORM**: TypeScript ORM
|
|
354
|
+
- **Mongoose**: MongoDB ODM
|
|
355
|
+
- **Drizzle**: Lightweight SQL ORM
|
|
356
|
+
|
|
357
|
+
## Scripts
|
|
358
|
+
|
|
359
|
+
Common scripts available in generated projects:
|
|
360
|
+
|
|
361
|
+
```bash
|
|
362
|
+
# Development
|
|
363
|
+
npm run dev # Start development servers
|
|
364
|
+
|
|
365
|
+
# Building
|
|
366
|
+
npm run build # Build all applications
|
|
367
|
+
|
|
368
|
+
# Testing
|
|
369
|
+
npm run test # Run tests across applications
|
|
370
|
+
|
|
371
|
+
# Linting
|
|
372
|
+
npm run lint # Lint all applications
|
|
373
|
+
```
|
|
374
|
+
|
|
375
|
+
## Docker Support
|
|
376
|
+
|
|
377
|
+
If you choose Docker support, your project will include:
|
|
378
|
+
|
|
379
|
+
- `Dockerfile` for containerization
|
|
380
|
+
- `.dockerignore` for excluding files
|
|
381
|
+
- Docker Compose setup for development
|
|
382
|
+
|
|
383
|
+
## 🏗️ How It Works
|
|
384
|
+
|
|
385
|
+
`create-fs-app` uses a **template-based architecture** for lightning-fast project creation:
|
|
386
|
+
|
|
387
|
+
1. **Choose your stack** - Select frameworks via interactive prompts or CLI options
|
|
388
|
+
2. **Template matching** - CLI finds the perfect pre-built template
|
|
389
|
+
3. **Clone & customize** - Template is cloned from GitHub and customized with your project name
|
|
390
|
+
4. **Ready to code** - Complete, working application in seconds
|
|
391
|
+
|
|
392
|
+
### Why Template-Based?
|
|
393
|
+
|
|
394
|
+
- ⚡ **Fast** - Clone instead of generate (10x faster with caching)
|
|
395
|
+
- 🎯 **Tested** - Every template is a real, working project
|
|
396
|
+
- 🔄 **Up-to-date** - Templates maintained in separate repository
|
|
397
|
+
- 🤝 **Community** - Easy for anyone to contribute templates
|
|
398
|
+
- 📦 **Lightweight** - CLI stays tiny (39.5 KB compressed)
|
|
399
|
+
|
|
400
|
+
## 📚 Documentation
|
|
401
|
+
|
|
402
|
+
- **[CLI Usage Guide](./docs/CLI_USAGE.md)** - Complete CLI reference and examples
|
|
403
|
+
- **[Quick Reference](./docs/QUICK_REFERENCE.md)** - Quick command reference
|
|
404
|
+
- **[Template Contribution Guide](./docs/TEMPLATE_CONTRIBUTION_GUIDE.md)** - How to create templates
|
|
405
|
+
- **[Contributing](./CONTRIBUTING.md)** - Contribution guidelines
|
|
406
|
+
- **[Changelog](./CHANGELOG.md)** - Version history
|
|
407
|
+
|
|
408
|
+
## 🤝 Contributing
|
|
409
|
+
|
|
410
|
+
We welcome contributions! There are many ways to help:
|
|
411
|
+
|
|
412
|
+
### 1. Create New Templates
|
|
413
|
+
|
|
414
|
+
The fastest way to contribute! Create templates for popular stack combinations.
|
|
415
|
+
|
|
416
|
+
See the **[Template Creation Guide](./docs/TEMPLATE_CONTRIBUTION_GUIDE.md)** to get started.
|
|
417
|
+
|
|
418
|
+
### 2. Improve the CLI
|
|
419
|
+
|
|
420
|
+
- Report bugs
|
|
421
|
+
- Suggest features
|
|
422
|
+
- Submit PRs
|
|
423
|
+
- Improve documentation
|
|
424
|
+
|
|
425
|
+
See **[WORKFLOW.md](./WORKFLOW.md)** for the complete development workflow.
|
|
426
|
+
|
|
427
|
+
**Quick start:**
|
|
428
|
+
```bash
|
|
429
|
+
# 1. Fork and clone
|
|
430
|
+
git clone https://github.com/YOUR_USERNAME/create-fs-app.git
|
|
431
|
+
|
|
432
|
+
# 2. Create feature branch
|
|
433
|
+
git checkout -b feat/my-feature
|
|
434
|
+
|
|
435
|
+
# 3. Make changes and test
|
|
436
|
+
npm run dev
|
|
437
|
+
|
|
438
|
+
# 4. Bump version
|
|
439
|
+
./scripts/bump-version.sh minor
|
|
440
|
+
|
|
441
|
+
# 5. Update CHANGELOG.md
|
|
442
|
+
|
|
443
|
+
# 6. Create PR
|
|
444
|
+
# GitHub Actions will automatically publish when merged!
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
### 3. Share & Star
|
|
448
|
+
|
|
449
|
+
- Star this repo ⭐
|
|
450
|
+
- Share with your network
|
|
451
|
+
- Write blog posts
|
|
452
|
+
- Create video tutorials
|
|
453
|
+
|
|
454
|
+
## License
|
|
455
|
+
|
|
456
|
+
This project is licensed under the ISC License - see the [LICENSE](LICENSE) file for details.
|
|
457
|
+
|
|
458
|
+
## Support
|
|
459
|
+
|
|
460
|
+
- 📚 [Documentation](https://github.com/Om-jannu/create-fs-app/wiki)
|
|
461
|
+
- 🐛 [Issue Tracker](https://github.com/Om-jannu/create-fs-app/issues)
|
|
462
|
+
- 💬 [Discussions](https://github.com/Om-jannu/create-fs-app/discussions)
|
|
463
|
+
|
|
464
|
+
## 🗺️ Roadmap
|
|
465
|
+
|
|
466
|
+
### Phase 1 (Current - v0.1.0)
|
|
467
|
+
- [x] Template-based architecture
|
|
468
|
+
- [x] Interactive CLI with beautiful prompts
|
|
469
|
+
- [x] CLI options mode for automation
|
|
470
|
+
- [x] Template caching system (10x faster)
|
|
471
|
+
- [x] Configuration presets
|
|
472
|
+
- [x] Custom template URLs
|
|
473
|
+
- [x] Project health check
|
|
474
|
+
- [x] Comprehensive error handling
|
|
475
|
+
- [x] Replaced inquirer with prompts (lighter)
|
|
476
|
+
- [ ] Create 10+ core templates
|
|
477
|
+
|
|
478
|
+
### Phase 2 (Next)
|
|
479
|
+
- [ ] Separate templates repository
|
|
480
|
+
- [ ] Website for template browsing
|
|
481
|
+
- [ ] 25+ templates covering popular stacks
|
|
482
|
+
- [ ] Community template contributions
|
|
483
|
+
- [ ] Template versioning
|
|
484
|
+
|
|
485
|
+
### Phase 3 (Future)
|
|
486
|
+
- [ ] Template marketplace
|
|
487
|
+
- [ ] VS Code extension
|
|
488
|
+
- [ ] Project migration tool
|
|
489
|
+
- [ ] Interactive template builder
|
|
490
|
+
|
|
491
|
+
## 🌟 Showcase
|
|
492
|
+
|
|
493
|
+
Built something cool with `create-fs-app`? We'd love to feature it!
|
|
494
|
+
|
|
495
|
+
Open an issue with your project link.
|
|
496
|
+
|
|
497
|
+
## 📊 Stats
|
|
498
|
+
|
|
499
|
+

|
|
500
|
+

|
|
501
|
+

|
|
502
|
+
|
|
503
|
+
## 💖 Acknowledgments
|
|
504
|
+
|
|
505
|
+
Special thanks to all contributors and the open-source community!
|
|
506
|
+
|
|
507
|
+
Inspired by:
|
|
508
|
+
- [create-react-app](https://github.com/facebook/create-react-app)
|
|
509
|
+
- [create-next-app](https://github.com/vercel/next.js/tree/canary/packages/create-next-app)
|
|
510
|
+
- [create-t3-app](https://github.com/t3-oss/create-t3-app)
|
|
511
|
+
|
|
512
|
+
## 📄 License
|
|
513
|
+
|
|
514
|
+
ISC License - see [LICENSE](./LICENSE) file for details
|
|
515
|
+
|
|
516
|
+
---
|
|
517
|
+
|
|
518
|
+
<p align="center">
|
|
519
|
+
Made with ❤️ by <a href="https://github.com/Om-jannu">Om Jannu</a>
|
|
520
|
+
</p>
|
|
521
|
+
|
|
522
|
+
<p align="center">
|
|
523
|
+
<sub>If this tool helped you, please consider starring ⭐ the repo!</sub>
|
|
524
|
+
</p>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Project Health Check
|
|
3
|
+
* Verifies project setup and dependencies
|
|
4
|
+
*/
|
|
5
|
+
export interface HealthCheckResult {
|
|
6
|
+
passed: boolean;
|
|
7
|
+
checks: Array<{
|
|
8
|
+
name: string;
|
|
9
|
+
passed: boolean;
|
|
10
|
+
message: string;
|
|
11
|
+
suggestion?: string;
|
|
12
|
+
}>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Run health check on a project
|
|
16
|
+
*/
|
|
17
|
+
export declare function runHealthCheck(projectDir?: string): Promise<HealthCheckResult>;
|
|
18
|
+
/**
|
|
19
|
+
* Display health check results
|
|
20
|
+
*/
|
|
21
|
+
export declare function displayHealthCheckResults(result: HealthCheckResult): void;
|