@fto-consult/expo-ui 8.25.0 → 8.25.2
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/bin/create-app/metro.config.js +1 -38
- package/package.json +1 -1
- package/src/screens/Help/openLibraries.js +115 -102
@@ -1,38 +1 @@
|
|
1
|
-
|
2
|
-
const { getDefaultConfig } = require('@expo/metro-config');
|
3
|
-
module.exports = function(opts){
|
4
|
-
opts = opts && typeof opts =='object'? opts : {};
|
5
|
-
let {assetExts,sourceExts} = opts;
|
6
|
-
assetExts = Array.isArray(assetExts)? assetExts: [];
|
7
|
-
sourceExts= Array.isArray(sourceExts)?sourceExts : [];
|
8
|
-
const projectRoot = path.resolve(process.cwd());
|
9
|
-
//@see : https://docs.expo.dev/versions/latest/config/metro/
|
10
|
-
const config = getDefaultConfig(projectRoot,{});
|
11
|
-
// 2. Let Metro know where to resolve packages and in what order
|
12
|
-
const nodeModulesPaths = (Array.isArray(config.resolver.nodeModulesPaths)?config.resolver.nodeModulesPaths : []);
|
13
|
-
const nodeModulePath = path.resolve(projectRoot, 'node_modules');
|
14
|
-
if(!nodeModulesPaths.includes(nodeModulePath)){
|
15
|
-
nodeModulesPaths.unshift(nodeModulePath);
|
16
|
-
}
|
17
|
-
config.resolver.nodeModulesPaths = nodeModulesPaths;
|
18
|
-
config.projectRoot = projectRoot;
|
19
|
-
config.resolver.assetExts = [
|
20
|
-
...config.resolver.assetExts,
|
21
|
-
...assetExts,
|
22
|
-
"db",
|
23
|
-
"txt"
|
24
|
-
];
|
25
|
-
config.resolver.sourceExts = [
|
26
|
-
...config.resolver.sourceExts,
|
27
|
-
...sourceExts,"txt",
|
28
|
-
'jsx', 'js','tsx',
|
29
|
-
]
|
30
|
-
|
31
|
-
// 3. Force Metro to resolve (sub)dependencies only from the `nodeModulesPaths`
|
32
|
-
config.resolver.disableHierarchicalLookup = true;
|
33
|
-
|
34
|
-
// Remove all console logs in production...
|
35
|
-
config.transformer.minifierConfig.compress.drop_console = false;
|
36
|
-
|
37
|
-
return config;
|
38
|
-
}
|
1
|
+
module.exports = require("@fto-consult/expo-ui/metro.config");
|
package/package.json
CHANGED
@@ -1,21 +1,22 @@
|
|
1
1
|
module.exports = {
|
2
2
|
"@fto-consult/expo-ui": {
|
3
|
-
"
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"type": "git",
|
7
|
-
"url": "git+https://github.com/borispipo/expo-ui.git"
|
8
|
-
},
|
9
|
-
"homepage": "https://github.com/borispipo/expo-ui#readme"
|
3
|
+
"version": "8.25.1",
|
4
|
+
"url": "https://github.com/borispipo/expo-ui#readme",
|
5
|
+
"license": "ISC"
|
10
6
|
},
|
11
7
|
"@babel/plugin-proposal-export-namespace-from": {
|
12
8
|
"version": "7.18.9",
|
13
9
|
"url": "https://babel.dev/docs/en/next/babel-plugin-proposal-export-namespace-from",
|
14
10
|
"license": "MIT"
|
15
11
|
},
|
16
|
-
"@emotion/
|
17
|
-
"version": "11.11.
|
18
|
-
"url": "https://
|
12
|
+
"@emotion/native": {
|
13
|
+
"version": "11.11.0",
|
14
|
+
"url": "https://emotion.sh",
|
15
|
+
"license": "MIT"
|
16
|
+
},
|
17
|
+
"@expo/html-elements": {
|
18
|
+
"version": "0.5.1",
|
19
|
+
"url": "https://github.com/expo/expo/tree/main/packages/html-elements",
|
19
20
|
"license": "MIT"
|
20
21
|
},
|
21
22
|
"@expo/metro-config": {
|
@@ -23,28 +24,54 @@ module.exports = {
|
|
23
24
|
"url": "https://github.com/expo/expo.git",
|
24
25
|
"license": "MIT"
|
25
26
|
},
|
27
|
+
"@expo/vector-icons": {
|
28
|
+
"version": "14.0.0",
|
29
|
+
"url": "https://expo.github.io/vector-icons",
|
30
|
+
"license": "MIT"
|
31
|
+
},
|
26
32
|
"@expo/webpack-config": {
|
27
33
|
"version": "19.0.1",
|
28
34
|
"url": "https://github.com/expo/expo-webpack-integrations/tree/main/packages/webpack-config#readme",
|
29
35
|
"license": "MIT"
|
30
36
|
},
|
31
|
-
"@
|
32
|
-
"version": "
|
33
|
-
"url": "https://github.com/
|
37
|
+
"@pchmn/expo-material3-theme": {
|
38
|
+
"version": "1.3.2",
|
39
|
+
"url": "https://github.com/pchmn/expo-material3-theme#readme",
|
34
40
|
"license": "MIT"
|
35
41
|
},
|
36
|
-
"@
|
37
|
-
"version": "
|
38
|
-
"url": "https://github.com/
|
39
|
-
"license": "
|
42
|
+
"@react-native-async-storage/async-storage": {
|
43
|
+
"version": "1.21.0",
|
44
|
+
"url": "https://github.com/react-native-async-storage/async-storage#readme",
|
45
|
+
"license": "MIT"
|
46
|
+
},
|
47
|
+
"@react-native-community/netinfo": {
|
48
|
+
"version": "11.1.0",
|
49
|
+
"url": "https://github.com/react-native-netinfo/react-native-netinfo#readme",
|
50
|
+
"license": "MIT"
|
51
|
+
},
|
52
|
+
"@react-native/assets-registry": {
|
53
|
+
"version": "0.72.0",
|
54
|
+
"url": "git@github.com:facebook/react-native.git",
|
55
|
+
"license": "MIT"
|
56
|
+
},
|
57
|
+
"@react-navigation/native": {
|
58
|
+
"version": "6.1.9",
|
59
|
+
"url": "https://reactnavigation.org",
|
60
|
+
"license": "MIT"
|
40
61
|
},
|
41
|
-
"@
|
42
|
-
"version": "
|
62
|
+
"@react-navigation/native-stack": {
|
63
|
+
"version": "6.9.17",
|
64
|
+
"url": "https://github.com/software-mansion/react-native-screens#readme",
|
43
65
|
"license": "MIT"
|
44
66
|
},
|
45
|
-
"
|
46
|
-
"version": "3.
|
47
|
-
"url": "https://
|
67
|
+
"@react-navigation/stack": {
|
68
|
+
"version": "6.3.20",
|
69
|
+
"url": "https://reactnavigation.org/docs/stack-navigator/",
|
70
|
+
"license": "MIT"
|
71
|
+
},
|
72
|
+
"@shopify/flash-list": {
|
73
|
+
"version": "1.6.3",
|
74
|
+
"url": "https://shopify.github.io/flash-list/",
|
48
75
|
"license": "MIT"
|
49
76
|
},
|
50
77
|
"babel-plugin-inline-dotenv": {
|
@@ -57,127 +84,113 @@ module.exports = {
|
|
57
84
|
"url": "https://github.com/tleunen/babel-plugin-module-resolver.git",
|
58
85
|
"license": "MIT"
|
59
86
|
},
|
60
|
-
"
|
61
|
-
"version": "
|
62
|
-
"url": "https://github.com/
|
87
|
+
"expo": {
|
88
|
+
"version": "50.0.5",
|
89
|
+
"url": "https://github.com/expo/expo/tree/main/packages/expo",
|
63
90
|
"license": "MIT"
|
64
91
|
},
|
65
|
-
"
|
66
|
-
"version": "
|
67
|
-
"url": "https://
|
92
|
+
"expo-camera": {
|
93
|
+
"version": "14.0.3",
|
94
|
+
"url": "https://docs.expo.dev/versions/latest/sdk/camera/",
|
68
95
|
"license": "MIT"
|
69
96
|
},
|
70
|
-
"
|
71
|
-
"version": "
|
72
|
-
"url": "https://
|
73
|
-
"license": "(MIT AND Apache-2.0)"
|
74
|
-
},
|
75
|
-
"html2canvas": {
|
76
|
-
"version": "1.4.1",
|
77
|
-
"url": "https://html2canvas.hertzen.com",
|
97
|
+
"expo-clipboard": {
|
98
|
+
"version": "5.0.1",
|
99
|
+
"url": "https://docs.expo.dev/versions/latest/sdk/clipboard",
|
78
100
|
"license": "MIT"
|
79
101
|
},
|
80
|
-
"
|
81
|
-
"version": "
|
82
|
-
"url": "
|
102
|
+
"expo-font": {
|
103
|
+
"version": "11.10.2",
|
104
|
+
"url": "https://docs.expo.dev/versions/latest/sdk/font/",
|
83
105
|
"license": "MIT"
|
84
106
|
},
|
85
|
-
"
|
86
|
-
"version": "
|
107
|
+
"expo-image-picker": {
|
108
|
+
"version": "14.7.1",
|
109
|
+
"url": "https://docs.expo.dev/versions/latest/sdk/imagepicker/",
|
87
110
|
"license": "MIT"
|
88
111
|
},
|
89
|
-
"
|
90
|
-
"version": "
|
91
|
-
"url": "https://
|
112
|
+
"expo-linking": {
|
113
|
+
"version": "6.2.2",
|
114
|
+
"url": "https://docs.expo.dev/versions/latest/sdk/linking",
|
92
115
|
"license": "MIT"
|
93
116
|
},
|
94
|
-
"
|
95
|
-
"version": "
|
96
|
-
"url": "https://
|
117
|
+
"expo-sharing": {
|
118
|
+
"version": "11.10.0",
|
119
|
+
"url": "https://docs.expo.dev/versions/latest/sdk/sharing/",
|
97
120
|
"license": "MIT"
|
98
121
|
},
|
99
|
-
"
|
100
|
-
"version": "
|
101
|
-
"url": "https://
|
122
|
+
"expo-sqlite": {
|
123
|
+
"version": "13.2.2",
|
124
|
+
"url": "https://docs.expo.dev/versions/latest/sdk/sqlite/",
|
102
125
|
"license": "MIT"
|
103
126
|
},
|
104
|
-
"
|
105
|
-
"version": "
|
106
|
-
"url": "https://
|
127
|
+
"expo-status-bar": {
|
128
|
+
"version": "1.11.1",
|
129
|
+
"url": "https://docs.expo.dev/versions/latest/sdk/status-bar/",
|
107
130
|
"license": "MIT"
|
108
131
|
},
|
109
|
-
"
|
110
|
-
"version": "
|
111
|
-
"url": "https://
|
112
|
-
"license": "GPL-3.0-or-later"
|
113
|
-
},
|
114
|
-
"react-native-blob-util": {
|
115
|
-
"version": "0.19.6",
|
116
|
-
"url": "https://github.com/RonRadtke/react-native-blob-util",
|
132
|
+
"expo-system-ui": {
|
133
|
+
"version": "2.9.3",
|
134
|
+
"url": "https://docs.expo.dev/versions/latest/sdk/system-ui",
|
117
135
|
"license": "MIT"
|
118
136
|
},
|
119
|
-
"
|
120
|
-
"version": "
|
121
|
-
"url": "https://
|
137
|
+
"expo-web-browser": {
|
138
|
+
"version": "12.8.2",
|
139
|
+
"url": "https://docs.expo.dev/versions/latest/sdk/webbrowser/",
|
122
140
|
"license": "MIT"
|
123
141
|
},
|
124
|
-
"react
|
125
|
-
"version": "2.
|
142
|
+
"react": {
|
143
|
+
"version": "18.2.0",
|
144
|
+
"url": "https://reactjs.org/",
|
126
145
|
"license": "MIT"
|
127
146
|
},
|
128
|
-
"react-native
|
129
|
-
"version": "
|
130
|
-
"url": "https://
|
147
|
+
"react-native": {
|
148
|
+
"version": "0.73.2",
|
149
|
+
"url": "https://reactnative.dev/",
|
131
150
|
"license": "MIT"
|
132
151
|
},
|
133
|
-
"react-native-
|
134
|
-
"version": "
|
135
|
-
"url": "https://github.com/
|
152
|
+
"react-native-gesture-handler": {
|
153
|
+
"version": "2.14.1",
|
154
|
+
"url": "https://github.com/software-mansion/react-native-gesture-handler#readme",
|
136
155
|
"license": "MIT"
|
137
156
|
},
|
138
|
-
"react-native-
|
139
|
-
"version": "
|
140
|
-
"url": "https://github.com/eugenehp/react-native-uuid#readme",
|
157
|
+
"react-native-get-random-values": {
|
158
|
+
"version": "1.8.0",
|
141
159
|
"license": "MIT"
|
142
160
|
},
|
143
|
-
"react-native-
|
144
|
-
"version": "
|
145
|
-
"url": "
|
161
|
+
"react-native-reanimated": {
|
162
|
+
"version": "3.6.2",
|
163
|
+
"url": "https://github.com/software-mansion/react-native-reanimated#readme",
|
146
164
|
"license": "MIT"
|
147
165
|
},
|
148
|
-
"react-
|
149
|
-
"version": "4.
|
150
|
-
"url": "https://
|
166
|
+
"react-native-safe-area-context": {
|
167
|
+
"version": "4.8.2",
|
168
|
+
"url": "https://github.com/th3rdwave/react-native-safe-area-context#readme",
|
151
169
|
"license": "MIT"
|
152
170
|
},
|
153
|
-
"
|
154
|
-
"version": "
|
155
|
-
"url": "https://github.com/
|
171
|
+
"react-native-screens": {
|
172
|
+
"version": "3.29.0",
|
173
|
+
"url": "https://github.com/software-mansion/react-native-screens#readme",
|
156
174
|
"license": "MIT"
|
157
175
|
},
|
158
|
-
"
|
159
|
-
"version": "1.
|
160
|
-
"url": "
|
161
|
-
"license": "WTFPL OR ISC"
|
162
|
-
},
|
163
|
-
"sharp-cli": {
|
164
|
-
"version": "2.1.1",
|
165
|
-
"url": "https://github.com/vseventer/sharp-cli",
|
176
|
+
"react-native-svg": {
|
177
|
+
"version": "14.1.0",
|
178
|
+
"url": "https://github.com/react-native-community/react-native-svg",
|
166
179
|
"license": "MIT"
|
167
180
|
},
|
168
|
-
"
|
169
|
-
"version": "3.
|
170
|
-
"url": "https://github.com/
|
181
|
+
"react-native-view-shot": {
|
182
|
+
"version": "3.8.0",
|
183
|
+
"url": "https://github.com/gre/react-native-view-shot",
|
171
184
|
"license": "MIT"
|
172
185
|
},
|
173
|
-
"
|
174
|
-
"version": "6.
|
175
|
-
"url": "https://
|
186
|
+
"react-native-webview": {
|
187
|
+
"version": "13.6.4",
|
188
|
+
"url": "https://github.com/react-native-webview/react-native-webview#readme",
|
176
189
|
"license": "MIT"
|
177
190
|
},
|
178
|
-
"
|
179
|
-
"version": "
|
180
|
-
"url": "https://
|
181
|
-
"license": "
|
191
|
+
"socket.io-client": {
|
192
|
+
"version": "4.7.4",
|
193
|
+
"url": "https://github.com/socketio/socket.io-client.git",
|
194
|
+
"license": "MIT"
|
182
195
|
}
|
183
196
|
};
|