@digilogiclabs/create-saas-app 1.19.5 → 1.19.7
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 +29 -0
- package/README.md +23 -8
- package/dist/.tsbuildinfo +1 -1
- package/dist/templates/mobile/base/template/.env.example +7 -7
- package/dist/templates/mobile/base/template/package.json +6 -5
- package/dist/templates/mobile/ui-auth-payments/template/package.json +9 -7
- package/dist/templates/mobile/ui-auth-payments/template/tsconfig.json +1 -1
- package/dist/templates/mobile/ui-auth-payments-ai/template/package.json +9 -7
- package/dist/templates/mobile/ui-auth-payments-ai/template/tsconfig.json +1 -1
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/app.json +73 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/babel.config.js +25 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/eas.json +25 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/expo-env.d.ts +3 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/jest-setup.ts +37 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/metro.config.js +11 -0
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/package.json +9 -7
- package/dist/templates/mobile/ui-auth-payments-ai-rag/template/tsconfig.json +32 -0
- package/package.json +1 -1
- package/src/templates/mobile/base/template/.env.example +7 -7
- package/src/templates/mobile/base/template/package.json +6 -5
- package/src/templates/mobile/ui-auth-payments/template/package.json +9 -7
- package/src/templates/mobile/ui-auth-payments/template/tsconfig.json +1 -1
- package/src/templates/mobile/ui-auth-payments-ai/template/package.json +9 -7
- package/src/templates/mobile/ui-auth-payments-ai/template/tsconfig.json +1 -1
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/app.json +73 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/babel.config.js +25 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/eas.json +25 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/expo-env.d.ts +3 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/jest-setup.ts +37 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/metro.config.js +11 -0
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/package.json +9 -7
- package/src/templates/mobile/ui-auth-payments-ai-rag/template/tsconfig.json +32 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import '@testing-library/jest-native/extend-expect';
|
|
2
|
+
|
|
3
|
+
// Mock react-native-reanimated
|
|
4
|
+
jest.mock('react-native-reanimated', () => {
|
|
5
|
+
const Reanimated = require('react-native-reanimated/mock');
|
|
6
|
+
Reanimated.default.call = () => {};
|
|
7
|
+
return Reanimated;
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
// Mock expo modules
|
|
11
|
+
jest.mock('expo-constants', () => ({
|
|
12
|
+
default: {
|
|
13
|
+
expoConfig: {
|
|
14
|
+
extra: {}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}));
|
|
18
|
+
|
|
19
|
+
jest.mock('expo-status-bar', () => ({
|
|
20
|
+
StatusBar: 'StatusBar'
|
|
21
|
+
}));
|
|
22
|
+
|
|
23
|
+
jest.mock('expo-router', () => ({
|
|
24
|
+
router: {
|
|
25
|
+
push: jest.fn(),
|
|
26
|
+
replace: jest.fn(),
|
|
27
|
+
back: jest.fn(),
|
|
28
|
+
},
|
|
29
|
+
Link: 'Link',
|
|
30
|
+
useRouter: () => ({
|
|
31
|
+
push: jest.fn(),
|
|
32
|
+
replace: jest.fn(),
|
|
33
|
+
back: jest.fn(),
|
|
34
|
+
}),
|
|
35
|
+
usePathname: () => '/',
|
|
36
|
+
useLocalSearchParams: () => ({}),
|
|
37
|
+
}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const { getDefaultConfig } = require('expo/metro-config');
|
|
2
|
+
const { withNativeWind } = require('nativewind/metro');
|
|
3
|
+
|
|
4
|
+
const config = getDefaultConfig(__dirname);
|
|
5
|
+
|
|
6
|
+
// Configure SVG support
|
|
7
|
+
config.transformer.babelTransformerPath = require.resolve('react-native-svg-transformer');
|
|
8
|
+
config.resolver.assetExts = config.resolver.assetExts.filter((ext) => ext !== 'svg');
|
|
9
|
+
config.resolver.sourceExts = [...config.resolver.sourceExts, 'svg'];
|
|
10
|
+
|
|
11
|
+
module.exports = withNativeWind(config, { input: './global.css' });
|
|
@@ -38,22 +38,23 @@
|
|
|
38
38
|
"react-native-gesture-handler": "~2.14.0",
|
|
39
39
|
"react-native-reanimated": "~3.6.2",
|
|
40
40
|
|
|
41
|
-
"@digilogiclabs/saas-factory-ui": "^0.
|
|
42
|
-
"@digilogiclabs/saas-factory-auth": "^1.0.
|
|
43
|
-
"@digilogiclabs/saas-factory-payments": "^1.2.
|
|
41
|
+
"@digilogiclabs/saas-factory-ui": "^0.27.0",
|
|
42
|
+
"@digilogiclabs/saas-factory-auth": "^1.0.4",
|
|
43
|
+
"@digilogiclabs/saas-factory-payments": "^1.2.5",
|
|
44
44
|
"@digilogiclabs/saas-factory-ai": "^4.0.2",
|
|
45
45
|
"@digilogiclabs/saas-factory-ai-types": "^4.0.2",
|
|
46
46
|
|
|
47
47
|
"@supabase/supabase-js": "^2.39.0",
|
|
48
48
|
"@react-native-async-storage/async-storage": "1.21.0",
|
|
49
49
|
|
|
50
|
-
"@stripe/stripe-react-native": "
|
|
50
|
+
"@stripe/stripe-react-native": "0.28.0",
|
|
51
|
+
"@supabase/ssr": "^0.7.0",
|
|
51
52
|
|
|
52
53
|
"expo-router": "~3.4.0",
|
|
53
54
|
"expo-font": "~11.10.0",
|
|
54
55
|
"expo-linking": "~6.2.2",
|
|
55
56
|
"expo-constants": "~15.4.0",
|
|
56
|
-
"expo-status-bar": "~1.
|
|
57
|
+
"expo-status-bar": "~1.6.0",
|
|
57
58
|
"expo-splash-screen": "~0.26.4",
|
|
58
59
|
"expo-system-ui": "~2.9.3",
|
|
59
60
|
"expo-web-browser": "~12.8.2",
|
|
@@ -70,11 +71,12 @@
|
|
|
70
71
|
"expo-linear-gradient": "~12.7.2",
|
|
71
72
|
"expo-blur": "~12.9.2",
|
|
72
73
|
"expo-asset": "~9.0.2",
|
|
73
|
-
"metro": "
|
|
74
|
+
"metro": "~0.77.0",
|
|
74
75
|
"@expo/metro-runtime": "~3.1.3",
|
|
75
76
|
"@react-native-community/cli-server-api": "^12.0.0",
|
|
76
77
|
"@react-native/assets-registry": "^0.73.1",
|
|
77
|
-
"metro-react-native-babel-transformer": "
|
|
78
|
+
"metro-react-native-babel-transformer": "~0.77.0",
|
|
79
|
+
"metro-inspector-proxy": "~0.77.0",
|
|
78
80
|
"expo-speech": "~11.7.0",
|
|
79
81
|
"expo-av": "~13.10.4",
|
|
80
82
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "expo/tsconfig.base",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"strict": true,
|
|
5
|
+
"baseUrl": "./",
|
|
6
|
+
"paths": {
|
|
7
|
+
"@/*": ["./*"],
|
|
8
|
+
"@/components/*": ["./components/*"],
|
|
9
|
+
"@/hooks/*": ["./hooks/*"],
|
|
10
|
+
"@/utils/*": ["./utils/*"],
|
|
11
|
+
"@/types/*": ["./types/*"],
|
|
12
|
+
"@/constants/*": ["./constants/*"],
|
|
13
|
+
"@/lib/*": ["./lib/*"]
|
|
14
|
+
},
|
|
15
|
+
"skipLibCheck": true,
|
|
16
|
+
"allowSyntheticDefaultImports": true,
|
|
17
|
+
"esModuleInterop": true,
|
|
18
|
+
"moduleResolution": "bundler",
|
|
19
|
+
"resolveJsonModule": true,
|
|
20
|
+
"noEmit": true,
|
|
21
|
+
"jsx": "react-jsx"
|
|
22
|
+
},
|
|
23
|
+
"include": [
|
|
24
|
+
"**/*.ts",
|
|
25
|
+
"**/*.tsx",
|
|
26
|
+
".expo/types/**/*.ts",
|
|
27
|
+
"expo-env.d.ts"
|
|
28
|
+
],
|
|
29
|
+
"exclude": [
|
|
30
|
+
"node_modules"
|
|
31
|
+
]
|
|
32
|
+
}
|