vibe-splain 1.0.1 → 1.0.2
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/index.js +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -371,7 +371,10 @@ async function writeDossier(projectRoot, dossier) {
|
|
|
371
371
|
async function regenerateUI(projectRoot, dossier) {
|
|
372
372
|
const uiDir = join4(projectRoot, ".vibe-splainer", "ui");
|
|
373
373
|
await mkdir2(uiDir, { recursive: true });
|
|
374
|
-
|
|
374
|
+
let templateDir = join4(__dirname2, "ui");
|
|
375
|
+
if (!existsSync3(templateDir)) {
|
|
376
|
+
templateDir = join4(__dirname2, "../../cli/dist/ui");
|
|
377
|
+
}
|
|
375
378
|
if (!existsSync3(templateDir)) {
|
|
376
379
|
console.error("[vibe-splain] UI template not found at", templateDir, "- skipping UI regeneration");
|
|
377
380
|
return;
|