create-backon 0.1.1 → 0.1.2

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/package.json +1 -1
  2. package/src/prompts.ts +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-backon",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "description": "Scaffolds a new backend project on backon — like `bun create vite@latest`, but for a consistent controller/routes/services backend layout.",
6
6
  "license": "MIT",
package/src/prompts.ts CHANGED
@@ -41,7 +41,7 @@ export async function runPrompts(): Promise<Answers> {
41
41
  message: "Framework",
42
42
  options: [
43
43
  { value: "hono", label: "Hono", hint: "faster, runs anywhere — Bun, edge, serverless" },
44
- { value: "express", label: "Express", hint: "the ecosystem you already know" },
44
+ { value: "express", label: "Express" },
45
45
  ],
46
46
  });
47
47
  if (p.isCancel(framework)) bail();
@@ -62,8 +62,8 @@ export async function runPrompts(): Promise<Answers> {
62
62
  // eslint-disable-next-line no-constant-condition
63
63
  while (true) {
64
64
  const name = await p.text({
65
- message: routes.length === 0 ? "Route name (e.g. telemetry)" : "Another route? (blank to finish)",
66
- placeholder: routes.length === 0 ? "telemetry" : "",
65
+ message: routes.length === 0 ? "Route name" : "Another route? (blank to finish)",
66
+ placeholder: routes.length === 0 ? "e.g. users" : "",
67
67
  });
68
68
  if (p.isCancel(name)) bail();
69
69
  if (!name) break;