create-kide-app 0.1.5 → 0.1.6

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 (2) hide show
  1. package/README.md +14 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,27 +5,29 @@ Scaffold a new [Kide CMS](https://github.com/mhernesniemi/kide-cms) project.
5
5
  ## Usage
6
6
 
7
7
  ```bash
8
- npm create kide-app my-project
9
- # or
10
- pnpm create kide-app my-project
11
- # or
12
- bunx create-kide-app my-project
8
+ pnpx create-kide-app my-project
13
9
  ```
14
10
 
15
- The CLI will guide you through:
11
+ The CLI asks for:
16
12
 
17
13
  1. **Project name** — directory to create
18
14
  2. **Deploy target** — Local/Node.js or Cloudflare
19
- 3. **Demo content** — optionally seed the database
15
+ 3. **Seed demo content** — local target only
20
16
 
21
17
  ## What it does
22
18
 
23
- - Downloads the latest Kide CMS template from GitHub
24
- - Applies platform-specific configuration (Node.js adapter, Cloudflare D1/R2, etc.)
25
- - Installs dependencies
26
- - Generates the CMS schema
27
- - Optionally seeds demo content
19
+ - Clones the latest Kide CMS from GitHub.
20
+ - Applies target-specific configuration (Node.js adapter, or Cloudflare D1/R2/Workers).
21
+ - Installs dependencies with pnpm.
22
+ - Optionally creates a GitHub repo (if the `gh` CLI is installed and authenticated).
23
+ - Generates the CMS schema.
24
+ - For **local**: optionally seeds demo content, then starts the dev server.
25
+ - For **Cloudflare**: logs into wrangler (if needed), creates a D1 database and R2 bucket, applies migrations, builds and deploys, and prints the live URL + admin URL.
28
26
 
29
27
  ## Requirements
30
28
 
31
29
  - Node.js >= 22.12.0
30
+ - `pnpm` installed
31
+ - `git` on PATH
32
+ - Optional: [`gh` CLI](https://cli.github.com) authenticated (`gh auth login`) for GitHub repo creation
33
+ - For Cloudflare: a Cloudflare account (the CLI runs `wrangler login` for you)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-kide-app",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Scaffold a new Kide CMS project",
5
5
  "author": "Matti Hernesniemi",
6
6
  "license": "MIT",