@digilogiclabs/create-saas-app 1.19.8 → 1.20.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 (36) hide show
  1. package/CHANGELOG.md +102 -0
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/generators/package-installer.d.ts.map +1 -1
  4. package/dist/generators/package-installer.js +11 -1
  5. package/dist/generators/package-installer.js.map +1 -1
  6. package/dist/generators/template-generator.d.ts +2 -0
  7. package/dist/generators/template-generator.d.ts.map +1 -1
  8. package/dist/generators/template-generator.js +16 -0
  9. package/dist/generators/template-generator.js.map +1 -1
  10. package/dist/templates/mobile/base/template/App.tsx +11 -5
  11. package/dist/templates/mobile/base/template/app.json +1 -1
  12. package/dist/templates/mobile/base/template/babel.config.js +6 -0
  13. package/dist/templates/mobile/base/template/package.json +9 -4
  14. package/dist/templates/mobile/ui-auth-payments/template/app/_layout.tsx +11 -4
  15. package/dist/templates/mobile/ui-auth-payments/template/app.json +1 -1
  16. package/dist/templates/mobile/ui-auth-payments/template/package.json +11 -9
  17. package/dist/templates/mobile/ui-auth-payments-ai/template/app/_layout.tsx +11 -4
  18. package/dist/templates/mobile/ui-auth-payments-ai/template/app.json +1 -1
  19. package/dist/templates/mobile/ui-auth-payments-ai/template/package.json +11 -9
  20. package/dist/templates/mobile/ui-auth-payments-ai-rag/template/app/_layout.tsx +134 -0
  21. package/dist/templates/mobile/ui-auth-payments-ai-rag/template/app.json +1 -1
  22. package/dist/templates/mobile/ui-auth-payments-ai-rag/template/package.json +11 -9
  23. package/package.json +1 -1
  24. package/src/templates/mobile/base/template/App.tsx +11 -5
  25. package/src/templates/mobile/base/template/app.json +1 -1
  26. package/src/templates/mobile/base/template/babel.config.js +6 -0
  27. package/src/templates/mobile/base/template/package.json +9 -4
  28. package/src/templates/mobile/ui-auth-payments/template/app/_layout.tsx +11 -4
  29. package/src/templates/mobile/ui-auth-payments/template/app.json +1 -1
  30. package/src/templates/mobile/ui-auth-payments/template/package.json +11 -9
  31. package/src/templates/mobile/ui-auth-payments-ai/template/app/_layout.tsx +11 -4
  32. package/src/templates/mobile/ui-auth-payments-ai/template/app.json +1 -1
  33. package/src/templates/mobile/ui-auth-payments-ai/template/package.json +11 -9
  34. package/src/templates/mobile/ui-auth-payments-ai-rag/template/app/_layout.tsx +134 -0
  35. package/src/templates/mobile/ui-auth-payments-ai-rag/template/app.json +1 -1
  36. package/src/templates/mobile/ui-auth-payments-ai-rag/template/package.json +11 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,107 @@
1
1
  # @digilogiclabs/create-saas-app
2
2
 
