create-kofi-stack 2.1.31 → 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.
Files changed (2) hide show
  1. package/dist/index.js +8 -2
  2. package/package.json +1 -1
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.31",
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": {