@fto-consult/expo-ui 5.10.2 → 5.11.1
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
CHANGED
|
@@ -16,30 +16,6 @@ module.exports = (opts)=>{
|
|
|
16
16
|
const cpath = fs.existsSync(euCommon)? path.resolve(euCommon,"babel.config.alias") : "@fto-consult/common/babel.config.alias";
|
|
17
17
|
const r = require(`${cpath}`)(opts);
|
|
18
18
|
const expo = path.resolve(expoUI,"src");
|
|
19
|
-
|
|
20
|
-
/**** package json */
|
|
21
|
-
const packagePath = path.resolve(base,"package.json");
|
|
22
|
-
const configPath = path.resolve(expo,"app.config.json");
|
|
23
|
-
if(fs.existsSync(packagePath)){
|
|
24
|
-
try {
|
|
25
|
-
const packageObj = require(`${packagePath}`);
|
|
26
|
-
if(typeof packageObj.name =="string"){
|
|
27
|
-
packageObj.name = packageObj.name.toUpperCase();
|
|
28
|
-
}
|
|
29
|
-
if(packageObj){
|
|
30
|
-
["scripts","private","main","repository","keywords","bugs","dependencies","devDependencies"].map(v=>{
|
|
31
|
-
delete packageObj[v];
|
|
32
|
-
})
|
|
33
|
-
fs.writeFileSync(configPath,JSON.stringify(packageObj,null,"\t"));
|
|
34
|
-
}
|
|
35
|
-
} catch (e){
|
|
36
|
-
console.log(e," writing file sync on package JSON, file : $common/babel.config.alias")
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
if(fs.existsSync(configPath)){
|
|
40
|
-
r["$package.json"] = r["$packageJSON"] = configPath;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
19
|
r["$ecomponents"] = r["$expo-components"] = path.resolve(expo,"components");
|
|
44
20
|
r["$econfirm"] = path.resolve(r["$expo-components"],"Dialog","confirm");
|
|
45
21
|
r["$confirm"] = r["$confirm"] || r["$econfirm"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fto-consult/expo-ui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.11.1",
|
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@emotion/native": "^11.11.0",
|
|
62
62
|
"@expo/html-elements": "^0.2.0",
|
|
63
63
|
"@expo/vector-icons": "^13.0.0",
|
|
64
|
-
"@fto-consult/common": "^3.
|
|
64
|
+
"@fto-consult/common": "^3.17.0",
|
|
65
65
|
"@gorhom/portal": "^1.0.14",
|
|
66
66
|
"@react-native-async-storage/async-storage": "^1.17.11",
|
|
67
67
|
"@react-native-community/datetimepicker": "^6.7.3",
|