@fto-consult/expo-ui 6.37.4 → 6.37.5
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/App.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fto-consult/expo-ui",
|
3
|
-
"version": "6.37.
|
3
|
+
"version": "6.37.4",
|
4
4
|
"lockfileVersion": 3,
|
5
5
|
"requires": true,
|
6
6
|
"packages": {
|
@@ -3667,9 +3667,9 @@
|
|
3667
3667
|
"integrity": "sha512-59SgoZ3EXbkfSX7b63tsou/SDGzwUEK6MuB5sKqgVK1/XE0fxmpsOb9DQI8LXW3KfGnAjImCGhhEb7uPPAUVNA=="
|
3668
3668
|
},
|
3669
3669
|
"node_modules/@fto-consult/common": {
|
3670
|
-
"version": "3.36.
|
3671
|
-
"resolved": "https://registry.npmjs.org/@fto-consult/common/-/common-3.36.
|
3672
|
-
"integrity": "sha512-
|
3670
|
+
"version": "3.36.2",
|
3671
|
+
"resolved": "https://registry.npmjs.org/@fto-consult/common/-/common-3.36.2.tgz",
|
3672
|
+
"integrity": "sha512-ZSY4EWEFHHQm9jAZiHfzx2xiVpKHuOfCdSAqBXJbTV/WFVZn8OzR9aI66RRf/YdgrdhKn8ia1KYXpNe051N0AQ==",
|
3673
3673
|
"dependencies": {
|
3674
3674
|
"@craftzdog/pouchdb-adapter-websql-core": "^7.2.3",
|
3675
3675
|
"circular-dependency-plugin": "^5.2.2",
|
@@ -31,7 +31,24 @@ module.exports = function(opts){
|
|
31
31
|
projectRoot = projectRoot && typeof projectRoot =='string' && fs.existsSync(projectRoot) ? projectRoot : process.cwd();;
|
32
32
|
const src = path.resolve(projectRoot,"src");
|
33
33
|
const packagePath = path.resolve(projectRoot,"package.json");
|
34
|
-
const
|
34
|
+
const configPath = path.resolve(projectRoot,"comn-pkgjson.json");
|
35
|
+
if(fs.existsSync(packagePath)){
|
36
|
+
try {
|
37
|
+
const packageObj = require(`${packagePath}`);
|
38
|
+
if(typeof packageObj.name =="string"){
|
39
|
+
packageObj.name = packageObj.name.toUpperCase();
|
40
|
+
}
|
41
|
+
if(packageObj){
|
42
|
+
["scripts","private","main","repository","keywords","bugs","dependencies","devDependencies"].map(v=>{
|
43
|
+
delete packageObj[v];
|
44
|
+
})
|
45
|
+
fs.writeFileSync(configPath,JSON.stringify(packageObj,null,"\t"));
|
46
|
+
}
|
47
|
+
} catch (e){
|
48
|
+
console.log(e," writing file sync on package JSON, file : $common/babel.config.alias")
|
49
|
+
}
|
50
|
+
}
|
51
|
+
const $packageJSON = fs.existsSync(configPath) && configPath || path.resolve(common,"app","config.default.json");
|
35
52
|
const pouchdbIndex = path.resolve(common,"pouchdb",withPouchDB?"index.with-pouchdb":"index.with-no-pouchdb");
|
36
53
|
const cdataFileManager = path.resolve(common,"pouchdb","dataFileManager");
|
37
54
|
const r = {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fto-consult/expo-ui",
|
3
|
-
"version": "6.37.
|
3
|
+
"version": "6.37.5",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
5
|
"main": "node_modules/expo/AppEntry.js",
|
6
6
|
"scripts": {
|
@@ -70,8 +70,9 @@
|
|
70
70
|
"@expo/html-elements": "^0.5.1",
|
71
71
|
"@expo/vector-icons": "^13.0.0",
|
72
72
|
"@faker-js/faker": "^8.0.2",
|
73
|
-
"@fto-consult/common": "^3.36.
|
73
|
+
"@fto-consult/common": "^3.36.2",
|
74
74
|
"@pchmn/expo-material3-theme": "^1.3.1",
|
75
|
+
"@react-native-async-storage/async-storage": "1.18.2",
|
75
76
|
"@react-native-community/datetimepicker": "7.2.0",
|
76
77
|
"@react-native-community/netinfo": "9.3.10",
|
77
78
|
"@react-native/assets-registry": "^0.72.0",
|
@@ -118,8 +119,7 @@
|
|
118
119
|
"sharp-cli": "^4.1.1",
|
119
120
|
"tippy.js": "^6.3.7",
|
120
121
|
"websql": "^2.0.3",
|
121
|
-
"xlsx": "^0.18.5"
|
122
|
-
"@react-native-async-storage/async-storage": "1.18.2"
|
122
|
+
"xlsx": "^0.18.5"
|
123
123
|
},
|
124
124
|
"devDependencies": {
|
125
125
|
"@expo/metro-config": "^0.10.7",
|