@coze-arch/cli 0.0.1-alpha.f9be02 → 0.0.1-alpha.ff64d9
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/lib/__templates__/expo/.coze +1 -1
- package/lib/__templates__/expo/.cozeproj/scripts/dev_build.sh +19 -82
- package/lib/__templates__/expo/.cozeproj/scripts/dev_run.sh +62 -81
- package/lib/__templates__/expo/.cozeproj/scripts/prod_build.sh +2 -2
- package/lib/__templates__/expo/.cozeproj/scripts/prod_run.sh +2 -2
- package/lib/__templates__/expo/.cozeproj/scripts/server_dev_run.sh +45 -0
- package/lib/__templates__/expo/README.md +66 -7
- package/lib/__templates__/expo/client/app/_layout.tsx +33 -0
- package/lib/__templates__/expo/client/app/demo.tsx +1 -0
- package/lib/__templates__/expo/client/app/index.tsx +1 -0
- package/lib/__templates__/expo/client/app.config.ts +64 -60
- package/lib/__templates__/expo/client/{src/constants → constants}/theme.ts +22 -18
- package/lib/__templates__/expo/client/declarations.d.ts +5 -0
- package/lib/__templates__/expo/client/hooks/useColorScheme.ts +34 -0
- package/lib/__templates__/expo/client/package.json +3 -2
- package/lib/__templates__/expo/client/screens/demo/index.tsx +25 -0
- package/lib/__templates__/expo/client/screens/demo/styles.ts +28 -0
- package/lib/__templates__/expo/client/tsconfig.json +1 -1
- package/lib/__templates__/expo/package.json +4 -98
- package/lib/__templates__/expo/pnpm-lock.yaml +376 -577
- package/lib/__templates__/expo/server/package.json +18 -3
- package/lib/__templates__/expo/server/src/index.ts +8 -2
- package/lib/__templates__/expo/server/tsconfig.json +24 -0
- package/lib/__templates__/expo/template.config.js +1 -0
- package/lib/__templates__/nextjs/.coze +1 -0
- package/lib/__templates__/nextjs/_npmrc +1 -0
- package/lib/__templates__/nextjs/next.config.ts +12 -0
- package/lib/__templates__/nextjs/package.json +3 -2
- package/lib/__templates__/nextjs/pnpm-lock.yaml +13 -5
- package/lib/__templates__/nextjs/scripts/prepare.sh +9 -0
- package/lib/__templates__/nextjs/src/app/globals.css +10 -2
- package/lib/__templates__/nextjs/src/app/layout.tsx +1 -12
- package/lib/__templates__/nextjs/src/app/page.tsx +35 -23
- package/lib/__templates__/nextjs/src/components/ui/resizable.tsx +29 -22
- package/lib/__templates__/nextjs/src/components/ui/sidebar.tsx +228 -230
- package/lib/__templates__/nextjs/template.config.js +30 -0
- package/lib/__templates__/templates.json +61 -43
- package/lib/__templates__/vite/.coze +1 -0
- package/lib/__templates__/vite/_npmrc +1 -0
- package/lib/__templates__/vite/eslint.config.mjs +9 -0
- package/lib/__templates__/vite/package.json +5 -1
- package/lib/__templates__/vite/pnpm-lock.yaml +3481 -14
- package/lib/__templates__/vite/scripts/prepare.sh +9 -0
- package/lib/__templates__/vite/src/main.ts +1 -2
- package/lib/__templates__/vite/template.config.js +28 -4
- package/lib/cli.js +201 -57
- package/package.json +5 -3
- package/lib/__templates__/expo/client/src/app/_layout.tsx +0 -33
- package/lib/__templates__/expo/client/src/app/index.ts +0 -1
- package/lib/__templates__/expo/client/src/hooks/useColorScheme.ts +0 -1
- package/lib/__templates__/expo/client/src/screens/home/index.tsx +0 -50
- package/lib/__templates__/expo/client/src/screens/home/styles.ts +0 -60
- package/lib/__templates__/nextjs/.vscode/settings.json +0 -121
- package/lib/__templates__/vite/.vscode/settings.json +0 -7
- /package/lib/__templates__/expo/client/{src/assets → assets}/fonts/SpaceMono-Regular.ttf +0 -0
- /package/lib/__templates__/expo/client/{src/assets → assets}/images/adaptive-icon.png +0 -0
- /package/lib/__templates__/expo/client/{src/assets → assets}/images/default-avatar.png +0 -0
- /package/lib/__templates__/expo/client/{src/assets → assets}/images/favicon.png +0 -0
- /package/lib/__templates__/expo/client/{src/assets → assets}/images/icon.png +0 -0
- /package/lib/__templates__/expo/client/{src/assets → assets}/images/partial-react-logo.png +0 -0
- /package/lib/__templates__/expo/client/{src/assets → assets}/images/react-logo.png +0 -0
- /package/lib/__templates__/expo/client/{src/assets → assets}/images/react-logo@2x.png +0 -0
- /package/lib/__templates__/expo/client/{src/assets → assets}/images/react-logo@3x.png +0 -0
- /package/lib/__templates__/expo/client/{src/assets → assets}/images/splash-icon.png +0 -0
- /package/lib/__templates__/expo/client/{src/components → components}/Screen.tsx +0 -0
- /package/lib/__templates__/expo/client/{src/components → components}/SmartDateInput.tsx +0 -0
- /package/lib/__templates__/expo/client/{src/components → components}/ThemedText.tsx +0 -0
- /package/lib/__templates__/expo/client/{src/components → components}/ThemedView.tsx +0 -0
- /package/lib/__templates__/expo/client/{src/contexts → contexts}/AuthContext.tsx +0 -0
- /package/lib/__templates__/expo/client/{src/hooks → hooks}/useTheme.ts +0 -0
- /package/lib/__templates__/expo/client/{src/utils → utils}/index.ts +0 -0
|
@@ -1,71 +1,75 @@
|
|
|
1
1
|
import { ExpoConfig, ConfigContext } from 'expo/config';
|
|
2
2
|
|
|
3
|
+
const appName = 'My App';
|
|
4
|
+
const slugAppName = 'my-app';
|
|
5
|
+
|
|
3
6
|
export default ({ config }: ConfigContext): ExpoConfig => {
|
|
4
7
|
return {
|
|
5
8
|
...config,
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
"name": appName,
|
|
10
|
+
"slug": slugAppName,
|
|
11
|
+
"version": "1.0.0",
|
|
12
|
+
"orientation": "portrait",
|
|
13
|
+
"icon": "./assets/images/icon.png",
|
|
14
|
+
"scheme": "myapp",
|
|
15
|
+
"userInterfaceStyle": "automatic",
|
|
16
|
+
"newArchEnabled": true,
|
|
17
|
+
"ios": {
|
|
18
|
+
"supportsTablet": true
|
|
19
|
+
},
|
|
20
|
+
"android": {
|
|
21
|
+
"adaptiveIcon": {
|
|
22
|
+
"foregroundImage": "./assets/images/adaptive-icon.png",
|
|
23
|
+
"backgroundColor": "#ffffff"
|
|
16
24
|
},
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
25
|
+
"package": "com.anonymous.myapp"
|
|
26
|
+
},
|
|
27
|
+
"web": {
|
|
28
|
+
"bundler": "metro",
|
|
29
|
+
"output": "single",
|
|
30
|
+
"favicon": "./assets/images/favicon.png"
|
|
31
|
+
},
|
|
32
|
+
"plugins": [
|
|
33
|
+
process.env.EXPO_PUBLIC_BACKEND_BASE_URL ? [
|
|
34
|
+
"expo-router",
|
|
35
|
+
{
|
|
36
|
+
"origin": process.env.EXPO_PUBLIC_BACKEND_BASE_URL
|
|
37
|
+
}
|
|
38
|
+
] : 'expo-router',
|
|
39
|
+
[
|
|
40
|
+
"expo-splash-screen",
|
|
41
|
+
{
|
|
42
|
+
"image": "./assets/images/splash-icon.png",
|
|
43
|
+
"imageWidth": 200,
|
|
44
|
+
"resizeMode": "contain",
|
|
20
45
|
"backgroundColor": "#ffffff"
|
|
21
46
|
}
|
|
22
|
-
},
|
|
23
|
-
"web": {
|
|
24
|
-
"bundler": "metro",
|
|
25
|
-
"output": "single",
|
|
26
|
-
"favicon": "./assets/images/favicon.png"
|
|
27
|
-
},
|
|
28
|
-
"plugins": [
|
|
29
|
-
process.env.EXPO_PUBLIC_BACKEND_BASE_URL ? [
|
|
30
|
-
"expo-router",
|
|
31
|
-
{
|
|
32
|
-
"origin": process.env.EXPO_PUBLIC_BACKEND_BASE_URL
|
|
33
|
-
}
|
|
34
|
-
] : 'expo-router',
|
|
35
|
-
[
|
|
36
|
-
"expo-splash-screen",
|
|
37
|
-
{
|
|
38
|
-
"image": "./assets/images/splash-icon.png",
|
|
39
|
-
"imageWidth": 200,
|
|
40
|
-
"resizeMode": "contain",
|
|
41
|
-
"backgroundColor": "#ffffff"
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
[
|
|
45
|
-
"expo-image-picker",
|
|
46
|
-
{
|
|
47
|
-
"photosPermission": "允许${app_name}访问您的相册,以便您上传或保存图片。",
|
|
48
|
-
"cameraPermission": "允许${app_name}使用您的相机,以便您直接拍摄照片上传。",
|
|
49
|
-
"microphonePermission": "允许${app_name}访问您的麦克风,以便您拍摄带有声音的视频。"
|
|
50
|
-
}
|
|
51
|
-
],
|
|
52
|
-
[
|
|
53
|
-
"expo-location",
|
|
54
|
-
{
|
|
55
|
-
"locationWhenInUsePermission": "${app_name}需要访问您的位置以提供周边服务及导航功能。"
|
|
56
|
-
}
|
|
57
|
-
],
|
|
58
|
-
[
|
|
59
|
-
"expo-camera",
|
|
60
|
-
{
|
|
61
|
-
"cameraPermission": "${app_name}需要访问相机以拍摄照片和视频。",
|
|
62
|
-
"microphonePermission": "${app_name}需要访问麦克风以录制视频声音。",
|
|
63
|
-
"recordAudioAndroid": true
|
|
64
|
-
}
|
|
65
|
-
]
|
|
66
47
|
],
|
|
67
|
-
|
|
68
|
-
"
|
|
69
|
-
|
|
48
|
+
[
|
|
49
|
+
"expo-image-picker",
|
|
50
|
+
{
|
|
51
|
+
"photosPermission": `允许${appName}访问您的相册,以便您上传或保存图片。`,
|
|
52
|
+
"cameraPermission": `允许${appName}使用您的相机,以便您直接拍摄照片上传。`,
|
|
53
|
+
"microphonePermission": `允许${appName}访问您的麦克风,以便您拍摄带有声音的视频。`
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
[
|
|
57
|
+
"expo-location",
|
|
58
|
+
{
|
|
59
|
+
"locationWhenInUsePermission": `${appName}需要访问您的位置以提供周边服务及导航功能。`
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
[
|
|
63
|
+
"expo-camera",
|
|
64
|
+
{
|
|
65
|
+
"cameraPermission": `${appName}需要访问相机以拍摄照片和视频。`,
|
|
66
|
+
"microphonePermission": `${appName}需要访问麦克风以录制视频声音。`,
|
|
67
|
+
"recordAudioAndroid": true
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
],
|
|
71
|
+
"experiments": {
|
|
72
|
+
"typedRoutes": true
|
|
73
|
+
}
|
|
70
74
|
}
|
|
71
75
|
}
|
|
@@ -2,23 +2,21 @@ import { Platform, StyleSheet } from "react-native";
|
|
|
2
2
|
|
|
3
3
|
export const Colors = {
|
|
4
4
|
light: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
textSecondary: "#374151",
|
|
5
|
+
textPrimary: "#1C1917",
|
|
6
|
+
textSecondary: "#78716c",
|
|
8
7
|
textMuted: "#9CA3AF",
|
|
9
8
|
textDisabled: "#D1D5DB",
|
|
10
9
|
placeholder: "#9CA3AF",
|
|
11
|
-
buttonText: "#FFFFFF",
|
|
12
10
|
tabIconDefault: "#9CA3AF",
|
|
13
|
-
tabIconSelected: "#
|
|
14
|
-
primary: "#
|
|
11
|
+
tabIconSelected: "#1C1917",
|
|
12
|
+
primary: "#1C1917",
|
|
15
13
|
accent: "#000000",
|
|
16
|
-
link: "#
|
|
14
|
+
link: "#1C1917",
|
|
17
15
|
success: "#16A34A",
|
|
18
16
|
warning: "#F59E0B",
|
|
19
17
|
error: "#DC2626",
|
|
20
18
|
info: "#2563EB",
|
|
21
|
-
backgroundRoot: "#
|
|
19
|
+
backgroundRoot: "#FFF",
|
|
22
20
|
backgroundDefault: "#F9FAFB",
|
|
23
21
|
backgroundSecondary: "#F3F4F6",
|
|
24
22
|
backgroundTertiary: "#E5E7EB",
|
|
@@ -27,25 +25,27 @@ export const Colors = {
|
|
|
27
25
|
divider: "#F3F4F6",
|
|
28
26
|
overlay: "rgba(0, 0, 0, 0.4)",
|
|
29
27
|
chartBackground: "rgba(249, 250, 251, 0.5)",
|
|
28
|
+
buttonPrimaryBackground: "#1C1917",
|
|
29
|
+
buttonPrimaryText: "#FFFFFF",
|
|
30
|
+
buttonSecondaryBackground: "#F3F4F6",
|
|
31
|
+
buttonSecondaryText: "#1C1917",
|
|
30
32
|
},
|
|
31
33
|
dark: {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
textSecondary: "#9BA1A6",
|
|
34
|
+
textPrimary: "#FAFAF9",
|
|
35
|
+
textSecondary: "#A8A29E",
|
|
35
36
|
textMuted: "#6F767E",
|
|
36
37
|
textDisabled: "#4A4D50",
|
|
37
38
|
placeholder: "#6F767E",
|
|
38
|
-
buttonText: "#FFFFFF",
|
|
39
39
|
tabIconDefault: "#6F767E",
|
|
40
|
-
tabIconSelected: "#
|
|
41
|
-
primary: "#
|
|
40
|
+
tabIconSelected: "#FAFAF9",
|
|
41
|
+
primary: "#FAFAF9",
|
|
42
42
|
accent: "#FFFFFF",
|
|
43
|
-
link: "#
|
|
43
|
+
link: "#FAFAF9",
|
|
44
44
|
success: "#30D158",
|
|
45
45
|
warning: "#FF9F0A",
|
|
46
46
|
error: "#FF453A",
|
|
47
47
|
info: "#64D2FF",
|
|
48
|
-
backgroundRoot: "#
|
|
48
|
+
backgroundRoot: "#0C0A09",
|
|
49
49
|
backgroundDefault: "#1C1C1E",
|
|
50
50
|
backgroundSecondary: "#2C2C2E",
|
|
51
51
|
backgroundTertiary: "#3A3A3C",
|
|
@@ -54,6 +54,10 @@ export const Colors = {
|
|
|
54
54
|
divider: "#2C2C2E",
|
|
55
55
|
overlay: "rgba(0, 0, 0, 0.6)",
|
|
56
56
|
chartBackground: "rgba(28, 28, 30, 0.5)",
|
|
57
|
+
buttonPrimaryBackground: "#FAFAF9",
|
|
58
|
+
buttonPrimaryText: "#0C0A09",
|
|
59
|
+
buttonSecondaryBackground: "#2C2C2E",
|
|
60
|
+
buttonSecondaryText: "#FAFAF9",
|
|
57
61
|
},
|
|
58
62
|
};
|
|
59
63
|
|
|
@@ -509,7 +513,7 @@ export const createThemedStyles = (theme: Theme) => {
|
|
|
509
513
|
...CommonStyles.scrollContent,
|
|
510
514
|
},
|
|
511
515
|
text: {
|
|
512
|
-
color: theme.
|
|
516
|
+
color: theme.textPrimary,
|
|
513
517
|
},
|
|
514
518
|
textPrimary: {
|
|
515
519
|
color: theme.textPrimary,
|
|
@@ -533,7 +537,7 @@ export const createThemedStyles = (theme: Theme) => {
|
|
|
533
537
|
color: theme.info,
|
|
534
538
|
},
|
|
535
539
|
textButton: {
|
|
536
|
-
color: theme.
|
|
540
|
+
color: theme.buttonPrimaryText,
|
|
537
541
|
},
|
|
538
542
|
avatar: {
|
|
539
543
|
...CommonStyles.avatar,
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { useEffect, useState } from 'react';
|
|
2
|
+
import { ColorSchemeName, useColorScheme as useReactNativeColorScheme, Platform } from 'react-native';
|
|
3
|
+
|
|
4
|
+
export function useColorScheme() {
|
|
5
|
+
const systemColorScheme = useReactNativeColorScheme();
|
|
6
|
+
const [colorScheme, setColorScheme] = useState<ColorSchemeName>(systemColorScheme);
|
|
7
|
+
|
|
8
|
+
useEffect(() => {
|
|
9
|
+
setColorScheme(systemColorScheme);
|
|
10
|
+
}, [systemColorScheme])
|
|
11
|
+
|
|
12
|
+
useEffect(() => {
|
|
13
|
+
function handleMessage(e: MessageEvent<{ event: string; colorScheme: ColorSchemeName; } | undefined>) {
|
|
14
|
+
if (e.data?.event === 'coze.workbench.colorScheme') {
|
|
15
|
+
const cs = e.data.colorScheme;
|
|
16
|
+
if (typeof cs === 'string') {
|
|
17
|
+
setColorScheme(cs);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
if (Platform.OS === 'web') {
|
|
23
|
+
window.addEventListener('message', handleMessage, false);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
return () => {
|
|
27
|
+
if (Platform.OS === 'web') {
|
|
28
|
+
window.removeEventListener('message', handleMessage, false);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}, []);
|
|
32
|
+
|
|
33
|
+
return colorScheme;
|
|
34
|
+
}
|
|
@@ -24,8 +24,6 @@
|
|
|
24
24
|
"@react-native-picker/picker": "^2.11.0",
|
|
25
25
|
"@react-navigation/bottom-tabs": "^7.2.0",
|
|
26
26
|
"@react-navigation/native": "^7.0.14",
|
|
27
|
-
"babel-plugin-module-resolver": "^5.0.2",
|
|
28
|
-
"babel-preset-expo": "^54.0.9",
|
|
29
27
|
"dayjs": "^1.11.19",
|
|
30
28
|
"expo": "^54.0.7",
|
|
31
29
|
"expo-auth-session": "^7.0.9",
|
|
@@ -40,6 +38,7 @@
|
|
|
40
38
|
"expo-linear-gradient": "~15.0.6",
|
|
41
39
|
"expo-linking": "~8.0.7",
|
|
42
40
|
"expo-location": "~19.0.7",
|
|
41
|
+
"expo-image": "^3.0.11",
|
|
43
42
|
"expo-router": "~6.0.0",
|
|
44
43
|
"expo-splash-screen": "~31.0.8",
|
|
45
44
|
"expo-status-bar": "~3.0.7",
|
|
@@ -65,6 +64,8 @@
|
|
|
65
64
|
},
|
|
66
65
|
"devDependencies": {
|
|
67
66
|
"@babel/core": "^7.25.2",
|
|
67
|
+
"babel-plugin-module-resolver": "^5.0.2",
|
|
68
|
+
"babel-preset-expo": "^54.0.9",
|
|
68
69
|
"@eslint/js": "^9.27.0",
|
|
69
70
|
"@types/jest": "^29.5.12",
|
|
70
71
|
"@types/react": "~19.1.0",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { View, Text } from 'react-native';
|
|
2
|
+
import { Image } from 'expo-image';
|
|
3
|
+
|
|
4
|
+
import { useTheme } from '@/hooks/useTheme';
|
|
5
|
+
import { Screen } from '@/components/Screen';
|
|
6
|
+
import { styles } from './styles';
|
|
7
|
+
|
|
8
|
+
export default function DemoPage() {
|
|
9
|
+
const { theme, isDark } = useTheme();
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<Screen backgroundColor={theme.backgroundRoot} statusBarStyle={isDark ? 'light' : 'dark'}>
|
|
13
|
+
<View
|
|
14
|
+
style={styles.container}
|
|
15
|
+
>
|
|
16
|
+
<Image
|
|
17
|
+
style={styles.logo}
|
|
18
|
+
source="https://lf-coze-web-cdn.coze.cn/obj/eden-cn/lm-lgvj/ljhwZthlaukjlkulzlp/coze-coding/expo/coze-loading.gif"
|
|
19
|
+
></Image>
|
|
20
|
+
<Text style={{...styles.title, color: theme.textPrimary}}>APP 开发中</Text>
|
|
21
|
+
<Text style={{...styles.description, color: theme.textSecondary}}>即将为您呈现应用界面</Text>
|
|
22
|
+
</View>
|
|
23
|
+
</Screen>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Spacing } from '@/constants/theme';
|
|
2
|
+
import { StyleSheet } from 'react-native';
|
|
3
|
+
|
|
4
|
+
export const styles = StyleSheet.create({
|
|
5
|
+
container: {
|
|
6
|
+
position: 'absolute',
|
|
7
|
+
top: 0,
|
|
8
|
+
left: 0,
|
|
9
|
+
width: '100%',
|
|
10
|
+
height: '100%',
|
|
11
|
+
display: 'flex',
|
|
12
|
+
flexDirection: 'column',
|
|
13
|
+
alignItems: 'center',
|
|
14
|
+
justifyContent: 'center',
|
|
15
|
+
},
|
|
16
|
+
logo: {
|
|
17
|
+
width: 130,
|
|
18
|
+
height: 109,
|
|
19
|
+
},
|
|
20
|
+
title: {
|
|
21
|
+
fontSize: 16,
|
|
22
|
+
fontWeight: 'bold',
|
|
23
|
+
},
|
|
24
|
+
description: {
|
|
25
|
+
fontSize: 14,
|
|
26
|
+
marginTop: Spacing.sm,
|
|
27
|
+
},
|
|
28
|
+
});
|
|
@@ -1,109 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "expo-express-monorepo",
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "0.0.0",
|
|
5
|
-
"main": "expo-router/entry",
|
|
6
5
|
"scripts": {
|
|
7
6
|
"dev": "bash .cozeproj/scripts/dev_run.sh",
|
|
8
7
|
"build": "bash .cozeproj/scripts/prod_build.sh",
|
|
9
8
|
"start": "bash .cozeproj/scripts/prod_run.sh",
|
|
10
|
-
"
|
|
11
|
-
"preinstall": "npx only-allow pnpm",
|
|
12
|
-
"lint": "expo lint",
|
|
13
|
-
"test": "jest --watchAll"
|
|
14
|
-
},
|
|
15
|
-
"jest": {
|
|
16
|
-
"preset": "jest-expo"
|
|
17
|
-
},
|
|
18
|
-
"dependencies": {
|
|
19
|
-
"@aws-sdk/client-s3": "^3.958.0",
|
|
20
|
-
"@aws-sdk/lib-storage": "^3.958.0",
|
|
21
|
-
"@expo/metro-runtime": "^6.1.2",
|
|
22
|
-
"@expo/vector-icons": "^15.0.0",
|
|
23
|
-
"@react-native-async-storage/async-storage": "^2.2.0",
|
|
24
|
-
"@react-native-community/datetimepicker": "^8.5.0",
|
|
25
|
-
"@react-native-community/slider": "^5.0.1",
|
|
26
|
-
"@react-native-masked-view/masked-view": "^0.3.2",
|
|
27
|
-
"@react-native-picker/picker": "^2.11.0",
|
|
28
|
-
"@react-navigation/bottom-tabs": "^7.2.0",
|
|
29
|
-
"@react-navigation/native": "^7.0.14",
|
|
30
|
-
"ajv": "^8.17.1",
|
|
31
|
-
"ajv-formats": "^3.0.1",
|
|
32
|
-
"babel-plugin-module-resolver": "^5.0.2",
|
|
33
|
-
"babel-preset-expo": "^54.0.9",
|
|
34
|
-
"connect": "^3.7.0",
|
|
35
|
-
"coze-coding-dev-sdk": "^0.5.5",
|
|
36
|
-
"dayjs": "^1.11.19",
|
|
37
|
-
"drizzle-kit": "^0.31.8",
|
|
38
|
-
"drizzle-orm": "^0.45.1",
|
|
39
|
-
"drizzle-zod": "^0.8.3",
|
|
40
|
-
"expo": "^54.0.7",
|
|
41
|
-
"expo-auth-session": "^7.0.9",
|
|
42
|
-
"expo-av": "~16.0.6",
|
|
43
|
-
"expo-blur": "~15.0.6",
|
|
44
|
-
"expo-camera": "~17.0.10",
|
|
45
|
-
"expo-constants": "~18.0.8",
|
|
46
|
-
"expo-crypto": "^15.0.7",
|
|
47
|
-
"expo-font": "~14.0.7",
|
|
48
|
-
"expo-haptics": "~15.0.6",
|
|
49
|
-
"expo-image-picker": "~17.0.7",
|
|
50
|
-
"expo-linear-gradient": "~15.0.6",
|
|
51
|
-
"expo-linking": "~8.0.7",
|
|
52
|
-
"expo-location": "~19.0.7",
|
|
53
|
-
"expo-router": "~6.0.0",
|
|
54
|
-
"expo-splash-screen": "~31.0.8",
|
|
55
|
-
"expo-status-bar": "~3.0.7",
|
|
56
|
-
"expo-symbols": "~1.0.6",
|
|
57
|
-
"expo-system-ui": "~6.0.9",
|
|
58
|
-
"expo-web-browser": "~15.0.10",
|
|
59
|
-
"express": "^4.22.1",
|
|
60
|
-
"http-proxy-middleware": "^3.0.5",
|
|
61
|
-
"multer": "^2.0.2",
|
|
62
|
-
"pg": "^8.16.3",
|
|
63
|
-
"react": "19.1.0",
|
|
64
|
-
"react-dom": "19.1.0",
|
|
65
|
-
"react-native": "0.81.5",
|
|
66
|
-
"react-native-chart-kit": "^6.12.0",
|
|
67
|
-
"react-native-gesture-handler": "~2.28.0",
|
|
68
|
-
"react-native-keyboard-aware-scroll-view": "^0.9.5",
|
|
69
|
-
"react-native-modal-datetime-picker": "18.0.0",
|
|
70
|
-
"react-native-reanimated": "~4.1.0",
|
|
71
|
-
"react-native-safe-area-context": "~5.6.0",
|
|
72
|
-
"react-native-screens": "~4.16.0",
|
|
73
|
-
"react-native-svg": "15.15.0",
|
|
74
|
-
"react-native-toast-message": "^2.3.3",
|
|
75
|
-
"react-native-web": "^0.21.2",
|
|
76
|
-
"react-native-webview": "~13.15.0",
|
|
77
|
-
"react-native-worklets": "0.5.1",
|
|
78
|
-
"zod": "^4.2.1"
|
|
79
|
-
},
|
|
80
|
-
"devDependencies": {
|
|
81
|
-
"@babel/core": "^7.25.2",
|
|
82
|
-
"@eslint/js": "^9.27.0",
|
|
83
|
-
"@types/express": "^5.0.6",
|
|
84
|
-
"@types/jest": "^29.5.12",
|
|
85
|
-
"@types/multer": "^2.0.0",
|
|
86
|
-
"@types/pg": "^8.16.0",
|
|
87
|
-
"@types/react": "~19.1.0",
|
|
88
|
-
"@types/react-test-renderer": "19.1.0",
|
|
89
|
-
"chalk": "^4.1.2",
|
|
90
|
-
"depcheck": "^1.4.7",
|
|
91
|
-
"esbuild": "0.27.2",
|
|
92
|
-
"eslint": "^9.39.2",
|
|
93
|
-
"eslint-formatter-compact": "^9.0.1",
|
|
94
|
-
"eslint-import-resolver-typescript": "^4.4.4",
|
|
95
|
-
"eslint-plugin-import": "^2.32.0",
|
|
96
|
-
"eslint-plugin-react": "^7.37.5",
|
|
97
|
-
"eslint-plugin-react-hooks": "^7.0.1",
|
|
98
|
-
"eslint-plugin-regexp": "^2.10.0",
|
|
99
|
-
"globals": "^16.1.0",
|
|
100
|
-
"jest": "^29.2.1",
|
|
101
|
-
"jest-expo": "~54.0.10",
|
|
102
|
-
"react-test-renderer": "19.1.0",
|
|
103
|
-
"tsx": "^4.21.0",
|
|
104
|
-
"typescript": "^5.8.3",
|
|
105
|
-
"typescript-eslint": "^8.32.1"
|
|
9
|
+
"preinstall": "npx only-allow pnpm"
|
|
106
10
|
},
|
|
11
|
+
"dependencies": {},
|
|
12
|
+
"devDependencies": {},
|
|
107
13
|
"packageManager": "pnpm@9.0.0",
|
|
108
14
|
"engines": {
|
|
109
15
|
"pnpm": ">=9.0.0"
|