@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.
- package/dist/mcp-entry.mjs +2 -2
- package/dist/mcp-entry.mjs.map +1 -1
- package/package.json +1 -1
- package/templates/skills/apex/references/frontend-route-wiring-app-tsx.md +55 -0
- package/templates/skills/application/references/frontend-route-wiring-app-tsx.md +55 -0
- package/templates/skills/application/steps/step-05-frontend.md +4 -2
package/dist/mcp-entry.mjs
CHANGED
|
@@ -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("
|
|
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 ?? "
|
|
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);
|