@codapult/cli 0.10.1 → 0.10.3

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.
@@ -11,6 +11,10 @@ async function selectPrompt(iface, question, options) {
11
11
  const idx = parseInt(answer, 10) - 1;
12
12
  return options[Math.max(0, Math.min(idx, options.length - 1))];
13
13
  }
14
+ function line() {
15
+ console.log();
16
+ return true;
17
+ }
14
18
  // ---------------------------------------------------------------------------
15
19
  // Built-in presets for non-interactive (CI/CD) setup via --preset flag.
16
20
  // ---------------------------------------------------------------------------
@@ -611,7 +615,7 @@ async function interactiveSetup() {
611
615
  'bullmq',
612
616
  ]),
613
617
  enableAuth: authEnabled,
614
- enableAI: await confirm(iface, '\nEnable AI Chat module?'),
618
+ enableAI: line() && (await confirm(iface, 'Enable AI Chat module?')),
615
619
  enableBlog: await confirm(iface, 'Enable Blog module?'),
616
620
  enableTeams: authEnabled && (await confirm(iface, 'Enable Teams/Organizations?')),
617
621
  enableWaitlist: await confirm(iface, 'Enable Waitlist page?'),
@@ -638,7 +642,7 @@ async function interactiveSetup() {
638
642
  enableBranding: authEnabled && (await confirm(iface, 'Enable per-org branding (white-label)?')),
639
643
  enableTwoFactor: authEnabled && (await confirm(iface, 'Enable two-factor authentication (TOTP)?')),
640
644
  enablePlugins: await confirm(iface, 'Enable plugin marketplace (/plugins)?'),
641
- removeUnusedCode: await confirm(iface, '\nRemove unused module code?', false),
645
+ removeUnusedCode: line() && (await confirm(iface, 'Remove unused module code?', false)),
642
646
  };
643
647
  iface.close();
644
648
  return config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codapult/cli",
3
- "version": "0.10.1",
3
+ "version": "0.10.3",
4
4
  "description": "Codapult CLI — manage, update, and diagnose your Codapult SaaS project",
5
5
  "license": "MIT",
6
6
  "packageManager": "pnpm@11.6.0",