@coze-arch/cli 0.0.1-alpha.704fa1 → 0.0.1-alpha.77c276

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.
@@ -0,0 +1,71 @@
1
+ import { ExpoConfig, ConfigContext } from 'expo/config';
2
+
3
+ export default ({ config }: ConfigContext): ExpoConfig => {
4
+ return {
5
+ ...config,
6
+ "name": "${app_name}",
7
+ "slug": "${slug}",
8
+ "version": "1.0.0",
9
+ "orientation": "portrait",
10
+ "icon": "./assets/images/icon.png",
11
+ "scheme": "myapp",
12
+ "userInterfaceStyle": "automatic",
13
+ "newArchEnabled": true,
14
+ "ios": {
15
+ "supportsTablet": true
16
+ },
17
+ "android": {
18
+ "adaptiveIcon": {
19
+ "foregroundImage": "./assets/images/adaptive-icon.png",
20
+ "backgroundColor": "#ffffff"
21
+ }
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
+ ],
67
+ "experiments": {
68
+ "typedRoutes": true
69
+ }
70
+ }
71
+ }
package/lib/cli.js CHANGED
@@ -1741,7 +1741,7 @@ const registerCommand = program => {
1741
1741
  });
1742
1742
  };
1743
1743
 
1744
- var version = "0.0.1-alpha.704fa1";
1744
+ var version = "0.0.1-alpha.77c276";
1745
1745
  var packageJson = {
1746
1746
  version: version};
1747
1747
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coze-arch/cli",
3
- "version": "0.0.1-alpha.704fa1",
3
+ "version": "0.0.1-alpha.77c276",
4
4
  "private": false,
5
5
  "description": "coze coding devtools cli",
6
6
  "license": "MIT",
@@ -1,63 +0,0 @@
1
- {
2
- "expo": {
3
- "name": "${app_name}",
4
- "slug": "${slug}",
5
- "version": "1.0.0",
6
- "orientation": "portrait",
7
- "icon": "./assets/images/icon.png",
8
- "scheme": "myapp",
9
- "userInterfaceStyle": "automatic",
10
- "newArchEnabled": true,
11
- "ios": {
12
- "supportsTablet": true
13
- },
14
- "android": {
15
- "adaptiveIcon": {
16
- "foregroundImage": "./assets/images/adaptive-icon.png",
17
- "backgroundColor": "#ffffff"
18
- }
19
- },
20
- "web": {
21
- "bundler": "metro",
22
- "output": "single",
23
- "favicon": "./assets/images/favicon.png"
24
- },
25
- "plugins": [
26
- "expo-router",
27
- [
28
- "expo-splash-screen",
29
- {
30
- "image": "./assets/images/splash-icon.png",
31
- "imageWidth": 200,
32
- "resizeMode": "contain",
33
- "backgroundColor": "#ffffff"
34
- }
35
- ],
36
- [
37
- "expo-image-picker",
38
- {
39
- "photosPermission": "允许${app_name}访问您的相册,以便您上传或保存图片。",
40
- "cameraPermission": "允许${app_name}使用您的相机,以便您直接拍摄照片上传。",
41
- "microphonePermission": "允许${app_name}访问您的麦克风,以便您拍摄带有声音的视频。"
42
- }
43
- ],
44
- [
45
- "expo-location",
46
- {
47
- "locationWhenInUsePermission": "${app_name}需要访问您的位置以提供周边服务及导航功能。"
48
- }
49
- ],
50
- [
51
- "expo-camera",
52
- {
53
- "cameraPermission": "${app_name}需要访问相机以拍摄照片和视频。",
54
- "microphonePermission": "${app_name}需要访问麦克风以录制视频声音。",
55
- "recordAudioAndroid": true
56
- }
57
- ]
58
- ],
59
- "experiments": {
60
- "typedRoutes": true
61
- }
62
- }
63
- }