@fto-consult/expo-ui 8.26.0 → 8.27.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/App.js +1 -1
- package/bin/create-app/dependencies.js +4 -4
- package/bin/create-app.js +0 -1
- package/bin/update.js +19 -17
- package/package.json +5 -5
- package/src/components/Chart/appexChart/appexChart.html +4 -4
- package/src/components/Datagrid/Common/utils.js +1 -1
- package/src/components/Datagrid/SWRDatagrid.js +2 -1
- package/src/components/Logo/Logo.js +6 -3
- package/src/screens/Help/openLibraries.js +96 -109
package/bin/create-app/App.js
CHANGED
@@ -8,7 +8,7 @@ import Logo from "$ecomponents/Logo";
|
|
8
8
|
import drawerSections from "$navigation/drawerSections";
|
9
9
|
import TableDataListScreen from "$screens/TableData/TableDataListScreen";
|
10
10
|
import TableDataScreen from "$screens/TableData/TableDataScreen";
|
11
|
-
import Notifications from "$
|
11
|
+
import Notifications from "$components/Notifications";
|
12
12
|
import auth from "$src/auth";
|
13
13
|
|
14
14
|
export default function AppMainEntry(){
|
@@ -11,8 +11,8 @@ module.exports = {
|
|
11
11
|
"@react-navigation/native-stack": "^6.9.17",
|
12
12
|
"@react-navigation/stack": "^6.3.20",
|
13
13
|
"@shopify/flash-list": "1.6.3",
|
14
|
-
"expo": "
|
15
|
-
"expo-camera": "~14.0.
|
14
|
+
"expo": "^50.0.7",
|
15
|
+
"expo-camera": "~14.0.5",
|
16
16
|
"expo-clipboard": "~5.0.1",
|
17
17
|
"expo-font": "~11.10.2",
|
18
18
|
"expo-image-picker": "~14.7.1",
|
@@ -22,8 +22,8 @@ module.exports = {
|
|
22
22
|
"expo-status-bar": "~1.11.1",
|
23
23
|
"expo-system-ui": "~2.9.3",
|
24
24
|
"expo-web-browser": "~12.8.2",
|
25
|
-
"react":"18.2.0",
|
26
|
-
"react-native": "0.73.
|
25
|
+
"react": "18.2.0",
|
26
|
+
"react-native": "0.73.4",
|
27
27
|
"react-native-safe-area-context": "4.8.2",
|
28
28
|
"react-native-screens": "~3.29.0",
|
29
29
|
"react-native-svg": "14.1.0",
|
package/bin/create-app.js
CHANGED
@@ -75,7 +75,6 @@ module.exports = function(appName,{projectRoot:root}){
|
|
75
75
|
});
|
76
76
|
createAPPJSONFile(projectRoot,{...mainPackage,name});
|
77
77
|
createEntryFile(projectRoot);
|
78
|
-
console.log(projectRoot," is project root");
|
79
78
|
copy(path.resolve(getAppDir(),"src"),path.resolve(projectRoot,"src"),{recursive:true,overwrite:false});
|
80
79
|
console.log("installing dependencies ...");
|
81
80
|
return new Promise((resolve,reject)=>{
|
package/bin/update.js
CHANGED
@@ -22,26 +22,28 @@ if(fs.existsSync(mainJSONPath)){
|
|
22
22
|
const script = filteredDeps.join(" ");
|
23
23
|
exec(`npm install expo`,{projectRoot}).finally(()=>{
|
24
24
|
exec(`npx expo install ${script} --fix`,{projectRoot}).finally((i)=>{
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
hasChanged
|
25
|
+
exec(`npm install`,{projectRoot}).finally(()=>{
|
26
|
+
const newPackageJS = JSON.parse(fs.readFileSync(mainJSONPath));
|
27
|
+
let hasChanged = false;
|
28
|
+
if(newPackageJS?.dependencies && typeof newPackageJS?.dependencies =="object"){
|
29
|
+
for(let i in dependencies){
|
30
|
+
const old = dependencies[i];
|
31
|
+
dependencies[i] = newPackageJS?.dependencies[i] || dependencies[i];
|
32
|
+
if(!hasChanged && dependencies[i] !== old){
|
33
|
+
hasChanged = true;
|
34
|
+
}
|
33
35
|
}
|
34
36
|
}
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
37
|
+
if(hasChanged){
|
38
|
+
try {
|
39
|
+
writeFile(dependenciesPath,`
|
40
|
+
module.exports = ${JSON.stringify(dependencies,null,"\t")};
|
41
|
+
`)
|
42
|
+
} catch(e){
|
43
|
+
console.log(e," is generated error");
|
44
|
+
}
|
43
45
|
}
|
44
|
-
}
|
46
|
+
})
|
45
47
|
});
|
46
48
|
})
|
47
49
|
} else {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fto-consult/expo-ui",
|
3
|
-
"version": "8.
|
3
|
+
"version": "8.27.0",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
5
|
"scripts": {
|
6
6
|
"clear-npx-cache": "npx clear-npx-cache",
|
@@ -69,8 +69,8 @@
|
|
69
69
|
"@emotion/react": "^11.11.1",
|
70
70
|
"@faker-js/faker": "^8.0.2",
|
71
71
|
"@fto-consult/common": "^4.27.1",
|
72
|
-
"@fto-consult/node-utils": "^1.
|
73
|
-
"apexcharts": "^3.
|
72
|
+
"@fto-consult/node-utils": "^1.5.1",
|
73
|
+
"apexcharts": "^3.46.0",
|
74
74
|
"crypto-browserify": "^3.12.0",
|
75
75
|
"file-saver": "^2.0.5",
|
76
76
|
"google-libphonenumber": "^3.2.34",
|
@@ -85,9 +85,9 @@
|
|
85
85
|
"react-native-iphone-x-helper": "^1.3.1",
|
86
86
|
"react-native-mime-types": "^2.4.0",
|
87
87
|
"react-native-paper": "^5.12.3",
|
88
|
-
"react-native-paper-dates": "^0.21.
|
88
|
+
"react-native-paper-dates": "^0.21.9",
|
89
89
|
"react-native-web": "^0.19.10",
|
90
|
-
"react-virtuoso": "^4.
|
90
|
+
"react-virtuoso": "^4.7.0",
|
91
91
|
"readable-stream": "^4.5.2",
|
92
92
|
"sanitize-filename": "^1.6.3",
|
93
93
|
"sharp-cli": "^2.1.0",
|