@atlashub/smartstack-cli 4.12.0 → 4.14.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.
@@ -26100,7 +26100,7 @@ var init_types3 = __esm({
26100
26100
  includeLayouts: external_exports.boolean().default(true).describe("Generate layout components"),
26101
26101
  includeGuards: external_exports.boolean().default(true).describe("Include route guards for permissions"),
26102
26102
  generateRegistry: external_exports.boolean().default(true).describe("Generate navRoutes.generated.ts"),
26103
- outputFormat: external_exports.enum(["standalone", "applicationRoutes", "clientRoutes"]).default("standalone").describe('Output format: "standalone" generates createBrowserRouter(), "applicationRoutes" generates exportable RouteObject[] arrays for App.tsx integration (note: "clientRoutes" is a deprecated alias for "applicationRoutes")'),
26103
+ outputFormat: external_exports.enum(["standalone", "applicationRoutes", "clientRoutes"]).default("applicationRoutes").describe('Output format: "standalone" generates createBrowserRouter(), "applicationRoutes" generates exportable RouteObject[] arrays for App.tsx integration (note: "clientRoutes" is a deprecated alias for "applicationRoutes")'),
26104
26104
  dryRun: external_exports.boolean().default(false).describe("Preview without writing files")
26105
26105
  }).optional()
26106
26106
  });
@@ -57807,7 +57807,7 @@ async function scaffoldRoutes(input, config2) {
57807
57807
  }
57808
57808
  result.files.push({ path: registryFile, content: registryContent, type: "created" });
57809
57809
  }
57810
- const outputFormat = options?.outputFormat ?? "standalone";
57810
+ const outputFormat = options?.outputFormat ?? "applicationRoutes";
57811
57811
  if (outputFormat === "applicationRoutes" || outputFormat === "clientRoutes") {
57812
57812
  const pageFiles = await discoverPageFiles(webPath, navRoutes);
57813
57813
  const applicationRoutesContent = generateApplicationRoutesConfig(navRoutes, pageFiles, includeGuards);