@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.
@@ -1,38 +1 @@
1
- const path = require("path");
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "8.25.0",
3
+ "version": "8.25.2",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "scripts": {
6
6
  "clear-npx-cache": "npx clear-npx-cache",
@@ -1,21 +1,22 @@
1
1
  module.exports = {
2
2
  "@fto-consult/expo-ui": {
3
- "name": "@fto-consult/expo-ui",
4
- "version": "8.24.0",
5
- "repository": {
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/react": {
17
- "version": "11.11.3",
18
- "url": "https://github.com/emotion-js/emotion/tree/main/packages/react",
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
- "@faker-js/faker": {
32
- "version": "8.3.1",
33
- "url": "https://github.com/faker-js/faker.git",
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
- "@fto-consult/common": {
37
- "version": "4.24.0",
38
- "url": "https://github.com/borispipo/common#readme",
39
- "license": "ISC"
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
- "@fto-consult/node-utils": {
42
- "version": "1.4.7",
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
- "apexcharts": {
46
- "version": "3.45.2",
47
- "url": "https://apexcharts.com",
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
- "crypto-browserify": {
61
- "version": "3.12.0",
62
- "url": "https://github.com/crypto-browserify/crypto-browserify",
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
- "file-saver": {
66
- "version": "2.0.5",
67
- "url": "https://github.com/eligrey/FileSaver.js#readme",
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
- "google-libphonenumber": {
71
- "version": "3.2.34",
72
- "url": "https://ruimarinho.github.io/google-libphonenumber/",
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
- "htmlparser2-without-node-native": {
81
- "version": "3.9.2",
82
- "url": "git://github.com/fb55/htmlparser2.git",
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
- "is-plain-obj": {
86
- "version": "4.1.0",
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
- "jsbarcode": {
90
- "version": "3.11.6",
91
- "url": "https://github.com/lindell/JsBarcode#readme",
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
- "prop-types": {
95
- "version": "15.8.1",
96
- "url": "https://facebook.github.io/react/",
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
- "react-content-loader": {
100
- "version": "6.2.1",
101
- "url": "https://github.com/danilowoz/react-content-loader",
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
- "react-dom": {
105
- "version": "18.2.0",
106
- "url": "https://reactjs.org/",
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
- "react-native-big-list": {
110
- "version": "1.6.1",
111
- "url": "https://marcocesarato.github.io/react-native-big-list-docs/",
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
- "react-native-iphone-x-helper": {
120
- "version": "1.3.1",
121
- "url": "https://github.com/ptelad/react-native-iphone-x-helper#readme",
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-native-mime-types": {
125
- "version": "2.4.0",
142
+ "react": {
143
+ "version": "18.2.0",
144
+ "url": "https://reactjs.org/",
126
145
  "license": "MIT"
127
146
  },
128
- "react-native-paper": {
129
- "version": "5.12.3",
130
- "url": "https://callstack.github.io/react-native-paper",
147
+ "react-native": {
148
+ "version": "0.73.2",
149
+ "url": "https://reactnative.dev/",
131
150
  "license": "MIT"
132
151
  },
133
- "react-native-paper-dates": {
134
- "version": "0.21.8",
135
- "url": "https://github.com/web-ridge/react-native-paper-dates#readme",
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-uuid": {
139
- "version": "2.0.1",
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-web": {
144
- "version": "0.19.10",
145
- "url": "git://github.com/necolas/react-native-web.git",
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-virtuoso": {
149
- "version": "4.6.3",
150
- "url": "https://virtuoso.dev/",
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
- "readable-stream": {
154
- "version": "4.5.2",
155
- "url": "https://github.com/nodejs/readable-stream",
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
- "sanitize-filename": {
159
- "version": "1.6.3",
160
- "url": "git@github.com:parshap/node-sanitize-filename.git",
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
- "stream-browserify": {
169
- "version": "3.0.0",
170
- "url": "https://github.com/browserify/stream-browserify",
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
- "tippy.js": {
174
- "version": "6.3.7",
175
- "url": "https://atomiks.github.io/tippyjs/",
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
- "xlsx": {
179
- "version": "0.18.5",
180
- "url": "https://sheetjs.com/",
181
- "license": "Apache-2.0"
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
  };