create-kyro 0.3.1 → 0.4.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 CHANGED
@@ -19,32 +19,35 @@ npx create-kyro
19
19
  1. **Interactive Setup** - Prompts for:
20
20
  - Project name
21
21
  - Database (SQLite, PostgreSQL, MySQL, MongoDB)
22
- - API protocols (REST, GraphQL, tRPC, WebSocket)
23
- - Styling (Tailwind, CSS Modules, Styled Components, None)
24
- - Authentication
25
- - Versioning/Drafts
26
- - Admin dashboard
27
- - Starting template (Minimal, Blog, E-commerce)
22
+ - Starting template (Minimal, Blog, E-commerce, Kitchen Sink)
28
23
 
29
24
  2. **Project Generation** - Creates:
30
- - `package.json` with all dependencies
31
- - `kyro.config.ts` with your selections
32
- - `astro.config.mjs` configured for SSR
25
+ - `package.json` with dependencies (`@kyro-cms/core`, `@kyro-cms/admin`, `astro`)
26
+ - `kyro.config.ts` with your selections (collections, globals, database adapter, auth)
27
+ - `astro.config.mjs` with `kyro()` and `kyroAdmin()` integrations configured
33
28
  - `tsconfig.json`
34
- - `SPEC.md` with project specification
35
- - Initial pages and structure
29
+ - `.env.example` with configuration hints
30
+ - Welcome page and project structure
36
31
 
37
32
  3. **Installation** - Runs `npm install`
38
33
 
39
34
  4. **Git Init** - Initializes git repository with first commit
40
35
 
36
+ ## What you get
37
+
38
+ - **Kyro Core** - Full CMS backend (REST, GraphQL, auth, sessions, keys, audit, webhooks)
39
+ - **Kyro Admin** - Modern admin dashboard via Astro integration
40
+ - **Zero boilerplate** - No manual auth routes, no middleware, no admin page setup
41
+ - **Built-in auth** - JWT-based authentication with session management, API keys, RBAC
42
+ - **First-user super admin** - The first registered user automatically gets super admin privileges
43
+
41
44
  ## Programmatic Usage
42
45
 
43
46
  ```typescript
44
47
  import { promptUser } from 'create-kyro';
45
48
 
46
49
  const answers = await promptUser();
47
- // { projectName, database, apis, styling, auth, versioning, admin, template }
50
+ // { projectName, database, template }
48
51
  ```
49
52
 
50
53
  ## License