create-blitzpack 0.1.2 → 0.1.5

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 ADDED
@@ -0,0 +1,52 @@
1
+ # create-blitzpack
2
+
3
+ CLI tool to scaffold a new Blitzpack project - full-stack TypeScript monorepo with Next.js and Fastify.
4
+
5
+ ## Usage
6
+
7
+ ```bash
8
+ pnpm create blitzpack
9
+ ```
10
+
11
+ ## Options
12
+
13
+ ```bash
14
+ pnpm create blitzpack [project-name] [options]
15
+ ```
16
+
17
+ - `[project-name]` - Name of the project (prompted if not provided)
18
+ - `--skip-git` - Skip git initialization
19
+ - `--skip-install` - Skip dependency installation
20
+ - `--dry-run` - Preview changes without creating files
21
+
22
+ ## What You Get
23
+
24
+ - **Web**: Next.js 16 + React 19 + Tailwind CSS v4 + shadcn/ui
25
+ - **API**: Fastify 5 + Prisma 7 + PostgreSQL + Better Auth
26
+ - **Monorepo**: Turborepo + pnpm workspaces
27
+ - **Production-ready**: Auth, admin dashboard, logging, validation, testing, Docker
28
+
29
+ ## Requirements
30
+
31
+ - Node.js ≥20.0.0
32
+ - pnpm ≥9.0.0
33
+ - Docker (for PostgreSQL)
34
+
35
+ ## Next Steps
36
+
37
+ After scaffolding:
38
+
39
+ ```bash
40
+ cd your-project
41
+ docker compose up -d # Start PostgreSQL
42
+ pnpm db:migrate # Run migrations
43
+ pnpm dev # Start development
44
+ ```
45
+
46
+ ## Documentation
47
+
48
+ Full documentation: [github.com/CarboxyDev/blitzpack](https://github.com/CarboxyDev/blitzpack)
49
+
50
+ ## License
51
+
52
+ MIT
package/dist/index.js CHANGED
@@ -181,7 +181,8 @@ var GITHUB_REPO = "github:CarboxyDev/blitzpack";
181
181
  var POST_DOWNLOAD_EXCLUDES = [
182
182
  "create-blitzpack",
183
183
  "scripts/setup.js",
184
- ".github"
184
+ ".github",
185
+ "apps/marketing"
185
186
  ];
186
187
  async function cleanupExcludes(targetDir) {
187
188
  for (const exclude of POST_DOWNLOAD_EXCLUDES) {
@@ -218,7 +219,7 @@ function transformSiteConfig(content, vars) {
218
219
  return content.replace(/name: ['"].*['"]/, `name: '${vars.projectName}'`).replace(
219
220
  /description: ['"].*['"]/,
220
221
  `description: '${vars.projectDescription}'`
221
- ).replace(/github: ['"].*['"]/, `github: ''`);
222
+ );
222
223
  }
223
224
  function transformLayout(content, vars) {
224
225
  return content.replace(/title: ['"].*['"]/, `title: '${vars.projectName}'`).replace(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-blitzpack",
3
- "version": "0.1.2",
3
+ "version": "0.1.5",
4
4
  "description": "Create a new Blitzpack project - full-stack TypeScript monorepo with Next.js and Fastify",
5
5
  "type": "module",
6
6
  "bin": {