@forinda/kickjs-cli 2.3.3 → 3.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 +19 -0
- package/dist/cli.mjs +810 -190
- package/dist/index.d.mts +1 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +133 -72
- package/dist/index.mjs.map +1 -1
- package/dist/{typegen-DdX5N7XT.mjs → typegen-BL0O61s-.mjs} +2 -2
- package/dist/{typegen-DdX5N7XT.mjs.map → typegen-BL0O61s-.mjs.map} +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -35,6 +35,25 @@ kick add <pkg> # Install a KickJS package + peers
|
|
|
35
35
|
kick add --list # Show all available packages
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
+
## Interactive Project Scaffolding
|
|
39
|
+
|
|
40
|
+
`kick new` uses [@clack/prompts](https://github.com/natemoo-re/clack) for a rich interactive experience with colored output:
|
|
41
|
+
|
|
42
|
+
- **Template selection** — REST, GraphQL, DDD, CQRS, Minimal
|
|
43
|
+
- **Package manager** — pnpm, npm, yarn
|
|
44
|
+
- **Repository/ORM** — Prisma, Drizzle, In-Memory, Custom
|
|
45
|
+
- **Multi-select packages** — auth, swagger, otel, ws, queue, cron, mailer, graphql, devtools, notifications, multi-tenant
|
|
46
|
+
- **Git init + dependency install** confirmations
|
|
47
|
+
|
|
48
|
+
Selected packages are automatically wired into the generated `package.json` dependencies and `src/index.ts` adapter registrations.
|
|
49
|
+
|
|
50
|
+
All prompts can be skipped with flags for CI/scripting:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
kick new my-api --template rest --pm pnpm --repo prisma \
|
|
54
|
+
--packages auth,swagger,otel --no-git --no-install
|
|
55
|
+
```
|
|
56
|
+
|
|
38
57
|
## Generator Flags
|
|
39
58
|
|
|
40
59
|
```bash
|