create-kofi-stack 2.0.7 → 2.0.8

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 +6 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -323,7 +323,12 @@ async function writeNodeToDisk(node, targetDir) {
323
323
  }
324
324
 
325
325
  // src/index.ts
326
- var VERSION = "2.0.0";
326
+ import { readFileSync } from "fs";
327
+ import { fileURLToPath } from "url";
328
+ import { dirname, join } from "path";
329
+ var __dirname = dirname(fileURLToPath(import.meta.url));
330
+ var pkg = JSON.parse(readFileSync(join(__dirname, "../package.json"), "utf-8"));
331
+ var VERSION = pkg.version;
327
332
  var kofiGradient = gradient(["#FF6B6B", "#4ECDC4", "#FFE66D"]);
328
333
  function displayBanner() {
329
334
  console.log();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-kofi-stack",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "description": "Scaffold opinionated full-stack projects with Next.js, Convex, Better-Auth, and more",
5
5
  "type": "module",
6
6
  "bin": {