@digilogiclabs/create-saas-app 1.5.4 → 1.6.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 (57) hide show
  1. package/CHANGELOG.md +109 -49
  2. package/bin/index.js +1 -1
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/generators/template-generator.d.ts.map +1 -1
  5. package/dist/generators/template-generator.js +3 -5
  6. package/dist/generators/template-generator.js.map +1 -1
  7. package/dist/templates/mobile/base/template/App.tsx +113 -23
  8. package/dist/templates/mobile/base/template/package.json +5 -2
  9. package/dist/templates/web/base/template/package.json +1 -1
  10. package/dist/templates/web/base/template/src/app/checkout/page.tsx +99 -8
  11. package/dist/templates/web/base/template/src/app/dashboard/page.tsx +309 -0
  12. package/dist/templates/web/base/template/src/app/globals.css +97 -0
  13. package/dist/templates/web/base/template/src/app/login/page.tsx +36 -8
  14. package/dist/templates/web/base/template/src/app/page.tsx +123 -83
  15. package/dist/templates/web/base/template/src/app/signup/page.tsx +36 -8
  16. package/dist/templates/web/base/template/src/components/shared/header.tsx +49 -30
  17. package/dist/templates/web/ui-auth/template/package.json +2 -2
  18. package/dist/templates/web/ui-auth/template/src/app/page.tsx +203 -61
  19. package/dist/templates/web/ui-auth-payments/template/package.json +2 -2
  20. package/dist/templates/web/ui-auth-payments/template/src/app/checkout/page.tsx +253 -87
  21. package/dist/templates/web/ui-auth-payments/template/src/app/globals.css +129 -0
  22. package/dist/templates/web/ui-auth-payments/template/src/app/page.tsx +246 -74
  23. package/dist/templates/web/ui-auth-payments/template/src/components/shared/header.tsx +106 -40
  24. package/dist/templates/web/ui-auth-payments-audio/template/package.json +2 -2
  25. package/dist/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +221 -82
  26. package/dist/templates/web/ui-auth-payments-audio/template/src/components/shared/header.tsx +132 -40
  27. package/dist/templates/web/ui-auth-payments-video/template/package.json +2 -2
  28. package/dist/templates/web/ui-auth-payments-video/template/src/app/globals.css +146 -0
  29. package/dist/templates/web/ui-auth-payments-video/template/src/app/page.tsx +259 -85
  30. package/dist/templates/web/ui-auth-payments-video/template/src/components/shared/header.tsx +133 -41
  31. package/package.json +106 -106
  32. package/src/templates/mobile/base/template/App.tsx +113 -23
  33. package/src/templates/mobile/base/template/package.json +5 -2
  34. package/src/templates/web/base/template/package.json +1 -1
  35. package/src/templates/web/base/template/src/app/checkout/page.tsx +99 -8
  36. package/src/templates/web/base/template/src/app/dashboard/page.tsx +309 -0
  37. package/src/templates/web/base/template/src/app/globals.css +97 -0
  38. package/src/templates/web/base/template/src/app/login/page.tsx +36 -8
  39. package/src/templates/web/base/template/src/app/page.tsx +123 -83
  40. package/src/templates/web/base/template/src/app/signup/page.tsx +36 -8
  41. package/src/templates/web/base/template/src/components/shared/header.tsx +49 -30
  42. package/src/templates/web/ui-auth/template/package.json +2 -2
  43. package/src/templates/web/ui-auth/template/src/app/page.tsx +203 -61
  44. package/src/templates/web/ui-auth-payments/template/package.json +2 -2
  45. package/src/templates/web/ui-auth-payments/template/src/app/checkout/page.tsx +253 -87
  46. package/src/templates/web/ui-auth-payments/template/src/app/globals.css +129 -0
  47. package/src/templates/web/ui-auth-payments/template/src/app/page.tsx +246 -74
  48. package/src/templates/web/ui-auth-payments/template/src/components/shared/header.tsx +106 -40
  49. package/src/templates/web/ui-auth-payments-audio/template/package.json +2 -2
  50. package/src/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +221 -82
  51. package/src/templates/web/ui-auth-payments-audio/template/src/components/shared/header.tsx +132 -40
  52. package/src/templates/web/ui-auth-payments-video/template/package.json +2 -2
  53. package/src/templates/web/ui-auth-payments-video/template/src/app/globals.css +146 -0
  54. package/src/templates/web/ui-auth-payments-video/template/src/app/page.tsx +259 -85
  55. package/src/templates/web/ui-auth-payments-video/template/src/components/shared/header.tsx +133 -41
  56. package/dist/index.js +0 -1173
  57. package/dist/index.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,49 +1,109 @@
