@launchframe/cli 0.1.6 → 0.1.9

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/README.md CHANGED
@@ -4,6 +4,12 @@
4
4
 
5
5
  LaunchFrame is a production-ready SaaS boilerplate that deploys to a single affordable VPS. Get subscriptions, credits, multi-tenancy, feature gating, and API management out of the box.
6
6
 
7
+ ## Status
8
+
9
+ LaunchFrame is currently in **private beta**. This CLI exists but does not yet generate projects.
10
+
11
+ **[Join the waitlist at launchframe.dev](https://launchframe.dev)** to get early access, exclusive updates, and founding member perks.
12
+
7
13
  ## What You Get
8
14
 
9
15
  - **Single VPS deployment**: Everything runs on one $7-20/mo server (Docker + Traefik)
@@ -44,12 +50,6 @@ Most SaaS boilerplates give you authentication and a database. LaunchFrame gives
44
50
 
45
51
  All tested in production. All ready to customize.
46
52
 
47
- ## Status
48
-
49
- This CLI is **preview-only** - it demonstrates the architecture but doesn't yet generate fully functional projects.
50
-
51
- For production-ready access and full documentation, **[join the waitlist](https://launchframe.dev)**.
52
-
53
53
  ## License
54
54
 
55
55
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@launchframe/cli",
3
- "version": "0.1.6",
3
+ "version": "0.1.9",
4
4
  "description": "Production-ready B2B SaaS boilerplate with subscriptions, credits, and multi-tenancy",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -36,6 +36,9 @@
36
36
  "engines": {
37
37
  "node": ">=16.0.0"
38
38
  },
39
+ "publishConfig": {
40
+ "access": "public"
41
+ },
39
42
  "dependencies": {
40
43
  "inquirer": "^8.2.5",
41
44
  "chalk": "^4.1.2",
@@ -26,7 +26,21 @@ function isDevMode() {
26
26
 
27
27
  // Check if running from node_modules (production) or local directory (dev)
28
28
  const scriptPath = __dirname;
29
- return !scriptPath.includes('node_modules');
29
+
30
+ // Check multiple indicators that we're in production:
31
+ // 1. Running from node_modules
32
+ // 2. Running from npm cache (_npx or .npm)
33
+ // 3. Package name in path
34
+ const isInNodeModules = scriptPath.includes('node_modules');
35
+ const isInNpmCache = scriptPath.includes('_npx') || scriptPath.includes('.npm');
36
+ const isInPackage = scriptPath.includes('@launchframe');
37
+
38
+ // If any production indicator is found, we're NOT in dev mode
39
+ if (isInNodeModules || isInNpmCache || isInPackage) {
40
+ return false;
41
+ }
42
+
43
+ return true;
30
44
  }
31
45
 
32
46
  /**