@digilogiclabs/create-saas-app 1.13.0 → 1.14.0
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 +104 -36
- package/dist/.tsbuildinfo +1 -1
- package/dist/templates/web/ui-auth/template/src/app/globals.css +53 -0
- package/dist/templates/web/ui-auth/template/src/app/page.tsx +14 -1
- package/dist/templates/web/ui-auth-payments/template/src/app/globals.css +40 -0
- package/dist/templates/web/ui-auth-payments/template/src/app/page.tsx +14 -1
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/globals.css +53 -0
- package/dist/templates/web/ui-auth-payments-ai/template/src/app/page.tsx +13 -3
- package/dist/templates/web/ui-auth-payments-ai/template/src/components/shared/header.tsx +18 -11
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/globals.css +53 -0
- package/dist/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +23 -13
- package/dist/templates/web/ui-auth-payments-audio/template/src/components/shared/header.tsx +18 -11
- package/dist/templates/web/ui-auth-payments-video/template/src/app/globals.css +40 -0
- package/dist/templates/web/ui-auth-payments-video/template/src/app/page.tsx +14 -1
- package/package.json +1 -1
- package/src/templates/web/ui-auth/template/src/app/globals.css +53 -0
- package/src/templates/web/ui-auth/template/src/app/page.tsx +14 -1
- package/src/templates/web/ui-auth-payments/template/src/app/globals.css +40 -0
- package/src/templates/web/ui-auth-payments/template/src/app/page.tsx +14 -1
- package/src/templates/web/ui-auth-payments-ai/template/src/app/globals.css +53 -0
- package/src/templates/web/ui-auth-payments-ai/template/src/app/page.tsx +13 -3
- package/src/templates/web/ui-auth-payments-ai/template/src/components/shared/header.tsx +18 -11
- package/src/templates/web/ui-auth-payments-audio/template/src/app/globals.css +53 -0
- package/src/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +23 -13
- package/src/templates/web/ui-auth-payments-audio/template/src/components/shared/header.tsx +18 -11
- package/src/templates/web/ui-auth-payments-video/template/src/app/globals.css +40 -0
- package/src/templates/web/ui-auth-payments-video/template/src/app/page.tsx +14 -1
package/README.md
CHANGED
|
@@ -5,6 +5,29 @@
|
|
|
5
5
|
[](https://badge.fury.io/js/%40digilogiclabs%2Fcreate-saas-app)
|
|
6
6
|
[](https://opensource.org/licenses/MIT)
|
|
7
7
|
|
|
8
|
+
## 🎉 What's New in v1.13.0
|
|
9
|
+
|
|
10
|
+
### 🤖 **Complete AI Integration**
|
|
11
|
+
- **Ready-to-Use Components** - AIChat, AITextGenerator, AIAudioGenerator, AIVideoGenerator now available
|
|
12
|
+
- **Client-Side Configuration** - NEXT_PUBLIC_ environment variables for seamless setup
|
|
13
|
+
- **Configuration Validation** - AISetupStatus component guides users through setup
|
|
14
|
+
- **Enhanced TypeScript** - Complete type definitions and IntelliSense support
|
|
15
|
+
|
|
16
|
+
### 🎨 **Enhanced UI Library**
|
|
17
|
+
- **6 New Components** - Switch, Slider, Textarea, Accordion, Breadcrumbs, EmptyState
|
|
18
|
+
- **Fixed Glassmorphism API** - Proper `border` and `accent` properties now available
|
|
19
|
+
- **Cross-Platform Ready** - Single codebase supports Next.js + React Native/Expo
|
|
20
|
+
- **Node.js 18+ Support** - Broader compatibility for more environments
|
|
21
|
+
|
|
22
|
+
### 🔐 **Expanded Authentication**
|
|
23
|
+
- **12 OAuth Providers** - Added Microsoft, LinkedIn, Spotify, Twitch, Slack, Notion
|
|
24
|
+
- **Enhanced User Types** - Comprehensive profiles with extended role system
|
|
25
|
+
- **Beautiful Provider UI** - Proper branding and SVG icons for all providers
|
|
26
|
+
|
|
27
|
+
### 💳 **Improved Payments**
|
|
28
|
+
- **Enhanced Type System** - Better TypeScript definitions and error handling
|
|
29
|
+
- **Future-Ready Foundation** - Prepared for PayPal, Apple Pay, and analytics features
|
|
30
|
+
|
|
8
31
|
## 🚀 Quick Start
|
|
9
32
|
|
|
10
33
|
```bash
|
|
@@ -131,30 +154,62 @@ Each template generates intelligent context for Claude:
|
|
|
131
154
|
- **Code examples** - Common patterns for auth, payments, AI
|
|
132
155
|
- **Environment setup** - Configuration and troubleshooting
|
|
133
156
|
|
|
134
|
-
### ⚡ **AI-Powered Components**
|
|
135
|
-
Templates with `--with-ai` include:
|
|
157
|
+
### ⚡ **AI-Powered Components** (v3.1.1)
|
|
158
|
+
Templates with `--with-ai` include complete component library:
|
|
136
159
|
```typescript
|
|
137
|
-
import {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
<
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
160
|
+
import {
|
|
161
|
+
AIProvider,
|
|
162
|
+
AIChat,
|
|
163
|
+
AITextGenerator,
|
|
164
|
+
AIAudioGenerator,
|
|
165
|
+
AIVideoGenerator,
|
|
166
|
+
AISetupStatus,
|
|
167
|
+
getAIConfigFromEnv
|
|
168
|
+
} from '@digilogiclabs/saas-factory-ai'
|
|
169
|
+
|
|
170
|
+
function App() {
|
|
171
|
+
const config = getAIConfigFromEnv()
|
|
172
|
+
|
|
173
|
+
return (
|
|
174
|
+
<AIProvider config={config}>
|
|
175
|
+
{/* Configuration validation */}
|
|
176
|
+
<AISetupStatus />
|
|
177
|
+
|
|
178
|
+
{/* Text generation */}
|
|
179
|
+
<AITextGenerator
|
|
180
|
+
placeholder="Generate blog content..."
|
|
181
|
+
templates={['Blog post', 'Email', 'Social media']}
|
|
182
|
+
showWordCount={true}
|
|
183
|
+
maxLength={2000}
|
|
184
|
+
/>
|
|
185
|
+
|
|
186
|
+
{/* AI chat interface */}
|
|
187
|
+
<AIChat
|
|
188
|
+
placeholder="Ask me anything..."
|
|
189
|
+
showTypingIndicator={true}
|
|
190
|
+
enableFileUpload={true}
|
|
191
|
+
maxMessages={50}
|
|
192
|
+
/>
|
|
193
|
+
|
|
194
|
+
{/* Audio generation */}
|
|
195
|
+
<AIAudioGenerator
|
|
196
|
+
placeholder="Describe the audio..."
|
|
197
|
+
supportedFormats={['mp3', 'wav', 'ogg']}
|
|
198
|
+
showWaveform={true}
|
|
199
|
+
maxDuration={300}
|
|
200
|
+
/>
|
|
201
|
+
|
|
202
|
+
{/* Video generation */}
|
|
203
|
+
<AIVideoGenerator
|
|
204
|
+
placeholder="Describe the video..."
|
|
205
|
+
supportedFormats={['mp4', 'webm']}
|
|
206
|
+
resolution="1080p"
|
|
207
|
+
showPreview={true}
|
|
208
|
+
maxDuration={60}
|
|
209
|
+
/>
|
|
210
|
+
</AIProvider>
|
|
211
|
+
)
|
|
212
|
+
}
|
|
158
213
|
```
|
|
159
214
|
|
|
160
215
|
## 🚀 Deployment Made Simple
|
|
@@ -245,27 +300,40 @@ Built-in validation ensures your app is deployment-ready:
|
|
|
245
300
|
|
|
246
301
|
## 📦 Package Ecosystem
|
|
247
302
|
|
|
248
|
-
### 🎨 **UI & Design**
|
|
249
|
-
- **@digilogiclabs/saas-factory-ui** - Modern components with glassmorphism
|
|
303
|
+
### 🎨 **UI & Design** (v0.18.4)
|
|
304
|
+
- **@digilogiclabs/saas-factory-ui** - Modern components with enhanced glassmorphism
|
|
305
|
+
- **6 New Components** - Switch, Slider, Textarea, Accordion, Breadcrumbs, EmptyState
|
|
306
|
+
- **Cross-Platform Support** - Single codebase for Next.js + React Native/Expo
|
|
307
|
+
- **Enhanced Glassmorphism** - Fixed API with proper `border` and `accent` properties
|
|
250
308
|
- **Next.js 15.3** - App Router with Server Components
|
|
251
309
|
- **Tailwind CSS v4** - Design tokens and utility classes
|
|
252
|
-
- **
|
|
253
|
-
|
|
254
|
-
### 🔐 **Authentication**
|
|
255
|
-
- **@digilogiclabs/saas-factory-auth** - Supabase Auth integration
|
|
310
|
+
- **Node.js 18+ Support** - Broader compatibility range
|
|
311
|
+
|
|
312
|
+
### 🔐 **Authentication** (v1.0.1)
|
|
313
|
+
- **@digilogiclabs/saas-factory-auth** - Enhanced Supabase Auth integration
|
|
314
|
+
- **12 OAuth Providers** - Google, GitHub, Microsoft, LinkedIn, Spotify, Twitch, Slack, Notion + more
|
|
315
|
+
- **Enhanced TypeScript Types** - Comprehensive user profiles and metadata
|
|
316
|
+
- **Beautiful UI Components** - Proper branding and SVG icons for all providers
|
|
317
|
+
- **Extended User Roles** - owner, editor, viewer, contributor, manager, developer, analyst, support
|
|
256
318
|
- **Row Level Security** - Database-level permissions
|
|
257
|
-
- **Social logins** - Google, GitHub, and more
|
|
258
319
|
- **Email verification** - Secure account management
|
|
259
320
|
|
|
260
|
-
### 💳 **Payments**
|
|
261
|
-
- **@digilogiclabs/saas-factory-payments** - Stripe integration
|
|
262
|
-
- **
|
|
321
|
+
### 💳 **Payments** (v1.1.0)
|
|
322
|
+
- **@digilogiclabs/saas-factory-payments** - Enhanced Stripe integration
|
|
323
|
+
- **Improved Type System** - Better TypeScript definitions with cross-platform compatibility
|
|
324
|
+
- **Enhanced Error Handling** - Expanded error types for comprehensive management
|
|
325
|
+
- **Better Subscription Management** - Enhanced types with additional compatibility fields
|
|
326
|
+
- **Future-Ready Architecture** - Foundation for PayPal, Apple Pay, and analytics
|
|
263
327
|
- **Webhook handling** - Secure payment event processing
|
|
264
328
|
- **Customer portal** - Self-service billing management
|
|
265
329
|
|
|
266
|
-
### 🤖 **AI Platform**
|
|
267
|
-
- **@digilogiclabs/saas-factory-ai** -
|
|
268
|
-
-
|
|
330
|
+
### 🤖 **AI Platform** (v3.1.1)
|
|
331
|
+
- **@digilogiclabs/saas-factory-ai** - Complete React component library
|
|
332
|
+
- **Ready-to-Use Components** - AIChat, AITextGenerator, AIAudioGenerator, AIVideoGenerator, AIProvider
|
|
333
|
+
- **@digilogiclabs/saas-factory-ai-types** - Complete TypeScript definitions
|
|
334
|
+
- **Client-Side Configuration** - NEXT_PUBLIC_ environment variable support
|
|
335
|
+
- **Configuration Validation** - AISetupStatus component and validateAIConfig() helper
|
|
336
|
+
- **Environment Helpers** - getAIConfigFromEnv() for seamless setup
|
|
269
337
|
- **OpenAI integration** - GPT-4 for text and audio
|
|
270
338
|
- **ElevenLabs integration** - High-quality voice synthesis
|
|
271
339
|
- **Replicate integration** - Video and image generation
|