@getcoherent/cli 0.6.43 → 0.6.44
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.
|
@@ -2336,7 +2336,7 @@ export default function AppLayout({
|
|
|
2336
2336
|
{children}
|
|
2337
2337
|
</main>
|
|
2338
2338
|
<footer className="border-t px-4 py-3 text-xs text-muted-foreground">
|
|
2339
|
-
|
|
2339
|
+
\xA9 ${year} ${name}
|
|
2340
2340
|
</footer>
|
|
2341
2341
|
</SidebarInset>
|
|
2342
2342
|
</SidebarProvider>
|
package/dist/index.js
CHANGED
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
warnIfVolatile,
|
|
35
35
|
warnInlineDuplicates,
|
|
36
36
|
writeFile
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-QE66D55S.js";
|
|
38
38
|
import {
|
|
39
39
|
COHERENT_REQUIRED_PACKAGES,
|
|
40
40
|
ensureUseClientIfNeeded,
|
|
@@ -8405,7 +8405,7 @@ async function fixCommand(opts = {}) {
|
|
|
8405
8405
|
}
|
|
8406
8406
|
try {
|
|
8407
8407
|
const { loadPlan: loadPlan2 } = await import("./plan-generator-YOPF773K.js");
|
|
8408
|
-
const { ensurePlanGroupLayouts: ensurePlanGroupLayouts2 } = await import("./code-generator-
|
|
8408
|
+
const { ensurePlanGroupLayouts: ensurePlanGroupLayouts2 } = await import("./code-generator-ASIANBH2.js");
|
|
8409
8409
|
const plan = loadPlan2(projectRoot);
|
|
8410
8410
|
if (plan) {
|
|
8411
8411
|
if (!dsm) {
|
|
@@ -8459,7 +8459,7 @@ async function fixCommand(opts = {}) {
|
|
|
8459
8459
|
const publicExists = existsSync15(publicLayoutPath);
|
|
8460
8460
|
const needsPublicLayout = !publicExists || !readFileSync11(publicLayoutPath, "utf-8").includes("<Header");
|
|
8461
8461
|
if (needsPublicLayout) {
|
|
8462
|
-
const { buildPublicLayoutCodeForSidebar } = await import("./code-generator-
|
|
8462
|
+
const { buildPublicLayoutCodeForSidebar } = await import("./code-generator-ASIANBH2.js");
|
|
8463
8463
|
mkdirSync7(resolve8(projectRoot, "app", "(public)"), { recursive: true });
|
|
8464
8464
|
const publicResult = safeWrite(publicLayoutPath, buildPublicLayoutCodeForSidebar(), projectRoot, backups);
|
|
8465
8465
|
if (publicResult.ok) {
|
|
@@ -8508,7 +8508,7 @@ async function fixCommand(opts = {}) {
|
|
|
8508
8508
|
}
|
|
8509
8509
|
const themeTogglePath = resolve8(projectRoot, "components", "shared", "theme-toggle.tsx");
|
|
8510
8510
|
if (!existsSync15(themeTogglePath)) {
|
|
8511
|
-
const { generateThemeToggleCode } = await import("./code-generator-
|
|
8511
|
+
const { generateThemeToggleCode } = await import("./code-generator-ASIANBH2.js");
|
|
8512
8512
|
mkdirSync7(resolve8(projectRoot, "components", "shared"), { recursive: true });
|
|
8513
8513
|
const themeResult = safeWrite(themeTogglePath, generateThemeToggleCode(), projectRoot, backups);
|
|
8514
8514
|
if (themeResult.ok) {
|
|
@@ -8529,7 +8529,7 @@ async function fixCommand(opts = {}) {
|
|
|
8529
8529
|
const isMinimal = appLayoutCode.length < 500 && !appLayoutCode.includes("Header") && !appLayoutCode.includes("Footer") && !appLayoutCode.includes("Sidebar") && !appLayoutCode.includes("SidebarProvider") && !appLayoutCode.includes("SidebarTrigger") && !appLayoutCode.includes("Sheet");
|
|
8530
8530
|
const navType = dsm.getConfig().navigation?.type || "header";
|
|
8531
8531
|
if (isMinimal && navType !== "none") {
|
|
8532
|
-
const { buildAppLayoutCode, buildGroupLayoutCode } = await import("./code-generator-
|
|
8532
|
+
const { buildAppLayoutCode, buildGroupLayoutCode } = await import("./code-generator-ASIANBH2.js");
|
|
8533
8533
|
const isSidebar = navType === "sidebar" || navType === "both";
|
|
8534
8534
|
const newLayout = isSidebar ? buildAppLayoutCode(navType, dsm.getConfig().name) : buildGroupLayoutCode("header", dsm.getConfig().pages?.map((p) => p.name) || [], dsm.getConfig().name);
|
|
8535
8535
|
if (!dryRun) {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.6.
|
|
6
|
+
"version": "0.6.44",
|
|
7
7
|
"description": "CLI interface for Coherent Design Method",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "./dist/index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"ora": "^7.0.1",
|
|
44
44
|
"prompts": "^2.4.2",
|
|
45
45
|
"zod": "^3.22.4",
|
|
46
|
-
"@getcoherent/core": "0.6.
|
|
46
|
+
"@getcoherent/core": "0.6.44"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/node": "^20.11.0",
|