@fto-consult/expo-ui 2.5.10 → 2.6.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/metro.config.js CHANGED
@@ -24,5 +24,7 @@ module.exports = (opts)=>{
24
24
  ...sourceExts,"txt",
25
25
  'jsx', 'js','tsx',
26
26
  ]
27
+ // Remove all console logs in production...
28
+ config.transformer.minifierConfig.compress.drop_console = true;
27
29
  return config;
28
30
  }
package/package.json CHANGED
@@ -1,110 +1,111 @@
1
- {
2
- "name": "@fto-consult/expo-ui",
3
- "version": "2.5.10",
4
- "description": "Bibliothèque de composants UI Expo,react-native",
5
- "main": "index.js",
6
- "resolutions": {
7
- "@expo/cli": "xxx"
8
- },
9
- "scripts": {
10
- "publish1": "npm publish --access=public",
11
- "unpublish": "npm -f unpublish @fto-consult/expo-ui",
12
- "build-web": "",
13
- "dev": "npx expo start -c --no-minify",
14
- "start": "npx expo start --dev --no-minify",
15
- "start-d": "npx expo start -c --no-dev --no-minify",
16
- "start-p": "npm run start-d",
17
- "expo-start-client": "npx expo start --dev --no-minify --dev-client",
18
- "start-m": "npx expo start - c--dev--no -minify",
19
- "android": "npx expo start --android -c",
20
- "ios": "npx expo start --ios",
21
- "web": "npx expo start --web",
22
- "web-c": "npx expo start --web -c",
23
- "eject": "expo eject",
24
- "emulator": "npm run android-emulator",
25
- "web-server": "npx serve web-build",
26
- "build-android": "eas build --clear-cache -p android --profile preview",
27
- "build-android-local": "eas build --platform android --local",
28
- "build-android-dist": "eas build --clear-cache -p android",
29
- "build-ios": "eas build --clear-cache -p ios --profile preview",
30
- "build-ios-dist": "eas build --clear-cache -p ios",
31
- "install-apk": "adb -s emulator-5554 install myapp.apk",
32
- "android-emulator": "emulator -avd EMULATOR",
33
- "flipper": "npx cross-env METRO_SERVER_PORT=19000 E:\\Studies\\react-native\\debugger\\Flipper-win\\Flipper.exe",
34
- "build-electron": "electron-webpack && electron-builder --dir -c.compression=store",
35
- "test:build": "electron-webpack && electron-builder --dir -c.compression=store -c.mac.identity=null",
36
- "compile-electron": "webpack --config ./electron/webpack.config.js",
37
- "compile-electron-p": "webpack --config ./electron/webpack.config.js --mode=production",
38
- "electron": "electron ./electron",
39
- "logcat": "adb -d logcat com.ftc.apps.salite1:E > errors.txt",
40
- "logcat-export": "adb -d logcat com.ftc.apps.salite1 *:S > logcat.txt",
41
- "electron-c": "npm run compile-electron && npm run electron",
42
- "electron-p": "npm run compile-electron-p && npm run electron",
43
- "update-app-version": "node ./update-app-version.js",
44
- "find-licenses": "node ./find-licenses.js",
45
- "fix-dependencies": "expo doctor --fix-dependencies"
46
- },
47
- "repository": {
48
- "type": "git",
49
- "url": "git+https://github.com/borispipo/expo-ui.git"
50
- },
51
- "keywords": [
52
- "Expo",
53
- "React-Native"
54
- ],
55
- "author": "Boris Fouomene",
56
- "license": "ISC",
57
- "bugs": {
58
- "url": "https://github.com/borispipo/expo-ui/issues"
59
- },
60
- "homepage": "https://github.com/borispipo/expo-ui#readme",
61
- "dependencies": {
62
- "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
63
- "@babel/preset-react": "^7.18.6",
64
- "@emotion/native": "^11.10.0",
65
- "@expo/html-elements": "^0.2.0",
66
- "@expo/metro-config": "^0.4.0",
67
- "@expo/webpack-config": "^0.17.2",
68
- "@fto-consult/common": "^1.12.3",
69
- "@gorhom/portal": "^1.0.14",
70
- "@react-native-async-storage/async-storage": "~1.17.3",
71
- "@react-native-community/datetimepicker": "6.5.2",
72
- "@react-native-community/netinfo": "9.3.5",
73
- "@react-navigation/native": "^6.0.13",
74
- "@react-navigation/native-stack": "^6.9.1",
75
- "@shopify/flash-list": "1.3.1",
76
- "babel-plugin-inline-dotenv": "^1.7.0",
77
- "babel-plugin-module-resolver": "^4.1.0",
78
- "babel-plugin-transform-inline-environment-variables": "^0.4.4",
79
- "expo": "^47.0.8",
80
- "expo-camera": "~13.0.0",
81
- "expo-clipboard": "~4.0.1",
82
- "expo-image-picker": "~14.0.1",
83
- "expo-linking": "~3.2.3",
84
- "expo-sqlite": "~11.0.0",
85
- "expo-status-bar": "~1.4.2",
86
- "expo-system-ui": "~2.0.1",
87
- "expo-web-browser": "~12.0.0",
88
- "google-libphonenumber": "^3.2.31",
89
- "htmlparser2-without-node-native": "^3.9.2",
90
- "mongo-parse": "^2.1.0",
91
- "parent-package-json": "^2.0.1",
92
- "prop-types": "^15.8.1",
93
- "react": "18.1.0",
94
- "react-apexcharts": "^1.4.0",
95
- "react-content-loader": "^6.2.0",
96
- "react-dom": "18.1.0",
97
- "react-native": "0.70.5",
98
- "react-native-big-list": "^1.5.5",
99
- "react-native-gesture-handler": "~2.8.0",
100
- "react-native-paper": "^4.12.5",
101
- "react-native-paper-dates": "^0.9.2",
102
- "react-native-reanimated": "~2.12.0",
103
- "react-native-safe-area-context": "4.4.1",
104
- "react-native-svg": "13.4.0",
105
- "react-native-web": "~0.18.7",
106
- "react-native-webview": "11.23.1",
107
- "sharp-cli": "^2.1.0",
108
- "tippy.js": "^6.3.7"
109
- }
110
- }
1
+ {
2
+ "name": "@fto-consult/expo-ui",
3
+ "version": "2.6.1",
4
+ "description": "Bibliothèque de composants UI Expo,react-native",
5
+ "main": "index.js",
6
+ "resolutions": {
7
+ "@expo/cli": "xxx"
8
+ },
9
+ "scripts": {
10
+ "publish1": "npm publish --access=public",
11
+ "unpublish": "npm -f unpublish @fto-consult/expo-ui",
12
+ "build-web": "",
13
+ "dev": "npx expo start -c --no-minify",
14
+ "start": "npx expo start --dev --no-minify",
15
+ "start-d": "npx expo start -c --no-dev --no-minify",
16
+ "start-p": "npm run start-d",
17
+ "expo-start-client": "npx expo start --dev --no-minify --dev-client",
18
+ "start-m": "npx expo start - c--dev--no -minify",
19
+ "android": "npx expo start --android -c",
20
+ "ios": "npx expo start --ios",
21
+ "web": "npx expo start --web",
22
+ "web-c": "npx expo start --web -c",
23
+ "eject": "expo eject",
24
+ "emulator": "npm run android-emulator",
25
+ "web-server": "npx serve web-build",
26
+ "build-android": "eas build --clear-cache -p android --profile preview",
27
+ "build-android-local": "eas build --platform android --local",
28
+ "build-android-dist": "eas build --clear-cache -p android",
29
+ "build-ios": "eas build --clear-cache -p ios --profile preview",
30
+ "build-ios-dist": "eas build --clear-cache -p ios",
31
+ "install-apk": "adb -s emulator-5554 install myapp.apk",
32
+ "android-emulator": "emulator -avd EMULATOR",
33
+ "flipper": "npx cross-env METRO_SERVER_PORT=19000 E:\\Studies\\react-native\\debugger\\Flipper-win\\Flipper.exe",
34
+ "build-electron": "electron-webpack && electron-builder --dir -c.compression=store",
35
+ "test:build": "electron-webpack && electron-builder --dir -c.compression=store -c.mac.identity=null",
36
+ "compile-electron": "webpack --config ./electron/webpack.config.js",
37
+ "compile-electron-p": "webpack --config ./electron/webpack.config.js --mode=production",
38
+ "electron": "electron ./electron",
39
+ "logcat": "adb -d logcat com.ftc.apps.salite1:E > errors.txt",
40
+ "logcat-export": "adb -d logcat com.ftc.apps.salite1 *:S > logcat.txt",
41
+ "electron-c": "npm run compile-electron && npm run electron",
42
+ "electron-p": "npm run compile-electron-p && npm run electron",
43
+ "update-app-version": "node ./update-app-version.js",
44
+ "find-licenses": "node ./find-licenses.js",
45
+ "fix-dependencies": "expo doctor --fix-dependencies"
46
+ },
47
+ "repository": {
48
+ "type": "git",
49
+ "url": "git+https://github.com/borispipo/expo-ui.git"
50
+ },
51
+ "keywords": [
52
+ "Expo",
53
+ "React-Native"
54
+ ],
55
+ "author": "Boris Fouomene",
56
+ "license": "ISC",
57
+ "bugs": {
58
+ "url": "https://github.com/borispipo/expo-ui/issues"
59
+ },
60
+ "homepage": "https://github.com/borispipo/expo-ui#readme",
61
+ "dependencies": {
62
+ "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
63
+ "@babel/preset-react": "^7.18.6",
64
+ "@emotion/native": "^11.10.0",
65
+ "@expo/html-elements": "^0.2.0",
66
+ "@expo/metro-config": "^0.4.0",
67
+ "@expo/webpack-config": "^0.17.2",
68
+ "@fto-consult/common": "^1.12.3",
69
+ "@gorhom/portal": "^1.0.14",
70
+ "@react-native-async-storage/async-storage": "~1.17.3",
71
+ "@react-native-community/datetimepicker": "6.5.2",
72
+ "@react-native-community/netinfo": "9.3.5",
73
+ "@react-navigation/native": "^6.0.13",
74
+ "@react-navigation/native-stack": "^6.9.1",
75
+ "@shopify/flash-list": "1.3.1",
76
+ "babel-plugin-inline-dotenv": "^1.7.0",
77
+ "babel-plugin-module-resolver": "^4.1.0",
78
+ "babel-plugin-transform-inline-environment-variables": "^0.4.4",
79
+ "expo": "^47.0.8",
80
+ "expo-camera": "~13.1.0",
81
+ "expo-clipboard": "~4.0.1",
82
+ "expo-image-picker": "~14.0.2",
83
+ "expo-linking": "~3.2.3",
84
+ "expo-sqlite": "~11.0.0",
85
+ "expo-status-bar": "~1.4.2",
86
+ "expo-system-ui": "~2.0.1",
87
+ "expo-web-browser": "~12.0.0",
88
+ "google-libphonenumber": "^3.2.31",
89
+ "htmlparser2-without-node-native": "^3.9.2",
90
+ "mongo-parse": "^2.1.0",
91
+ "parent-package-json": "^2.0.1",
92
+ "prop-types": "^15.8.1",
93
+ "react": "18.1.0",
94
+ "react-apexcharts": "^1.4.0",
95
+ "react-content-loader": "^6.2.0",
96
+ "react-dom": "18.1.0",
97
+ "react-native": "0.70.5",
98
+ "react-native-big-list": "^1.5.5",
99
+ "react-native-gesture-handler": "~2.8.0",
100
+ "react-native-paper": "^4.12.5",
101
+ "react-native-paper-dates": "^0.9.2",
102
+ "react-native-reanimated": "~2.12.0",
103
+ "react-native-safe-area-context": "4.4.1",
104
+ "react-native-screens": "~3.18.0",
105
+ "react-native-svg": "13.4.0",
106
+ "react-native-web": "~0.18.7",
107
+ "react-native-webview": "11.23.1",
108
+ "sharp-cli": "^2.1.0",
109
+ "tippy.js": "^6.3.7"
110
+ }
111
+ }
@@ -5,9 +5,6 @@
5
5
  import { isRouteActive} from "$cnavigation";
