launchframe 0.4.6 → 0.4.7

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.
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Windows-friendly CLI entry: npx/cmd-shim reliably spawns Node for .cjs bins.
4
+ * Implementation lives in launchframe.mjs (ESM).
5
+ */
6
+ const { spawnSync } = require("node:child_process");
7
+ const { join } = require("node:path");
8
+
9
+ const script = join(__dirname, "launchframe.mjs");
10
+ const result = spawnSync(process.execPath, [script, ...process.argv.slice(2)], {
11
+ stdio: "inherit",
12
+ windowsHide: true,
13
+ });
14
+
15
+ process.exit(result.status === null ? 1 : result.status);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "launchframe",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "private": false,
5
5
  "description": "Scaffold a Next.js app from a reference URL plus your SaaS idea — AI-ready website cloning",
6
6
  "author": "JCodesMore",
@@ -30,7 +30,7 @@
30
30
  "node": ">=24"
31
31
  },
32
32
  "bin": {
33
- "launchframe": "bin/launchframe.mjs"
33
+ "launchframe": "bin/launchframe.cjs"
34
34
  },
35
35
  "files": [
36
36
  "bin",