create-kumiko-app 0.3.2 → 0.4.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-kumiko-app",
3
- "version": "0.3.2",
3
+ "version": "0.4.1",
4
4
  "description": "`bun create kumiko-app <name>` — scaffold a new Kumiko app with an interactive feature picker.",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -30,8 +30,8 @@
30
30
  "vendor:manifest": "bun run scripts/vendor-manifest.ts"
31
31
  },
32
32
  "dependencies": {
33
- "@cosmicdrift/kumiko-dev-server": "0.76.0",
34
- "@cosmicdrift/kumiko-framework": "0.76.0",
33
+ "@cosmicdrift/kumiko-dev-server": "0.77.1",
34
+ "@cosmicdrift/kumiko-framework": "0.77.1",
35
35
  "@inquirer/prompts": "^7.4.0"
36
36
  },
37
37
  "publishConfig": {
@@ -40,6 +40,16 @@ describe("create-kumiko-app CLI", () => {
40
40
  expect(cfg).toContain("createDeliveryFeature");
41
41
  // mail-transport-smtp is opt-in (not recommended, no transitive require) — should NOT auto-mount.
42
42
  expect(cfg).not.toContain("mailTransportSmtpFeature");
43
+
44
+ // UX-polish: Next-steps points at `bun dev` (the primary dev path since
45
+ // PR #583 introduced bin/dev.ts), not the CI-only `bun run boot` smoke.
46
+ const out = logs.join("\n");
47
+ expect(out).toContain("bun dev");
48
+ expect(out).toContain("docker compose up -d");
49
+ expect(out).not.toContain("bun run boot");
50
+
51
+ // Setup-impact preview lands before the scaffold actually runs.
52
+ expect(out).toMatch(/→ Scaffolding \d+ features? into \.\/demo-app\//);
43
53
  });
44
54
 
45
55
  test("--print-manifest emits JSON, no name needed", async () => {
package/src/index.ts CHANGED
@@ -57,6 +57,10 @@ export async function runCreate(args: CliArgs): Promise<number> {
57
57
  if (reportableAutoAdds.length > 0) {
58
58
  log(`Auto-included via requires: ${reportableAutoAdds.join(", ")}`);
59
59
  }
60
+ log("");
61
+ log(
62
+ `→ Scaffolding ${features.length} feature${features.length === 1 ? "" : "s"} into ./${args.name}/ …`,
63
+ );
60
64
 
61
65
  const result = scaffoldApp({
62
66
  name: args.name,
@@ -70,8 +74,9 @@ export async function runCreate(args: CliArgs): Promise<number> {
70
74
  log("Nächste Schritte:");
71
75
  log(` cd ${args.name}`);
72
76
  log(" bun install");
73
- log(" cp .env.example .env # edit JWT_SECRET + KUMIKO_SECRETS_MASTER_KEY_V1");
74
- log(" bun run boot");
77
+ log(" cp .env.example .env # JWT_SECRET + KUMIKO_SECRETS_MASTER_KEY_V1 setzen");
78
+ log(" docker compose up -d # wenn noch kein PG + Redis läuft");
79
+ log(" bun dev # startet den Dev-Server + zeigt URL/Login");
75
80
  return 0;
76
81
  }
77
82