create-kofi-stack 2.1.58 → 2.1.60

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 +0 -26
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -564,32 +564,6 @@ async function generateProject(config, options = {}) {
564
564
  console.log(pc2.dim(` Error: ${error.stderr}`));
565
565
  }
566
566
  }
567
- if (config.marketingSite === "nextjs" || config.marketingSite === "payload") {
568
- const marketingDir = path2.join(config.targetDir, "apps/marketing");
569
- spinner.start("Initializing shadcn/ui in apps/marketing...");
570
- try {
571
- await execa("pnpm", ["dlx", "shadcn@latest", "init", "--yes", "--force", "--base-color", baseColor], {
572
- cwd: marketingDir,
573
- stdio: "pipe"
574
- });
575
- spinner.succeed("shadcn/ui initialized in marketing app");
576
- const marketingTsconfigPath = path2.join(marketingDir, "tsconfig.json");
577
- if (await fs.pathExists(marketingTsconfigPath)) {
578
- const tsconfig = await fs.readJson(marketingTsconfigPath);
579
- tsconfig.compilerOptions = tsconfig.compilerOptions || {};
580
- tsconfig.compilerOptions.paths = {
581
- "@payload-config": ["./src/payload.config.ts"],
582
- "@/*": ["./src/*"]
583
- };
584
- await fs.writeJson(marketingTsconfigPath, tsconfig, { spaces: 2 });
585
- }
586
- } catch (error) {
587
- spinner.warn("Failed to initialize shadcn in marketing app. Run manually: pnpm dlx shadcn@latest init");
588
- if (error.stderr) {
589
- console.log(pc2.dim(` Error: ${error.stderr}`));
590
- }
591
- }
592
- }
593
567
  }
594
568
  spinner.start("Installing shadcn/ui components...");
595
569
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-kofi-stack",
3
- "version": "2.1.58",
3
+ "version": "2.1.60",
4
4
  "description": "Scaffold opinionated full-stack projects with Next.js, Convex, Better-Auth, and more",
5
5
  "type": "module",
6
6
  "bin": {
@@ -16,8 +16,8 @@
16
16
  "typecheck": "tsc --noEmit"
17
17
  },
18
18
  "dependencies": {
19
- "kofi-stack-template-generator": "^2.1.58",
20
- "kofi-stack-types": "^2.1.58",
19
+ "kofi-stack-template-generator": "^2.1.60",
20
+ "kofi-stack-types": "^2.1.60",
21
21
  "@clack/prompts": "^0.7.0",
22
22
  "commander": "^12.0.0",
23
23
  "execa": "^8.0.0",