@getcoherent/cli 0.6.4 → 0.6.5
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.
|
@@ -67,7 +67,7 @@ var PlannedComponentSchema = z.object({
|
|
|
67
67
|
description: z.string().default(""),
|
|
68
68
|
props: z.string().default("{}"),
|
|
69
69
|
usedBy: z.array(z.string()).default([]),
|
|
70
|
-
type: z.string().transform(normalizeEnum(COMPONENT_TYPE_SYNONYMS)).pipe(z.enum(["section", "widget"])),
|
|
70
|
+
type: z.string().transform(normalizeEnum(COMPONENT_TYPE_SYNONYMS)).pipe(z.enum(["section", "widget"])).catch("widget"),
|
|
71
71
|
shadcnDeps: z.array(z.string()).default([])
|
|
72
72
|
});
|
|
73
73
|
var PageNoteSchema = z.object({
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
loadPlan,
|
|
6
6
|
routeToKey,
|
|
7
7
|
savePlan
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-F3NMRT3Z.js";
|
|
9
9
|
import {
|
|
10
10
|
__require
|
|
11
11
|
} from "./chunk-3RG5ZIWI.js";
|
|
@@ -8056,7 +8056,7 @@ async function splitGeneratePages(spinner, message, modCtx, provider, parseOpts)
|
|
|
8056
8056
|
if (plan && plan.sharedComponents.length > 0) {
|
|
8057
8057
|
spinner.start(`Phase 4.5/6 \u2014 Generating ${plan.sharedComponents.length} shared components from plan...`);
|
|
8058
8058
|
try {
|
|
8059
|
-
const { generateSharedComponentsFromPlan } = await import("./plan-generator-
|
|
8059
|
+
const { generateSharedComponentsFromPlan } = await import("./plan-generator-Q5DUGYPD.js");
|
|
8060
8060
|
const generated = await generateSharedComponentsFromPlan(
|
|
8061
8061
|
plan,
|
|
8062
8062
|
styleContext,
|
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.5",
|
|
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.5"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/node": "^20.11.0",
|