create-kofi-stack 2.1.25 → 2.1.27
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 -4
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -525,15 +525,15 @@ async function generateProject(config, options = {}) {
|
|
|
525
525
|
} catch {
|
|
526
526
|
spinner.warn("Failed to initialize shadcn. Run manually in apps/web: pnpm dlx shadcn@latest init");
|
|
527
527
|
}
|
|
528
|
-
if (config.marketingSite === "nextjs") {
|
|
528
|
+
if (config.marketingSite === "nextjs" || config.marketingSite === "payload") {
|
|
529
529
|
const marketingDir = path2.join(config.targetDir, "apps/marketing");
|
|
530
|
-
spinner.start("Initializing shadcn/ui in apps/marketing...");
|
|
530
|
+
spinner.start("Initializing shadcn/ui theme in apps/marketing...");
|
|
531
531
|
try {
|
|
532
532
|
await execa("pnpm", ["dlx", "shadcn@latest", "init", "--yes", "--force", "--preset", presetUrl], {
|
|
533
533
|
cwd: marketingDir,
|
|
534
534
|
stdio: "pipe"
|
|
535
535
|
});
|
|
536
|
-
spinner.succeed("shadcn/ui initialized in marketing app");
|
|
536
|
+
spinner.succeed("shadcn/ui theme initialized in marketing app");
|
|
537
537
|
const marketingTsconfigPath = path2.join(marketingDir, "tsconfig.json");
|
|
538
538
|
if (await fs.pathExists(marketingTsconfigPath)) {
|
|
539
539
|
const tsconfig = await fs.readJson(marketingTsconfigPath);
|
|
@@ -544,7 +544,7 @@ async function generateProject(config, options = {}) {
|
|
|
544
544
|
await fs.writeJson(marketingTsconfigPath, tsconfig, { spaces: 2 });
|
|
545
545
|
}
|
|
546
546
|
} catch {
|
|
547
|
-
spinner.warn("Failed to initialize shadcn in marketing app. Run manually: pnpm dlx shadcn@latest init");
|
|
547
|
+
spinner.warn("Failed to initialize shadcn theme in marketing app. Run manually: pnpm dlx shadcn@latest init");
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-kofi-stack",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.27",
|
|
4
4
|
"description": "Scaffold opinionated full-stack projects with Next.js, Convex, Better-Auth, and more",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -9,14 +9,8 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"build": "tsup src/index.ts --format esm --dts",
|
|
14
|
-
"dev": "tsup src/index.ts --format esm --watch",
|
|
15
|
-
"start": "node dist/index.js",
|
|
16
|
-
"typecheck": "tsc --noEmit"
|
|
17
|
-
},
|
|
18
12
|
"dependencies": {
|
|
19
|
-
"kofi-stack-template-generator": "^2.1.
|
|
13
|
+
"kofi-stack-template-generator": "^2.1.23",
|
|
20
14
|
"kofi-stack-types": "^2.2.0",
|
|
21
15
|
"@clack/prompts": "^0.7.0",
|
|
22
16
|
"commander": "^12.0.0",
|
|
@@ -56,5 +50,11 @@
|
|
|
56
50
|
"bugs": {
|
|
57
51
|
"url": "https://github.com/theodenanyoh11/create-kofi-stack/issues"
|
|
58
52
|
},
|
|
59
|
-
"homepage": "https://github.com/theodenanyoh11/create-kofi-stack#readme"
|
|
60
|
-
|
|
53
|
+
"homepage": "https://github.com/theodenanyoh11/create-kofi-stack#readme",
|
|
54
|
+
"scripts": {
|
|
55
|
+
"build": "tsup src/index.ts --format esm --dts",
|
|
56
|
+
"dev": "tsup src/index.ts --format esm --watch",
|
|
57
|
+
"start": "node dist/index.js",
|
|
58
|
+
"typecheck": "tsc --noEmit"
|
|
59
|
+
}
|
|
60
|
+
}
|