@fto-consult/expo-ui 7.6.1 → 7.6.3
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/babel.config.alias.js +1 -20
- package/package.json +2 -2
package/babel.config.alias.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
const path = require("path");
|
2
2
|
const fs = require("fs");
|
3
|
-
|
3
|
+
|
4
4
|
module.exports = (opts)=>{
|
5
5
|
const isLocalDev = require("./is-local-dev")();
|
6
6
|
const dir = path.resolve(__dirname);
|
@@ -78,16 +78,7 @@ module.exports = (opts)=>{
|
|
78
78
|
///le chemin racine du projet expo-ui
|
79
79
|
r["$expo-ui-root-path"] = r["$expo-ui-root"]= path.resolve(expo,"..");
|
80
80
|
|
81
|
-
const $assets = r.$assets;
|
82
81
|
const $electron = path.resolve(dir,"electron");
|
83
|
-
const electronPaths = {
|
84
|
-
...r,
|
85
|
-
sourceCode : r.$src,
|
86
|
-
assets : $assets,
|
87
|
-
images : r.$images,
|
88
|
-
projectRoot : projectRoot,//la racine au projet
|
89
|
-
electron : $electron,//le chemin racine electron
|
90
|
-
};
|
91
82
|
//le chemin ver le repertoire electron
|
92
83
|
r.$eelectron = r["$e-electron"] = $electron;
|
93
84
|
r.$electron = r.$electron || r.$eelectron;
|
@@ -98,16 +89,6 @@ module.exports = (opts)=>{
|
|
98
89
|
if(!r.$context){
|
99
90
|
r.$context = r.$econtext;
|
100
91
|
}
|
101
|
-
const electronAssetsPath = path.resolve(dir,"electron","assets");
|
102
|
-
if($assets){
|
103
|
-
const l1 = path.resolve($assets,"logo.png"), l2 = path.resolve($assets,"logo.png");
|
104
|
-
const logoPath = fs.existsSync(l1)? l1 : fs.existsSync(l2)? l2 : undefined;
|
105
|
-
const ePath = path.resolve(electronAssetsPath,"images","logo.png");
|
106
|
-
if(logoPath && createDir(ePath)){
|
107
|
-
fs.copyFileSync(logoPath,ePath,fs.constants.COPYFILE_FICLONE);
|
108
|
-
electronPaths.logo = logoPath;
|
109
|
-
}
|
110
|
-
}
|
111
92
|
r["$erealm"] = path.resolve(expo,'realm');
|
112
93
|
if(!r.$realm){
|
113
94
|
r.$realm = r.$erealm;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fto-consult/expo-ui",
|
3
|
-
"version": "7.6.
|
3
|
+
"version": "7.6.3",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
5
|
"scripts": {
|
6
6
|
"clear-npx-cache": "npx clear-npx-cache",
|
@@ -73,7 +73,7 @@
|
|
73
73
|
"@expo/vector-icons": "^13.0.0",
|
74
74
|
"@faker-js/faker": "^8.0.2",
|
75
75
|
"@fto-consult/common": "^3.73.10",
|
76
|
-
"@fto-consult/electron": "^1.0.
|
76
|
+
"@fto-consult/electron": "^1.0.3",
|
77
77
|
"@pchmn/expo-material3-theme": "^1.3.1",
|
78
78
|
"@react-native-async-storage/async-storage": "1.18.2",
|
79
79
|
"@react-native-community/datetimepicker": "7.2.0",
|