3
+ ## 1.20.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 🔧 **React Native Compatibility Fixes**
8
+ - **React & React DOM**: Updated from `18.2.0` to `19.1.0` across all mobile templates
9
+ - **Expo SDK**: Upgraded from `~51.0.0` to `~54.0.11` for latest stability and features
10
+ - **Expo Router**: Updated from `~3.4.0` to `~6.0.9` for improved routing
11
+ - **Babel Configuration**: Added `babel.config.js` to base mobile template
12
+ - **Package Installation**: Added `--legacy-peer-deps` flag for npm installations to resolve peer dependency conflicts
13
+
14
+ ### Technical Improvements
15
+
16
+ - ⚡ **Better Dependency Resolution**: npm installations now use `--legacy-peer-deps` to handle React 19 peer dependencies
17
+ - 📦 **Complete Babel Setup**: All 4 mobile templates now have proper babel.config.js configuration
18
+ - 🔄 **Version Consistency**: All mobile templates use consistent React and Expo versions
19
+ - ✅ **Build Verification**: All templates tested and verified to build successfully
20
+
21
+ ### Templates Updated
22
+
23
+ - `mobile/base` - Base mobile template
24
+ - `mobile/ui-auth-payments` - UI + Auth + Payments template
25
+ - `mobile/ui-auth-payments-ai` - UI + Auth + Payments + AI template
26
+ - `mobile/ui-auth-payments-ai-rag` - UI + Auth + Payments + AI + RAG template
27
+
28
+ ## 1.20.0
29
+
30
+ ### Minor Changes
31
+
32
+ - 💳 **Native Payment Infrastructure Upgrade**
33
+ - **Payments Package**: Upgraded `@digilogiclabs/saas-factory-payments` from `^1.2.6` to `^1.2.7`
34
+ - **Architecture Overhaul**: Implemented server-side payment API architecture for React Native
35
+ - **Fixed Critical Issue**: Eliminated "Cannot import Node.js 'crypto' module" errors in mobile apps
36
+ - **Zero Node.js Dependencies**: Removed Node.js Stripe SDK from native bundle (~800KB reduction)
37
+
38
+ - 🏗 **PaymentsProvider Integration**
39
+ - **All Mobile Templates Updated**: Added `PaymentsProvider` wrapper to all mobile templates
40
+ - `mobile/base`
41
+ - `mobile/ui-auth-payments`
42
+ - `mobile/ui-auth-payments-ai`
43
+ - `mobile/ui-auth-payments-ai-rag`
44
+ - **Server-Side Operations**: All sensitive payment operations now handled via API endpoints
45
+ - **Environment Configuration**: Added `EXPO_PUBLIC_API_URL` for server API communication
46
+
47
+ ### Patch Changes
48
+
49
+ - 🐛 **Template Fixes**
50
+ - **Missing Layout File**: Created `app/_layout.tsx` for `ui-auth-payments-ai-rag` template
51
+ - **Import Corrections**: Updated Stripe provider imports across all mobile templates
52
+ - **Provider Hierarchy**: Corrected provider nesting order for optimal functionality
53
+
54
+ ### Performance Improvements
55
+
56
+ - ⚡ **Bundle Size**: Reduced mobile bundle size by ~800KB
57
+ - ⚡ **Build Time**: Faster builds without crypto polyfills
58
+ - ⚡ **Memory Usage**: Lower memory footprint on mobile devices
59
+ - ⚡ **Startup Time**: Faster app initialization due to smaller bundle
60
+
61
+ ### Security Enhancements
62
+
63
+ - 🔒 **PCI Compliance**: All card data handling moved to server-side
64
+ - 🔒 **No Secrets in App**: Payment secrets never bundled with mobile app
65
+ - 🔒 **Secure Communication**: All payment operations use authenticated HTTPS APIs
66
+ - 🔒 **Audit Trail**: Server-side logging of all payment operations
67
+
68
+ ### Documentation
69
+
70
+ - 📚 **Release Notes**: Comprehensive v1.20.0 release notes with migration guide
71
+ - 📚 **Architecture Documentation**: Detailed native payment architecture documentation
72
+ - 📚 **Server API Spec**: Complete server endpoint specifications for payment operations
73
+
74
+ ## 1.19.9
75
+
76
+ ### Patch Changes
77
+
78
+ - 🚀 **Critical Mobile Template Deployment Fixes**
79
+ - **Assets Generation**: CLI now automatically creates `assets/` directory with required placeholder files
80
+ - `icon.png`, `splash.png`, `adaptive-icon.png`, `favicon.png` (1x1 transparent PNG placeholders)
81
+ - **Dependency Resolution**: Fixed missing required dependencies for iOS deployment
82
+ - Added `expo-constants: ~16.0.2`, `expo-linking: ~6.3.1`, `expo-status-bar: ~1.12.1`
83
+ - Added `react-native-web: ~0.19.10`, `react-dom: 18.2.0`, `@react-native/assets-registry: ^0.81.1`
84
+ - Removed conflicting `@types/react-native` from devDependencies across all templates
85
+ - **Android Package Format**: Fixed Android package name to use valid camelCase format
86
+ - Changed from `com.my-app-name.app` to `com.myAppName.app` for proper reverse DNS compliance
87
+ - **Build Configuration**: Added `.expo/` to `.gitignore` for all mobile templates
88
+ - Prevents Expo build artifacts from being committed to repositories
89
+
90
+ ### Mobile Template Quality Improvements
91
+
92
+ - ✅ **100% iOS Deployment Ready**: Generated projects now work out-of-the-box for iOS App Store submission
93
+ - ✅ **Dependency Completeness**: All required Expo and React Native dependencies included
94
+ - ✅ **Package Name Validation**: Android package names follow proper naming conventions
95
+ - ✅ **Asset Management**: Automatic generation of all required mobile app assets
96
+ - ✅ **Git Integration**: Proper .gitignore configuration for mobile development workflow
97
+
98
+ ### Technical Enhancements
99
+
100
+ - 🔧 **Template Generator**: Enhanced mobile project generation with asset creation pipeline
101
+ - 📦 **Package Resolution**: Eliminated peer dependency conflicts and missing package errors
102
+ - 🛠 **Build Optimization**: Reduced manual setup steps required after project generation
103
+ - ✅ **Deployment Testing**: Verified mobile template generation produces deployment-ready projects
104
+
3
105
  ## 1.19.8
4
106
 
5
107
  ### Patch Changes