6
6
  import "$cutils";
7
7
  import appConfig from "$capp/config";
8
- import {isMobileNative} from "$platform";
9
- import NetworkLoginScreen from "$escreens/NetworkLogin";
10
- import {defaultVal} from "$utils";
11
8
  import APP from "$capp";
12
9
  ///les items du drawer
13
10
  import items from "$drawerItems";
@@ -46,13 +43,6 @@ export const getItems = (force)=>{
46
43
  }
47
44
  ]
48
45
  };
49
- /*if(false && __DEV__ && isMobileNative()){
50
- dataHelp.items.unshift({
51
- icon : 'math-log',
52
- label : 'Inpecter les requêtes réseau',
53
- routeName : NetworkLoginScreen.screenName,
54
- });
55
- }*/
56
46
  r.push(dataHelp);
57
47
  }
58
48
  return r;
@@ -1,8 +1,6 @@
1
1
  import Auth from "./Auth";
2
2
  import Help from "./Help";
3
- //import NetworkLoginScreen from "./NetworkLogin";
4
3
  export default [
5
4
  ...Auth,
6
5
  ...Help,
7
- //NetworkLoginScreen,
8
6
  ]
@@ -1,22 +0,0 @@
1
- // Copyright 2022 @fto-consult/Boris Fouomene. All rights reserved.
2
- // Use of this source code is governed by a BSD-style
3
- // license that can be found in the LICENSE file.
4
-
5
- //import NetworkLogger from 'react-native-network-logger';
6
- import theme from "$theme";
7
- import Screen from "$elayouts/Screen/ScreenWithOrWithoutAuthContainer";
8
-
9
- const NetworkLoginScreen = () => {
10
- return null;
11
- <Screen withScrollView title="Débuggin du réseau" subtitle = {false}>
12
- <NetworkLogger
13
- theme={theme.isDark()?"dark":undefined}
14
- />
15
- </Screen>
16
- };
17
-
18
- NetworkLoginScreen.displayName = "NetworkLogin";
19
- NetworkLoginScreen.authRequired = false;
20
- NetworkLoginScreen.Modal = true;
21
-
22
- export default NetworkLoginScreen;
@@ -1,7 +0,0 @@
1
- // Copyright 2022 @fto-consult/Boris Fouomene. All rights reserved.
2
- // Use of this source code is governed by a BSD-style
3
- // license that can be found in the LICENSE file.
4
-
5
- export default function NetworkLoginScreen(){
6
- return null;
7
- }