@digilogiclabs/create-saas-app 1.17.0 → 1.17.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.
- package/CHANGELOG.md +31 -0
- package/README.md +153 -12
- package/dist/.tsbuildinfo +1 -1
- package/dist/cli/prompts/project-setup.d.ts.map +1 -1
- package/dist/cli/prompts/project-setup.js +4 -0
- package/dist/cli/prompts/project-setup.js.map +1 -1
- package/dist/templates/mobile/base/template/App.tsx +2 -0
- package/dist/templates/mobile/ui-auth-payments/template/app/(tabs)/index.tsx +85 -4
- package/dist/templates/mobile/ui-auth-payments/template/app/_layout.tsx +2 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/.env.example +23 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/README.md +254 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/_layout.tsx +169 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/ai.tsx +522 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/analytics.tsx +668 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/billing.tsx +743 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/index.tsx +676 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/orders.tsx +402 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/profile.tsx +580 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/_layout.tsx +127 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/auth/login.tsx +246 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/auth/signup.tsx +362 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/onboarding/index.tsx +193 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app/tour/index.tsx +272 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/app.json +93 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/babel.config.js +23 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/eas.json +45 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/expo-env.d.ts +3 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/jest-setup.ts +74 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/metro.config.js +11 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/package.json +108 -0
- package/dist/templates/mobile/ui-auth-payments-ai/template/tsconfig.json +31 -0
- package/dist/templates/web/base/template/src/app/loading.tsx +45 -27
- package/dist/templates/web/base/template/src/components/providers/app-providers.tsx +2 -0
- package/dist/templates/web/ui-auth/template/src/app/loading.tsx +30 -12
- package/dist/templates/web/ui-auth/template/src/components/providers/app-providers.tsx +2 -0
- package/dist/templates/web/ui-auth/template/src/components/shared/header.tsx +43 -2
- package/dist/templates/web/ui-auth-ai/template/package.json +1 -1
- package/dist/templates/web/ui-auth-payments/template/src/components/providers/app-providers.tsx +2 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/providers/app-providers.tsx +2 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/components/providers/app-providers.tsx +2 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/components/providers/app-providers.tsx +2 -0
- package/package.json +1 -1
- package/src/templates/mobile/base/template/App.tsx +2 -0
- package/src/templates/mobile/ui-auth-payments/template/app/(tabs)/index.tsx +85 -4
- package/src/templates/mobile/ui-auth-payments/template/app/_layout.tsx +2 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/.env.example +23 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/README.md +254 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/_layout.tsx +169 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/ai.tsx +522 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/analytics.tsx +668 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/billing.tsx +743 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/index.tsx +676 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/orders.tsx +402 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/(tabs)/profile.tsx +580 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/_layout.tsx +127 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/auth/login.tsx +246 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/auth/signup.tsx +362 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/onboarding/index.tsx +193 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app/tour/index.tsx +272 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/app.json +93 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/babel.config.js +23 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/eas.json +45 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/expo-env.d.ts +3 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/jest-setup.ts +74 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/metro.config.js +11 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/package.json +108 -0
- package/src/templates/mobile/ui-auth-payments-ai/template/tsconfig.json +31 -0
- package/src/templates/web/base/template/src/app/loading.tsx +45 -27
- package/src/templates/web/base/template/src/components/providers/app-providers.tsx +2 -0
- package/src/templates/web/ui-auth/template/src/app/loading.tsx +30 -12
- package/src/templates/web/ui-auth/template/src/components/providers/app-providers.tsx +2 -0
- package/src/templates/web/ui-auth/template/src/components/shared/header.tsx +43 -2
- package/src/templates/web/ui-auth-ai/template/package.json +1 -1
- package/src/templates/web/ui-auth-payments/template/src/components/providers/app-providers.tsx +2 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/components/providers/app-providers.tsx +2 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/components/providers/app-providers.tsx +2 -0
- package/src/templates/web/ui-auth-payments-video/template/src/components/providers/app-providers.tsx +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @digilogiclabs/create-saas-app
|
|
2
2
|
|
|
3
|
+
## 1.17.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 🎉 **Quality of Life Enhancements Across All Templates**
|
|
8
|
+
|
|
9
|
+
#### 🌐 **Web Template Improvements**
|
|
10
|
+
- **Toast Notification System**: Added `Toaster` component to all web app providers for user feedback
|
|
11
|
+
- **Enhanced Loading States**: Upgraded loading screens with `SkeletonCard` and `SkeletonText` components
|
|
12
|
+
- **Search Functionality**: Added `SearchBar` with mobile-responsive design and toast feedback
|
|
13
|
+
- **Command Palette**: Verified and enhanced existing `CommandPalette` integration across dashboards
|
|
14
|
+
- **Theme System**: Maintained existing `ThemeToggle` with light/dark/system support
|
|
15
|
+
- **Fixed**: JSON parsing issue in ui-auth-ai template package.json
|
|
16
|
+
|
|
17
|
+
#### 📱 **Mobile Template Enhancements**
|
|
18
|
+
- **Native Toast System**: Added `NativeToast` component to all mobile app providers
|
|
19
|
+
- **Advanced Skeleton Loading**: Enhanced loading states with realistic content placeholders
|
|
20
|
+
- **Verified Existing Features**: Confirmed all premium mobile QoL features are properly implemented:
|
|
21
|
+
- Pull-to-refresh with haptic feedback ✅
|
|
22
|
+
- Search functionality with `NativeSearchBar` ✅
|
|
23
|
+
- Comprehensive haptic feedback integration ✅
|
|
24
|
+
- Swipe gestures with `SwipeableCard` components ✅
|
|
25
|
+
- Network-aware content and offline support ✅
|
|
26
|
+
- Native tours and progressive image loading ✅
|
|
27
|
+
|
|
28
|
+
#### 🛠 **Technical Improvements**
|
|
29
|
+
- **Build Verification**: All templates compile successfully
|
|
30
|
+
- **Package Integrity**: 2.6MB compressed, 14.8MB unpacked
|
|
31
|
+
- **Backward Compatibility**: All changes are non-destructive
|
|
32
|
+
- **Cross-Platform**: Enhanced both web and mobile template experiences
|
|
33
|
+
|
|
3
34
|
## 1.6.0
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -5,6 +5,134 @@
|
|
|
5
5
|
[](https://badge.fury.io/js/%40digilogiclabs%2Fcreate-saas-app)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
7
7
|
|
|
8
|
+
## 🚀 Template Generator Guide
|
|
9
|
+
|
|
10
|
+
### **Quick Command Reference**
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
# Interactive mode (recommended for beginners)
|
|
14
|
+
npx @digilogiclabs/create-saas-app create
|
|
15
|
+
|
|
16
|
+
# Direct command format
|
|
17
|
+
npx @digilogiclabs/create-saas-app create <platform> <template> <project-name> [options]
|
|
18
|
+
|
|
19
|
+
# Get help anytime
|
|
20
|
+
npx @digilogiclabs/create-saas-app --help
|
|
21
|
+
npx @digilogiclabs/create-saas-app create --help
|
|
22
|
+
```
|
|
23
|
+
|
|
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` |
|
|
51
|
+
|
|
52
|
+
### **🛠 CLI Options**
|
|
53
|
+
|
|
54
|
+
#### **Core Arguments**
|
|
55
|
+
```bash
|
|
56
|
+
<platform> # web | mobile | both
|
|
57
|
+
<template> # Template name (see table above)
|
|
58
|
+
<project-name> # Your project name (kebab-case recommended)
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
#### **Configuration Flags**
|
|
62
|
+
```bash
|
|
63
|
+
-a, --auth <provider> # firebase | supabase (default: supabase)
|
|
64
|
+
-d, --database <provider> # supabase | firebase (default: supabase)
|
|
65
|
+
-t, --theme <theme> # default | corporate | startup (default: default)
|
|
66
|
+
-c, --theme-color <color> # blue | green | purple | orange | red | slate (default: blue)
|
|
67
|
+
--default-theme <mode> # light | dark | system (default: system)
|
|
68
|
+
--with-ai [capabilities] # text | audio | video | text,audio | all (for AI templates)
|
|
69
|
+
--ai-provider <provider> # openai | anthropic | gemini (default: openai)
|
|
70
|
+
--no-install # Skip package installation
|
|
71
|
+
--no-git # Skip git initialization
|
|
72
|
+
-y, --yes # Skip interactive prompts
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### **💡 Usage Examples**
|
|
76
|
+
|
|
77
|
+
#### **Beginner: Interactive Mode**
|
|
78
|
+
```bash
|
|
79
|
+
# Let the CLI guide you through all options
|
|
80
|
+
npx @digilogiclabs/create-saas-app create
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
#### **Advanced: Direct Commands**
|
|
84
|
+
```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 \
|
|
89
|
+
--theme=startup \
|
|
90
|
+
--theme-color=purple \
|
|
91
|
+
--auth=supabase \
|
|
92
|
+
--database=supabase
|
|
93
|
+
|
|
94
|
+
# Mobile-first AI app
|
|
95
|
+
npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai mobile-ai-app \
|
|
96
|
+
--with-ai=all \
|
|
97
|
+
--theme=corporate \
|
|
98
|
+
--theme-color=blue \
|
|
99
|
+
--no-git
|
|
100
|
+
|
|
101
|
+
# Cross-platform SaaS with Firebase
|
|
102
|
+
npx @digilogiclabs/create-saas-app create both ui-auth-payments fullstack-saas \
|
|
103
|
+
--auth=firebase \
|
|
104
|
+
--database=firebase \
|
|
105
|
+
--theme=default \
|
|
106
|
+
--default-theme=dark
|
|
107
|
+
|
|
108
|
+
# Quick prototyping (no deps install)
|
|
109
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments prototype \
|
|
110
|
+
--no-install \
|
|
111
|
+
--no-git \
|
|
112
|
+
--yes
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### **🎯 Template Selection Guide**
|
|
116
|
+
|
|
117
|
+
#### **Choose by Use Case**
|
|
118
|
+
- **Learning/Prototyping**: `base` or `ui-only`
|
|
119
|
+
- **Authentication App**: `ui-auth`
|
|
120
|
+
- **SaaS with Billing**: `ui-auth-payments`
|
|
121
|
+
- **AI Applications**: `ui-auth-payments-ai` or `ui-auth-ai`
|
|
122
|
+
- **Media Platforms**: `ui-auth-payments-audio` or `ui-auth-payments-video`
|
|
123
|
+
- **Mobile Apps**: Mobile versions of above
|
|
124
|
+
- **Full-Stack**: `both` platform with any template
|
|
125
|
+
|
|
126
|
+
#### **Choose by Complexity**
|
|
127
|
+
1. **Simple**: `base`, `ui-only`
|
|
128
|
+
2. **Medium**: `ui-auth`, `ui-auth-payments`
|
|
129
|
+
3. **Advanced**: `ui-auth-payments-ai`, `ui-auth-payments-audio`, `ui-auth-payments-video`
|
|
130
|
+
|
|
131
|
+
#### **Choose by Platform**
|
|
132
|
+
- **Web Only**: Use `web` platform
|
|
133
|
+
- **Mobile Only**: Use `mobile` platform
|
|
134
|
+
- **Universal**: Use `both` platform (web + mobile)
|
|
135
|
+
|
|
8
136
|
## 🎉 What's New in v1.13.0
|
|
9
137
|
|
|
10
138
|
### 🤖 **Complete AI Integration**
|
|
@@ -31,19 +159,17 @@
|
|
|
31
159
|
## 🚀 Quick Start
|
|
32
160
|
|
|
33
161
|
```bash
|
|
34
|
-
#
|
|
35
|
-
npx @digilogiclabs/create-saas-app create
|
|
36
|
-
|
|
37
|
-
# Create an audio streaming platform
|
|
38
|
-
npx @digilogiclabs/create-saas-app create web ui-auth-payments-audio music-platform
|
|
162
|
+
# Interactive mode (recommended)
|
|
163
|
+
npx @digilogiclabs/create-saas-app create
|
|
39
164
|
|
|
40
|
-
#
|
|
41
|
-
npx @digilogiclabs/create-saas-app create web ui-auth-payments-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
npx @digilogiclabs/create-saas-app create web ui-auth simple-app
|
|
165
|
+
# Or create directly with popular templates
|
|
166
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments-ai my-ai-saas --with-ai=all
|
|
167
|
+
npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai mobile-ai-app --with-ai=all
|
|
168
|
+
npx @digilogiclabs/create-saas-app create web ui-auth-payments saas-app
|
|
45
169
|
```
|
|
46
170
|
|
|
171
|
+
> 💡 **New to the CLI?** See the complete [Template Generator Guide](#-template-generator-guide) above for all options and examples.
|
|
172
|
+
|
|
47
173
|
## ⚡ What You Get
|
|
48
174
|
|
|
49
175
|
### 🤖 **AI-First Development**
|
|
@@ -67,7 +193,9 @@ npx @digilogiclabs/create-saas-app create web ui-auth simple-app
|
|
|
67
193
|
|
|
68
194
|
## 🎨 Template Gallery
|
|
69
195
|
|
|
70
|
-
|
|
196
|
+
> 📋 **Quick Reference?** See the [Template Generator Guide](#-template-generator-guide) at the top for a complete table of all templates and commands.
|
|
197
|
+
|
|
198
|
+
Choose from **12 production-ready templates** across web and mobile platforms:
|
|
71
199
|
|
|
72
200
|
### 🌐 **Web Templates (9 Available)**
|
|
73
201
|
|
|
@@ -180,7 +308,7 @@ Component testing environment for package development
|
|
|
180
308
|
npx @digilogiclabs/create-saas-app create web ui-package-test component-test
|
|
181
309
|
```
|
|
182
310
|
|
|
183
|
-
### 📱 **Mobile Templates (
|
|
311
|
+
### 📱 **Mobile Templates (3 Available)**
|
|
184
312
|
|
|
185
313
|
#### **Base Mobile** (`base`)
|
|
186
314
|
React Native + Expo starter for mobile development
|
|
@@ -204,6 +332,19 @@ Full mobile SaaS platform with native UI v0.22.0
|
|
|
204
332
|
npx @digilogiclabs/create-saas-app create mobile ui-auth-payments mobile-saas
|
|
205
333
|
```
|
|
206
334
|
|
|
335
|
+
#### **Mobile AI SaaS** (`ui-auth-payments-ai`)
|
|
336
|
+
Complete mobile AI platform with generation capabilities
|
|
337
|
+
- **AI Generation Suite** - Text, audio, and video AI generation
|
|
338
|
+
- **Native AI Components** - AITextGenerator, AIAudioGenerator, AIVideoGenerator, AIChat
|
|
339
|
+
- **AI Dashboard** - Usage statistics and generation history
|
|
340
|
+
- **Multi-modal AI** - OpenAI, ElevenLabs, Replicate integration
|
|
341
|
+
- **Mobile-optimized** - Touch-friendly AI interfaces with haptic feedback
|
|
342
|
+
- **Offline AI Cache** - Cached responses for better mobile experience
|
|
343
|
+
|
|
344
|
+
```bash
|
|
345
|
+
npx @digilogiclabs/create-saas-app create mobile ui-auth-payments-ai ai-mobile-app --with-ai=all
|
|
346
|
+
```
|
|
347
|
+
|
|
207
348
|
### 🚀 **Cross-Platform Templates**
|
|
208
349
|
|
|
209
350
|
#### **Full Stack Platform** (`ui-auth-payments`)
|