create-kofi-stack 2.1.30 → 2.1.32
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 +8 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -522,8 +522,11 @@ async function generateProject(config, options = {}) {
|
|
|
522
522
|
};
|
|
523
523
|
await fs.writeJson(tsconfigPath, tsconfig, { spaces: 2 });
|
|
524
524
|
}
|
|
525
|
-
} catch {
|
|
525
|
+
} catch (error) {
|
|
526
526
|
spinner.warn("Failed to initialize shadcn. Run manually in apps/web: pnpm dlx shadcn@latest init");
|
|
527
|
+
if (error.stderr) {
|
|
528
|
+
console.log(pc2.dim(` Error: ${error.stderr}`));
|
|
529
|
+
}
|
|
527
530
|
}
|
|
528
531
|
if (config.marketingSite === "nextjs" || config.marketingSite === "payload") {
|
|
529
532
|
const marketingDir = path2.join(config.targetDir, "apps/marketing");
|
|
@@ -543,8 +546,11 @@ async function generateProject(config, options = {}) {
|
|
|
543
546
|
};
|
|
544
547
|
await fs.writeJson(marketingTsconfigPath, tsconfig, { spaces: 2 });
|
|
545
548
|
}
|
|
546
|
-
} catch {
|
|
549
|
+
} catch (error) {
|
|
547
550
|
spinner.warn("Failed to initialize shadcn theme in marketing app. Run manually: pnpm dlx shadcn@latest init");
|
|
551
|
+
if (error.stderr) {
|
|
552
|
+
console.log(pc2.dim(` Error: ${error.stderr}`));
|
|
553
|
+
}
|
|
548
554
|
}
|
|
549
555
|
}
|
|
550
556
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-kofi-stack",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.32",
|
|
4
4
|
"description": "Scaffold opinionated full-stack projects with Next.js, Convex, Better-Auth, and more",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"kofi-stack-template-generator": "^2.1.
|
|
13
|
+
"kofi-stack-template-generator": "^2.1.27",
|
|
14
14
|
"kofi-stack-types": "^2.2.0",
|
|
15
15
|
"@clack/prompts": "^0.7.0",
|
|
16
16
|
"commander": "^12.0.0",
|