create-kumiko-app 0.4.44 → 0.4.47

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/bin/cli.ts CHANGED
@@ -1,4 +1,11 @@
1
1
  #!/usr/bin/env bun
2
+ import { ExitPromptError } from "@inquirer/core";
2
3
  import { parseArgv, runCreate } from "../src/index";
3
4
 
4
- process.exit(await runCreate(parseArgv(process.argv.slice(2))));
5
+ try {
6
+ process.exit(await runCreate(parseArgv(process.argv.slice(2))));
7
+ } catch (err) {
8
+ // Ctrl-C during an Inquirer picker throws this — a clean exit, not a crash.
9
+ if (err instanceof ExitPromptError) process.exit(0);
10
+ throw err;
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-kumiko-app",
3
- "version": "0.4.44",
3
+ "version": "0.4.47",
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,9 @@
30
30
  "vendor:manifest": "bun run scripts/vendor-manifest.ts"
31
31
  },
32
32
  "dependencies": {
33
- "@cosmicdrift/kumiko-dev-server": "0.105.2",
34
- "@cosmicdrift/kumiko-framework": "0.105.2",
33
+ "@cosmicdrift/kumiko-dev-server": "0.108.0",
34
+ "@cosmicdrift/kumiko-framework": "0.108.0",
35
+ "@inquirer/core": "^10.0.0",
35
36
  "@inquirer/prompts": "^7.4.0"
36
37
  },
37
38
  "publishConfig": {
package/src/index.ts CHANGED
@@ -62,7 +62,7 @@ export async function runCreate(args: CliArgs): Promise<number> {
62
62
  `→ Scaffolding ${features.length} feature${features.length === 1 ? "" : "s"} into ./${args.name}/ …`,
63
63
  );
64
64
 
65
- const result = scaffoldApp({
65
+ const result = await scaffoldApp({
66
66
  name: args.name,
67
67
  cwd: args.cwd,
68
68
  features,