@digilogiclabs/create-saas-app 1.18.8 → 1.19.1

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 (38) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +122 -37
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/generators/template-generator.d.ts +2 -0
  5. package/dist/generators/template-generator.d.ts.map +1 -1
  6. package/dist/generators/template-generator.js +79 -4
  7. package/dist/generators/template-generator.js.map +1 -1
  8. package/dist/templates/mobile/base/template/package.json +3 -3
  9. package/dist/templates/mobile/ui-auth-payments/template/package.json +3 -3
  10. package/dist/templates/mobile/ui-auth-payments-ai/template/package.json +5 -5
  11. package/dist/templates/mobile/ui-auth-payments-ai-rag/template/package.json +5 -5
  12. package/dist/templates/web/base/template/package.json +3 -3
  13. package/dist/templates/web/ui-auth/template/package.json +2 -2
  14. package/dist/templates/web/ui-auth-ai/template/package.json +4 -4
  15. package/dist/templates/web/ui-auth-payments/template/package.json +5 -3
  16. package/dist/templates/web/ui-auth-payments/template/src/app/page.tsx +1 -0
  17. package/dist/templates/web/ui-auth-payments-ai/template/package.json +7 -5
  18. package/dist/templates/web/ui-auth-payments-ai-rag/template/package.json +7 -5
  19. package/dist/templates/web/ui-auth-payments-audio/template/package.json +5 -3
  20. package/dist/templates/web/ui-auth-payments-video/template/package.json +5 -3
  21. package/dist/templates/web/ui-only/template/package.json +1 -1
  22. package/dist/templates/web/ui-package-test/template/package.json +1 -1
  23. package/package.json +1 -1
  24. package/src/templates/mobile/base/template/package.json +3 -3
  25. package/src/templates/mobile/ui-auth-payments/template/package.json +3 -3
  26. package/src/templates/mobile/ui-auth-payments-ai/template/package.json +5 -5
  27. package/src/templates/mobile/ui-auth-payments-ai-rag/template/package.json +5 -5
  28. package/src/templates/web/base/template/package.json +3 -3
  29. package/src/templates/web/ui-auth/template/package.json +2 -2
  30. package/src/templates/web/ui-auth-ai/template/package.json +4 -4
  31. package/src/templates/web/ui-auth-payments/template/package.json +5 -3
  32. package/src/templates/web/ui-auth-payments/template/src/app/page.tsx +1 -0
  33. package/src/templates/web/ui-auth-payments-ai/template/package.json +7 -5
  34. package/src/templates/web/ui-auth-payments-ai-rag/template/package.json +7 -5
  35. package/src/templates/web/ui-auth-payments-audio/template/package.json +5 -3
  36. package/src/templates/web/ui-auth-payments-video/template/package.json +5 -3
  37. package/src/templates/web/ui-only/template/package.json +1 -1
  38. package/src/templates/web/ui-package-test/template/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,55 @@
1
1
  # @digilogiclabs/create-saas-app
2
2
 
