@fto-consult/expo-ui 6.18.38 → 6.18.39
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.js +1 -2
- package/bin/create-app.js +3 -6
- package/package.json +3 -4
package/babel.config.js
CHANGED
|
@@ -8,10 +8,9 @@ module.exports = function(api,opts) {
|
|
|
8
8
|
//console.log(environmentPath," is envvv ",opts);
|
|
9
9
|
const path = require("path");
|
|
10
10
|
const fs = require("fs");
|
|
11
|
-
const dir = path.resolve(__dirname);
|
|
12
11
|
typeof api.cache =='function' && api.cache(true);
|
|
13
12
|
const inlineDovOptions = { unsafe: true};
|
|
14
|
-
const options = {
|
|
13
|
+
const options = {...opts,platform:"expo"};
|
|
15
14
|
const environmentPath = require("./copy-env-file")();
|
|
16
15
|
if(fs.existsSync(environmentPath)){
|
|
17
16
|
inlineDovOptions.path ='./.env';
|
package/bin/create-app.js
CHANGED
|
@@ -14,13 +14,10 @@ module.exports = function(parsedArgs,{projectRoot}){
|
|
|
14
14
|
return thowError(name," nom de l'application invalide, veuillez spécifier un nom d'application valide");
|
|
15
15
|
}
|
|
16
16
|
const devDpendencies = packageObj.devDependencies;
|
|
17
|
-
const deps = devDpendencies && typeof devDpendencies =="object" && Object.keys(devDpendencies).join(" ");
|
|
17
|
+
const deps = devDpendencies && typeof devDpendencies =="object" && Object.keys(devDpendencies).join(" ") || "";
|
|
18
18
|
new Promise((resolve,reject)=>{
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
return exec(`npm i -D ${deps}`).then(resolve).catch(reject);
|
|
22
|
-
}
|
|
23
|
-
return resolve({});
|
|
19
|
+
console.log("installing dev dependencies ....");
|
|
20
|
+
return exec(`npm i -D @expo/webpack-config @expo/metro-config ${typeof deps=="string" && deps||""}`).then(resolve).catch(reject);
|
|
24
21
|
}).then(()=>{}).finally(()=>{
|
|
25
22
|
console.log("creating application .....");
|
|
26
23
|
createEntryFile(projectRoot);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fto-consult/expo-ui",
|
|
3
|
-
"version": "6.18.
|
|
3
|
+
"version": "6.18.39",
|
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"fix-dependencies": "expo-cli doctor --fix-dependencies",
|
|
42
42
|
"delete-node-modules": "rimraf ./**/node_modules",
|
|
43
43
|
"modifier-url-remote-git": "git remote set-url origin 'https://borispipo@github.com/borispipo/smart-eneo.git'",
|
|
44
|
-
"update": "npm i expo @emotion/native@latest react-native-big-list@latest apexcharts@latest file-saver@latest fs-extra@latest google-libphonenumber@latest @pchmn/expo-material3-theme@latest @gorhom/portal@latest @emotion/native@latest @fto-consult/common@latest react-native-blob-util react-native-gesture-handler@latest react-native-iphone-x-helper@latest react-native-mime-types@latest react-native-paper@latest react-native-safe-area-context@latest react-native-paper-dates@latest @react-navigation/native@latest @react-navigation/native-stack@latest react-native-screens@latest react-virtuoso@latest
|
|
44
|
+
"update": "npm i expo @emotion/native@latest react-native-big-list@latest apexcharts@latest file-saver@latest fs-extra@latest google-libphonenumber@latest @pchmn/expo-material3-theme@latest @gorhom/portal@latest @emotion/native@latest @fto-consult/common@latest react-native-blob-util react-native-gesture-handler@latest react-native-iphone-x-helper@latest react-native-mime-types@latest react-native-paper@latest react-native-safe-area-context@latest react-native-paper-dates@latest @react-navigation/native@latest @react-navigation/native-stack@latest react-native-screens@latest react-virtuoso@latest tippy.js@latest websql@latest xlsx@latest && npx expo install --fix"
|
|
45
45
|
},
|
|
46
46
|
"bin": {
|
|
47
47
|
"expo-ui": "./bin/index.js"
|
|
@@ -115,8 +115,7 @@
|
|
|
115
115
|
"xlsx": "^0.18.5"
|
|
116
116
|
},
|
|
117
117
|
"devDependencies": {
|
|
118
|
-
"@expo/metro-config": "
|
|
119
|
-
"@expo/webpack-config": "^18.1.2",
|
|
118
|
+
"@expo/metro-config": "latest",
|
|
120
119
|
"babel-plugin-inline-dotenv": "^1.7.0",
|
|
121
120
|
"babel-plugin-module-resolver": "^5.0.0"
|
|
122
121
|
}
|