@fto-consult/expo-ui 8.25.18 → 8.26.0
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/devDependencies.js +7 -0
- package/bin/index.js +6 -0
- package/bin/install.js +14 -0
- package/package.json +1 -1
- package/src/screens/Help/openLibraries.js +7 -17
package/bin/index.js
CHANGED
@@ -38,6 +38,12 @@ program.command('generate-getTable')
|
|
38
38
|
.action((src, options) => {
|
39
39
|
require("./update");
|
40
40
|
});
|
41
|
+
|
42
|
+
program.command('install')
|
43
|
+
.description('permet d\'installer les dépendences expo-ui de l\'application')
|
44
|
+
.action((src, options) => {
|
45
|
+
require("./install");
|
46
|
+
});
|
41
47
|
|
42
48
|
|
43
49
|
program.parse();
|
package/bin/install.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
const fs = require("fs");
|
2
|
+
const projectRoot = process.cwd();
|
3
|
+
const {exec,writeFile} = require("@fto-consult/node-utils");
|
4
|
+
const dependencies = require("./create-app/dependencies");
|
5
|
+
const scripts = Object.keys(dependencies).join(" ");
|
6
|
+
const devDependencies = require("./create-app/devDependencies").join(" ");
|
7
|
+
|
8
|
+
exec(`npm install expo @fto-consult/expo-ui@latest`,{projectRoot}).finally(()=>{
|
9
|
+
exec(`npx expo install ${scripts} --fix`,{projectRoot}).finally((i)=>{
|
10
|
+
exec(`npm install -D ${devDependencies}`,{projectRoot}).then((i)=>{
|
11
|
+
console.log("packages installés avec succès!!");
|
12
|
+
});
|
13
|
+
});
|
14
|
+
})
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module.exports = {
|
2
2
|
"@fto-consult/expo-ui": {
|
3
|
-
"version": "8.25.
|
3
|
+
"version": "8.25.18",
|
4
4
|
"url": "https://github.com/borispipo/expo-ui#readme",
|
5
5
|
"license": "ISC"
|
6
6
|
},
|
@@ -15,7 +15,7 @@ module.exports = {
|
|
15
15
|
"license": "MIT"
|
16
16
|
},
|
17
17
|
"@expo/html-elements": {
|
18
|
-
"version": "0.
|
18
|
+
"version": "0.9.1",
|
19
19
|
"url": "https://github.com/expo/expo/tree/main/packages/html-elements",
|
20
20
|
"license": "MIT"
|
21
21
|
},
|
@@ -39,33 +39,28 @@ module.exports = {
|
|
39
39
|
"url": "https://github.com/pchmn/expo-material3-theme#readme",
|
40
40
|
"license": "MIT"
|
41
41
|
},
|
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
42
|
"@react-native-community/netinfo": {
|
48
43
|
"version": "11.1.0",
|
49
44
|
"url": "https://github.com/react-native-netinfo/react-native-netinfo#readme",
|
50
45
|
"license": "MIT"
|
51
46
|
},
|
52
47
|
"@react-native/assets-registry": {
|
53
|
-
"version": "0.
|
54
|
-
"url": "
|
48
|
+
"version": "0.74.0",
|
49
|
+
"url": "https://github.com/facebook/react-native/tree/HEAD/packages/assets#readme",
|
55
50
|
"license": "MIT"
|
56
51
|
},
|
57
52
|
"@react-navigation/native": {
|
58
|
-
"version": "6.1.
|
53
|
+
"version": "6.1.10",
|
59
54
|
"url": "https://reactnavigation.org",
|
60
55
|
"license": "MIT"
|
61
56
|
},
|
62
57
|
"@react-navigation/native-stack": {
|
63
|
-
"version": "6.9.
|
58
|
+
"version": "6.9.18",
|
64
59
|
"url": "https://github.com/software-mansion/react-native-screens#readme",
|
65
60
|
"license": "MIT"
|
66
61
|
},
|
67
62
|
"@react-navigation/stack": {
|
68
|
-
"version": "6.3.
|
63
|
+
"version": "6.3.21",
|
69
64
|
"url": "https://reactnavigation.org/docs/stack-navigator/",
|
70
65
|
"license": "MIT"
|
71
66
|
},
|
@@ -187,10 +182,5 @@ module.exports = {
|
|
187
182
|
"version": "13.6.4",
|
188
183
|
"url": "https://github.com/react-native-webview/react-native-webview#readme",
|
189
184
|
"license": "MIT"
|
190
|
-
},
|
191
|
-
"socket.io-client": {
|
192
|
-
"version": "4.7.4",
|
193
|
-
"url": "https://github.com/socketio/socket.io-client.git",
|
194
|
-
"license": "MIT"
|
195
185
|
}
|
196
186
|
};
|