3
+ ## 1.19.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 🔧 **Critical Payment Template Fix**
8
+ - **Issue**: Missing Stripe dependencies (`@stripe/react-stripe-js`, `@stripe/stripe-js`) in web payment templates causing build failures
9
+ - **Solution**: Added missing dependencies to all web payment templates
10
+ - **Package Update**: Updated all payment templates to use `@digilogiclabs/saas-factory-payments@^1.2.2` with proper peer dependencies
11
+ - **Impact**: All payment templates now build and function correctly without dependency errors
12
+
13
+ ### Templates Fixed
14
+
15
+ - ✅ **web/ui-auth-payments**: Added Stripe React dependencies
16
+ - ✅ **web/ui-auth-payments-ai**: Added Stripe React dependencies
17
+ - ✅ **web/ui-auth-payments-audio**: Added Stripe React dependencies
18
+ - ✅ **web/ui-auth-payments-video**: Added Stripe React dependencies
19
+ - ✅ **web/ui-auth-payments-ai-rag**: Added Stripe React dependencies
20
+ - ✅ **mobile/***: Already had correct React Native Stripe dependencies
21
+
22
+ ## 1.19.0
23
+
24
+ ### Major Changes
25
+
26
+ - 🔧 **Critical JSX-Mustache Template Processing Fix**
27
+ - **Issue**: JSX object literals (e.g., `style={{ flex: 1 }}`) were being incorrectly parsed as mustache variables, causing widespread syntax errors in mobile templates
28
+ - **Solution**: Implemented sophisticated brace-counting parser that intelligently protects JSX syntax during template processing
29
+ - **Impact**: Mobile template generation now works flawlessly with zero JSX syntax errors
30
+
31
+ - 📦 **Package Version Updates Across All Templates**
32
+ - **UI Package**: `^0.25.2` → `^0.26.0` (React 18.2/19 compatibility)
33
+ - **Auth Package**: `^1.0.1` → `^1.0.2` (Complete profile management)
34
+ - **Payments Package**: `^1.1.0` → `^1.2.0` (Mobile components + missing exports)
35
+ - **AI Package**: `^3.0.0`/`^3.1.1` → `^4.0.1` (RAG fixes + enhanced features)
36
+ - **AI Types Package**: `^3.0.0` → `^4.0.1` (Enhanced RAG interfaces)
37
+
38
+ ### Technical Improvements
39
+
40
+ - 🛠 **Enhanced Template Generator**: Added intelligent JSX object literal protection
41
+ - 📱 **Mobile Template Stability**: Resolved 95+ TypeScript compilation errors
42
+ - 🔄 **Cross-Platform Compatibility**: Ensured React 18.2 and 19.0 support
43
+ - 🎯 **Template Processing**: Maintains full mustache variable functionality while protecting JSX
44
+
45
+ ### Bug Fixes
46
+
47
+ - Fixed JSX syntax corruption in mobile templates
48
+ - Resolved missing closing div tag in web ui-auth-payments template
49
+ - Updated all package references to latest stable versions
50
+ - **Critical Fix**: Added missing Stripe dependencies (`@stripe/react-stripe-js`, `@stripe/stripe-js`) to all web payment templates
51
+ - **Package Update**: Updated all payment templates to use `@digilogiclabs/saas-factory-payments@^1.2.2` with proper peer dependencies
52
+
3
53
  ## 1.18.0
4
54
 
5
55
  ### Minor Changes
package/README.md CHANGED
@@ -5,7 +5,36 @@
5
5
  [![npm version](https://badge.fury.io/js/%40digilogiclabs%2Fcreate-saas-app.svg)](https://badge.fury.io/js/%40digilogiclabs%2Fcreate-saas-app)
6
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
7
 
8
- ## 🚀 Template Generator Guide
8
+ ## **Quick Start - High-Value Templates**
9
+
10
+ Get started instantly with our most popular, production-ready templates:
11
+
12
+ ### **🎯 Recommended Templates**
13
+
14
+ ```bash
15
+ # 💳 Complete SaaS Foundation (Payments + Auth)
16
+ npx @digilogiclabs/create-saas-app create web ui-auth-payments my-saas-app
17
+
18
+ # 🤖 AI-Powered SaaS Platform (Text, Audio, Video AI)
19
+ npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai ai-platform --with-ai=all
20
+
21
+ # 🧠 AI Knowledge Base & RAG System (v4.0.0)
22
+ npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai-rag knowledge-app --with-ai=rag
23
+
24
+ # 🎵 Audio Streaming SaaS (Music/Podcast Platform)
25
+ npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio music-platform
26
+
27
+ # 🎬 Video Streaming SaaS (Video Platform)
28
+ npx @digilogiclabs/create-saas-app create web ui-auth-payments-video video-studio
29
+
30
+ # 📱 Mobile AI SaaS (React Native + Expo)
31
+ npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai mobile-ai-app --with-ai=all
32
+
33
+ # 📱 Mobile RAG Knowledge App
34
+ npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai-rag knowledge-mobile --with-ai=rag
35
+ ```
36
+
37
+ ## 🚀 Complete Template Reference
9
38
 
10
39
  ### **Quick Command Reference**
11
40
 
@@ -21,33 +50,57 @@ npx @digilogiclabs/create-saas-app --help
21
50
  npx @digilogiclabs/create-saas-app create --help
22
51
  ```
23
52
 
24
- ### **📋 All Available Templates (12 Total)**
25
-
26
- #### **🌐 Web Templates (9)**
27
- | Template | Description | Command |
28
- |----------|-------------|---------|
29
- | `base` | Clean Next.js 15 starter | `npx @digilogiclabs/create-saas-app create web base my-app` |
30
- | `ui-only` | Component library showcase | `npx @digilogiclabs/create-saas-app create web ui-only design-system` |
31
- | `ui-auth` | Authentication flow | `npx @digilogiclabs/create-saas-app create web ui-auth auth-app` |
32
- | `ui-auth-payments` | Complete SaaS foundation | `npx @digilogiclabs/create-saas-app create web ui-auth-payments saas-app` |
33
- | `ui-auth-ai` | Text & chat AI platform | `npx @digilogiclabs/create-saas-app create web ui-auth-ai text-ai-app --with-ai=text` |
34
- | `ui-auth-payments-ai` | Full AI SaaS platform | `npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai ai-platform --with-ai=all` |
35
- | `ui-auth-payments-audio` | Audio streaming SaaS | `npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio music-platform` |
36
- | `ui-auth-payments-video` | Video streaming SaaS | `npx @digilogiclabs/create-saas-app create web ui-auth-payments-video video-studio` |
37
- | `ui-package-test` | Component testing env | `npx @digilogiclabs/create-saas-app create web ui-package-test component-test` |
38
-
39
- #### **📱 Mobile Templates (3)**
40
- | Template | Description | Command |
41
- |----------|-------------|---------|
42
- | `base` | React Native + Expo starter | `npx @digilogiclabs/create-saas-app create mobile base mobile-app` |
43
- | `ui-auth-payments` | Full mobile SaaS (v0.22.0) | `npx @digilogiclabs/create-saas-app create mobile ui-auth-payments mobile-saas` |
44
- | `ui-auth-payments-ai` | Mobile AI SaaS with generation | `npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai ai-mobile-app --with-ai=all` |
45
-
46
- #### **🚀 Cross-Platform Templates**
47
- | Template | Description | Command |
48
- |----------|-------------|---------|
49
- | `ui-auth-payments` | Web + Mobile SaaS | `npx @digilogiclabs/create-saas-app create both ui-auth-payments fullstack-app` |
50
- | `ui-auth-payments-ai` | Web + Mobile AI platform | `npx @digilogiclabs/create-saas-app create both ui-auth-payments-ai ai-fullstack --with-ai=all` |
53
+ ### **📋 All Available Templates (16 Total)**
54
+
55
+ #### **🌐 Web Templates (11)**
56
+
57
+ **💎 Premium SaaS Templates**
58
+ | Template | Description | Features | Command |
59
+ |----------|-------------|----------|---------|
60
+ | `ui-auth-payments` | **Complete SaaS Foundation** | Auth + Payments + Dashboard | `npx @digilogiclabs/create-saas-app create web ui-auth-payments my-saas` |
61
+ | `ui-auth-payments-ai` | **AI-Powered SaaS Platform** | Full AI Suite (Text, Audio, Video) | `npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai ai-platform --with-ai=all` |
62
+ | `ui-auth-payments-ai-rag` | **🧠 AI Knowledge Base & RAG** | Smart Document Processing v4.0.0 | `npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai-rag knowledge-app --with-ai=rag` |
63
+ | `ui-auth-payments-audio` | **🎵 Audio Streaming SaaS** | Music/Podcast Platform | `npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio music-platform` |
64
+ | `ui-auth-payments-video` | **🎬 Video Streaming SaaS** | Video Platform & Studio | `npx @digilogiclabs/create-saas-app create web ui-auth-payments-video video-studio` |
65
+
66
+ **🚀 Starter Templates**
67
+ | Template | Description | Features | Command |
68
+ |----------|-------------|----------|---------|
69
+ | `base` | Clean Next.js 15 starter | Minimal setup | `npx @digilogiclabs/create-saas-app create web base my-app` |
70
+ | `ui-only` | Component library showcase | Design system | `npx @digilogiclabs/create-saas-app create web ui-only design-system` |
71
+ | `ui-auth` | Authentication flow | Auth + Dashboard | `npx @digilogiclabs/create-saas-app create web ui-auth auth-app` |
72
+ | `ui-auth-ai` | Text & chat AI platform | Basic AI features | `npx @digilogiclabs/create-saas-app create web ui-auth-ai text-ai-app --with-ai=text` |
73
+ | `ui-package-test` | Component testing env | Development testing | `npx @digilogiclabs/create-saas-app create web ui-package-test component-test` |
74
+
75
+ #### **📱 Mobile Templates (5)**
76
+
77
+ **💎 Premium Mobile SaaS**
78
+ | Template | Description | Features | Command |
79
+ |----------|-------------|----------|---------|
80
+ | `ui-auth-payments` | **Full Mobile SaaS** | Auth + Payments + Native UI | `npx @digilogiclabs/create-saas-app create mobile ui-auth-payments mobile-saas` |
81
+ | `ui-auth-payments-ai` | **📱 Mobile AI SaaS** | Native AI with Voice/Camera | `npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai ai-mobile-app --with-ai=all` |
82
+ | `ui-auth-payments-ai-rag` | **📱 Mobile Knowledge App** | Offline RAG + Document Scanning | `npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai-rag knowledge-mobile --with-ai=rag` |
83
+
84
+ **🚀 Mobile Starters**
85
+ | Template | Description | Features | Command |
86
+ |----------|-------------|----------|---------|
87
+ | `base` | React Native + Expo starter | Minimal mobile setup | `npx @digilogiclabs/create-saas-app create mobile base mobile-app` |
88
+
89
+ ### **🤖 AI Capabilities Reference**
90
+
91
+ **AI Template Options (`--with-ai`)**
92
+ | Capability | Description | Includes | Best For |
93
+ |------------|-------------|----------|----------|
94
+ | `text` | Text generation & chat | OpenAI GPT, Claude, Gemini | Content creation, chatbots |
95
+ | `audio` | Audio processing & generation | Speech-to-text, text-to-speech, music | Podcasts, music platforms |
96
+ | `video` | Video processing & generation | Video editing, generation, streaming | Video platforms, content creation |
97
+ | `rag` | **🧠 RAG Knowledge System v4.0.0** | Vector search, document processing, Q&A | Knowledge bases, AI assistants |
98
+ | `all` | Complete AI suite | All above capabilities | Full AI platforms |
99
+
100
+ **Available AI Providers (`--ai-provider`)**
101
+ - `openai` (default) - GPT-4, DALL-E, Whisper
102
+ - `anthropic` - Claude Sonnet/Haiku
103
+ - `gemini` - Google Gemini Pro
51
104
 
52
105
  ### **🛠 CLI Options**
53
106
 
@@ -72,27 +125,59 @@ npx @digilogiclabs/create-saas-app create --help
72
125
  -y, --yes # Skip interactive prompts
73
126
  ```
74
127
 
75
- ### **💡 Usage Examples**
128
+ ### **💡 Real-World Examples**
76
129
 
77
- #### **Beginner: Interactive Mode**
130
+ #### **🚀 Beginner: Interactive Mode**
78
131
  ```bash
79
132
  # Let the CLI guide you through all options
80
133
  npx @digilogiclabs/create-saas-app create
81
134
  ```
82
135
 
83
- #### **Advanced: Direct Commands**
136
+ #### **🎯 Business Use Cases**
137
+
138
+ **💼 SaaS Startup**
84
139
  ```bash
85
- # Full AI platform with all features
86
- npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai my-ai-saas \
87
- --with-ai=all \
88
- --ai-provider=openai \
140
+ # Complete SaaS foundation with payments
141
+ npx @digilogiclabs/create-saas-app create web ui-auth-payments my-startup \
89
142
  --theme=startup \
90
143
  --theme-color=purple \
91
144
  --auth=supabase \
92
145
  --database=supabase
146
+ ```
147
+
148
+ **🤖 AI Content Platform**
149
+ ```bash
150
+ # Full AI platform with all capabilities
151
+ npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai content-ai \
152
+ --with-ai=all \
153
+ --ai-provider=openai \
154
+ --theme=corporate \
155
+ --theme-color=blue
156
+ ```
93
157
 
94
- # Mobile-first AI app
95
- npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai mobile-ai-app \
158
+ **🧠 Knowledge Base & AI Assistant**
159
+ ```bash
160
+ # RAG-powered knowledge platform
161
+ npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai-rag knowledge-base \
162
+ --with-ai=rag \
163
+ --ai-provider=anthropic \
164
+ --theme=startup \
165
+ --theme-color=green
166
+ ```
167
+
168
+ **🎵 Music Streaming Platform**
169
+ ```bash
170
+ # Audio streaming SaaS like Spotify
171
+ npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio music-stream \
172
+ --theme=default \
173
+ --theme-color=orange \
174
+ --auth=supabase
175
+ ```
176
+
177
+ **📱 Mobile-First AI App**
178
+ ```bash
179
+ # Native mobile AI app with offline capabilities
180
+ npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai mobile-ai \
96
181
  --with-ai=all \
97
182
  --theme=corporate \
98
183
  --theme-color=blue \