@fto-consult/expo-ui 6.21.18 → 6.21.20

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.
Files changed (2) hide show
  1. package/metro.config.js +3 -2
  2. package/package.json +3 -3
package/metro.config.js CHANGED
@@ -3,6 +3,7 @@ const fs = require("fs");
3
3
  const {writeFile,isObj,getDependencyVersion} = require("./electron/utils");
4
4
  const { getDefaultConfig } = require('expo/metro-config');
5
5
  module.exports = function(opts){
6
+ const isDev = 'development' === process.env.NODE_ENV;
6
7
  //const nodeModulePath = `${process.cwd()}/node_modules`;
7
8
  //const mConfigPath = fs.existsSync(`${nodeModulePath}/@expo/metro-config`) && `${nodeModulePath}/@expo/metro-config` || "@expo/metro-config";
8
9
  //const { getDefaultConfig } = require(`${mConfigPath}`);
@@ -46,11 +47,11 @@ module.exports = function(opts){
46
47
  ]
47
48
  // Remove all console logs in production...
48
49
  config.transformer.minifierConfig.compress.drop_console = false;
49
- config.platforms = Array.isArray(config.platforms) && config.platforms || [];
50
+ /*config.platforms = Array.isArray(config.platforms) && config.platforms || [];
50
51
  ['ios', 'android', 'windows', 'web',"electron"].map(p=>{
51
52
  if(!config.platforms.includes(p)){
52
53
  config.platforms.push(p);
53
54
  }
54
- });
55
+ });*/
55
56
  return config;
56
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "6.21.18",
3
+ "version": "6.21.20",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -40,7 +40,7 @@
40
40
  "update-app-version": "node ./update-app-version.js",
41
41
  "find-licenses": "node ./find-licenses.js",
42
42
  "fix-dependencies": "expo-cli doctor --fix-dependencies",
43
- "expo-fix":"npx expo install --fix",
43
+ "expo-fix": "npx expo install --fix",
44
44
  "delete-node-modules": "rimraf ./**/node_modules",
45
45
  "modifier-url-remote-git": "git remote set-url origin 'https://borispipo@github.com/borispipo/smart-eneo.git'",
46
46
  "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"
@@ -66,7 +66,7 @@
66
66
  "@emotion/native": "^11.11.0",
67
67
  "@expo/html-elements": "^0.5.1",
68
68
  "@expo/vector-icons": "^13.0.0",
69
- "@fto-consult/common": "^3.24.0",
69
+ "@fto-consult/common": "^3.24.6",
70
70
  "@gorhom/portal": "^1.0.14",
71
71
  "@pchmn/expo-material3-theme": "^1.3.1",
72
72
  "@react-native-async-storage/async-storage": "1.18.2",