1
- # @digilogiclabs/create-saas-app
2
-
3
- ## 1.5.0
4
-
5
- ### 🎯 Major Enhancements - Best Practices Implementation
6
-
7
- #### New Features
8
- - **Testing Infrastructure**: Added Vitest with React Testing Library to all templates
9
- - **Environment Validation**: Type-safe environment variables with Zod validation
10
- - **Enhanced Error Handling**: Professional error boundaries and loading states
11
- - **Development Performance**: Turbopack integration for faster development builds
12
- - **Enhanced Utilities**: 10+ new utility functions (formatCurrency, debounce, etc.)
13
-
14
- #### 🔧 Developer Experience
15
- - **Test Scripts**: `npm run test`, `npm run test:ui`, `npm run test:run` in all templates
16
- - **Type Safety**: Enhanced TypeScript configuration and type checking
17
- - **Performance**: `next dev --turbo` for faster development builds
18
- - **Code Quality**: Pre-configured test mocks for Next.js, Auth, and Payments
19
-
20
- #### 📁 Template Enhancements
21
- - **Error Boundaries**: Professional error pages with retry functionality in all templates
22
- - **Loading States**: Clean loading components with spinners in all templates
23
- - **Environment Config**: Type-safe environment validation in all templates
24
- - **Enhanced Utils**: Comprehensive utility functions in all templates
25
- - **Test Setup**: Complete testing infrastructure with example tests
26
-
27
- #### 🎨 Templates Enhanced
28
- - **ui-auth-payments**: Full SaaS with comprehensive best practices
29
- - ✅ **ui-auth-payments-audio**: Audio SaaS with all enhancements
30
- - **ui-auth-payments-video**: Video SaaS with all enhancements
31
- - **ui-auth**: Authentication-focused template with testing
32
- - **ui-only**: Clean UI template with development tools
33
- - **base**: Foundation template with core enhancements
34
-
35
- ## 1.4.0
36
-
37
- ### 🎨 Theme System Implementation
38
-
39
- #### Theme Features
40
- - **Theme Colors**: 6 customizable theme colors (Blue, Green, Purple, Orange, Red, Slate)
41
- - **Theme Modes**: Light/Dark/System theme support with persistence
42
- - **CLI Options**: `--theme-color` and `--default-theme` command line options
43
- - **Version Tracking**: Generator and package version tracking in generated projects
44
-
45
- ## 1.1.0
46
-
47
- ### Minor Changes
48
-
49
- - retrigger release
1
+ # @digilogiclabs/create-saas-app
2
+
3
+ ## 1.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 🎨 Mobile-First UI Library v0.13.0 Integration
8
+
9
+ ### Major Template Enhancements
10
+
11
+ #### 📱 Mobile-First Optimization Complete
12
+ - **Hamburger Navigation**: Animated hamburger menus with smooth transitions and haptic feedback across all templates
13
+ - **Context-Aware Banners**: Animated moving marquee banners that adapt to network conditions and template context
14
+ - **Touch-Optimized Components**: 44px minimum touch targets, gesture controls, and SwipeableCard interactions
15
+ - **Network Intelligence**: Adaptive content based on connection quality (2G, 4G, 5G) with offline support
16
+
17
+ #### 🎭 Template-Specific Features
18
+ - **Audio Templates**: Music streaming quality indicators, playlist navigation, audio-specific banners
19
+ - **Video Templates**: Video quality adaptation, watch later functionality, streaming status banners
20
+ - **Payment Templates**: Mobile-first checkout flows with touch-friendly payment processing
21
+ - **All Templates**: Pull-to-refresh, progressive image loading, skeleton states, haptic feedback
22
+
23
+ #### 🚀 SaaS Factory UI v0.13.0 Components
24
+ - `ResponsiveHeader`, `HamburgerIcon`, `MobileNavigation` with animations
25
+ - `PageTransition`, `MobileHero`, `NetworkAwareContent`, `OfflineWrapper`
26
+ - `SwipeableCard`, `PullToRefresh`, `LazyImage`, `ProgressiveImage`
27
+ - `VirtualScrollList`, `MobileContainer` for optimal mobile experiences
28
+ - Network hooks: `useNetworkInfo`, `useOfflineState`, `useCache`
29
+
30
+ #### 🎨 Enhanced CSS & Animations
31
+ - Marquee banner animations with reduced-motion support
32
+ - Hamburger menu transform animations with cubic-bezier easing
33
+ - Mobile-first responsive design with touch-action optimizations
34
+ - Video-specific aspect ratio containers and progressive loading
35
+ - Haptic feedback animations for enhanced mobile interactions
36
+
37
+ #### 📦 Templates Updated
38
+ - ✅ **ui-auth-payments**: Complete mobile-first SaaS with payments
39
+ - **ui-auth-payments-audio**: Mobile music streaming app template
40
+ - **ui-auth-payments-video**: Mobile video streaming app template
41
+ - **ui-auth**: Cross-device authentication template
42
+ - **ui-only**: Clean mobile-first UI template
43
+ - **base**: Foundation template with mobile optimizations
44
+
45
+ ### 🔧 Technical Improvements
46
+ - Upgraded all templates to SaaS Factory UI Library v0.13.0
47
+ - Cross-platform compatibility (Web + React Native ready)
48
+ - Network-aware adaptive experiences with intelligent content delivery
49
+ - Enhanced accessibility with proper focus management and screen reader support
50
+ - Performance optimizations with lazy loading and progressive enhancement
51
+
52
+ All templates now provide production-ready, mobile-first user experiences with comprehensive touch optimizations and network intelligence.
53
+
54
+ ### Patch Changes
55
+
56
+ - f0c527c: alignment for release
57
+
58
+ ## 1.5.0
59
+
60
+ ### 🎯 Major Enhancements - Best Practices Implementation
61
+
62
+ #### ✨ New Features
63
+
64
+ - **Testing Infrastructure**: Added Vitest with React Testing Library to all templates
65
+ - **Environment Validation**: Type-safe environment variables with Zod validation
66
+ - **Enhanced Error Handling**: Professional error boundaries and loading states
67
+ - **Development Performance**: Turbopack integration for faster development builds
68
+ - **Enhanced Utilities**: 10+ new utility functions (formatCurrency, debounce, etc.)
69
+
70
+ #### 🔧 Developer Experience
71
+
72
+ - **Test Scripts**: `npm run test`, `npm run test:ui`, `npm run test:run` in all templates
73
+ - **Type Safety**: Enhanced TypeScript configuration and type checking
74
+ - **Performance**: `next dev --turbo` for faster development builds
75
+ - **Code Quality**: Pre-configured test mocks for Next.js, Auth, and Payments
76
+
77
+ #### 📁 Template Enhancements
78
+
79
+ - **Error Boundaries**: Professional error pages with retry functionality in all templates
80
+ - **Loading States**: Clean loading components with spinners in all templates
81
+ - **Environment Config**: Type-safe environment validation in all templates
82
+ - **Enhanced Utils**: Comprehensive utility functions in all templates
83
+ - **Test Setup**: Complete testing infrastructure with example tests
84
+
85
+ #### 🎨 Templates Enhanced
86
+
87
+ - ✅ **ui-auth-payments**: Full SaaS with comprehensive best practices
88
+ - ✅ **ui-auth-payments-audio**: Audio SaaS with all enhancements
89
+ - ✅ **ui-auth-payments-video**: Video SaaS with all enhancements
90
+ - ✅ **ui-auth**: Authentication-focused template with testing
91
+ - ✅ **ui-only**: Clean UI template with development tools
92
+ - ✅ **base**: Foundation template with core enhancements
93
+
94
+ ## 1.4.0
95
+
96
+ ### 🎨 Theme System Implementation
97
+
98
+ #### ✨ Theme Features
99
+
100
+ - **Theme Colors**: 6 customizable theme colors (Blue, Green, Purple, Orange, Red, Slate)
101
+ - **Theme Modes**: Light/Dark/System theme support with persistence
102
+ - **CLI Options**: `--theme-color` and `--default-theme` command line options
103
+ - **Version Tracking**: Generator and package version tracking in generated projects
104
+
105
+ ## 1.1.0
106
+
107
+ ### Minor Changes
108
+
109
+ - retrigger release
package/bin/index.js CHANGED
@@ -23,7 +23,7 @@ if (!fs.existsSync(distPath)) {
23
23
 
24
24
  // Run the compiled CLI
25
25
  try {
26
- require('../dist/index.js');
26
+ require('../dist/cli/index.js');
27
27
  } catch (error) {
28
28
  console.error('❌ Error running create-saas-app:');
29
29
  console.error(error.message);