@fto-consult/expo-ui 6.49.0 → 6.49.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
@@ -15,10 +15,10 @@ module.exports = (opts)=>{
|
|
15
15
|
const expoUI = require("./expo-ui-path")();
|
16
16
|
const euCommon = path.resolve(expoUI,"node_modules","@fto-consult","common");
|
17
17
|
const cpath = fs.existsSync(euCommon)? path.resolve(euCommon,"babel.config.alias") : "@fto-consult/common/babel.config.alias";
|
18
|
-
const mainAppPackage = path.resolve(projectRoot,"expo-ui.json");
|
18
|
+
/*const mainAppPackage = path.resolve(projectRoot,"expo-ui.json");
|
19
19
|
if(fs.existsSync(mainAppPackage)){
|
20
20
|
opts.$packageJSON = mainAppPackage;
|
21
|
-
}
|
21
|
+
}*/
|
22
22
|
const r = require(`${cpath}`)(opts);
|
23
23
|
const expo = path.resolve(expoUI,"src");
|
24
24
|
r.$edocs = path.resolve(expoUI,"docs");//l'alias de la documentation
|
@@ -113,7 +113,7 @@ module.exports = (opts)=>{
|
|
113
113
|
const jsonPath = path.resolve(projectRoot,'package.json');
|
114
114
|
if(fs.existsSync(jsonPath)){
|
115
115
|
try {
|
116
|
-
require("./electron/utils/copy")(jsonPath,path.resolve(dir,"electron","
|
116
|
+
require("./electron/utils/copy")(jsonPath,path.resolve(dir,"electron","expo-ui.json"))
|
117
117
|
} catch{}
|
118
118
|
}
|
119
119
|
///on sauvegarde les chemins des fichiers utiles, qui seront utilisées par la variable electron plus tard
|
@@ -0,0 +1,133 @@
|
|
1
|
+
{
|
2
|
+
"name": "@fto-consult/expo-ui",
|
3
|
+
"version": "6.49.0",
|
4
|
+
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
|
+
"main": "main",
|
6
|
+
"scripts": {
|
7
|
+
"clear-npx-cache": "npx clear-npx-cache",
|
8
|
+
"publish1": "npm publish --access=public",
|
9
|
+
"unpublish": "npm -f unpublish @fto-consult/expo-ui",
|
10
|
+
"build-web": "",
|
11
|
+
"start": "npx expo start --dev --no-minify",
|
12
|
+
"start-d": "npx expo start -c --no-dev --no-minify",
|
13
|
+
"start-p": "npm run start-d",
|
14
|
+
"expo-start-client": "npx expo start --dev --no-minify --dev-client",
|
15
|
+
"start-m": "npx expo start - c--dev--no -minify",
|
16
|
+
"android": "npx expo start --android -c",
|
17
|
+
"ios": "npx expo start --ios",
|
18
|
+
"web": "npx expo start --web",
|
19
|
+
"web-c": "npx expo start --web -c",
|
20
|
+
"eject": "expo eject",
|
21
|
+
"emulator": "npm run android-emulator",
|
22
|
+
"web-server": "npx serve web-build",
|
23
|
+
"build-android": "eas build --clear-cache -p android --profile preview",
|
24
|
+
"build-android-local": "eas build --platform android --local",
|
25
|
+
"build-android-dist": "eas build --clear-cache -p android",
|
26
|
+
"build-ios": "eas build --clear-cache -p ios --profile preview",
|
27
|
+
"build-ios-dist": "eas build --clear-cache -p ios",
|
28
|
+
"install-apk": "adb -s emulator-5554 install myapp.apk",
|
29
|
+
"android-emulator": "emulator -avd EMULATOR",
|
30
|
+
"flipper": "npx cross-env METRO_SERVER_PORT=19000 E:\\Studies\\react-native\\debugger\\Flipper-win\\Flipper.exe",
|
31
|
+
"test:build": "electron-webpack && electron-builder --dir -c.compression=store -c.mac.identity=null",
|
32
|
+
"compile-electron": "webpack --env platform=electron",
|
33
|
+
"compile-electron-p": "webpack --config ./electron/webpack.config.js --mode=production",
|
34
|
+
"electron": "electron ./electron",
|
35
|
+
"logcat": "adb -d logcat com.ftc.apps.salite1:E > errors.txt",
|
36
|
+
"logcat-export": "adb -d logcat com.ftc.apps.salite1 *:S > logcat.txt",
|
37
|
+
"electron-c": "npm run compile-electron && npm run electron",
|
38
|
+
"electron-p": "npm run compile-electron-p && npm run electron",
|
39
|
+
"update-app-version": "node ./update-app-version.js",
|
40
|
+
"find-licenses": "node ./find-licenses.js",
|
41
|
+
"fix-dependencies": "expo-cli doctor --fix-dependencies",
|
42
|
+
"expo-fix": "npx expo install --fix",
|
43
|
+
"update-apexchart": "node ./bin/update-appex-chart.js",
|
44
|
+
"update-appexchart": "npm run update-apexchart",
|
45
|
+
"delete-node-modules": "rimraf ./**/node_modules",
|
46
|
+
"dev": "npx expo start --no-dev --minify -c",
|
47
|
+
"modifier-url-remote-git": "git remote set-url origin 'https://borispipo@github.com/borispipo/smart-eneo.git'",
|
48
|
+
"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 @emotion/native@latest @fto-consult/common@latest @react-navigation/stack 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-paper-dates@latest @react-navigation/native@latest @react-navigation/native-stack@latest react-virtuoso@latest tippy.js@latest websql@latest xlsx@latest react-native-web@latest react-dom@latest react-native-webview@latest && npx expo install --fix && npm run update-apexchart && npm run find-licenses"
|
49
|
+
},
|
50
|
+
"bin": {
|
51
|
+
"expo-ui": "./bin/index.js"
|
52
|
+
},
|
53
|
+
"repository": {
|
54
|
+
"type": "git",
|
55
|
+
"url": "git+https://github.com/borispipo/expo-ui.git"
|
56
|
+
},
|
57
|
+
"keywords": [
|
58
|
+
"Expo",
|
59
|
+
"React-Native"
|
60
|
+
],
|
61
|
+
"author": "Boris Fouomene",
|
62
|
+
"license": "ISC",
|
63
|
+
"bugs": {
|
64
|
+
"url": "https://github.com/borispipo/expo-ui/issues"
|
65
|
+
},
|
66
|
+
"homepage": "https://github.com/borispipo/expo-ui#readme",
|
67
|
+
"dependencies": {
|
68
|
+
"@emotion/native": "^11.11.0",
|
69
|
+
"@emotion/react": "^11.11.1",
|
70
|
+
"@expo/html-elements": "^0.5.1",
|
71
|
+
"@expo/vector-icons": "^13.0.0",
|
72
|
+
"@faker-js/faker": "^8.0.2",
|
73
|
+
"@fto-consult/common": "^3.44.0",
|
74
|
+
"@pchmn/expo-material3-theme": "^1.3.1",
|
75
|
+
"@react-native-async-storage/async-storage": "1.18.2",
|
76
|
+
"@react-native-community/datetimepicker": "7.2.0",
|
77
|
+
"@react-native-community/netinfo": "9.3.10",
|
78
|
+
"@react-native/assets-registry": "^0.72.0",
|
79
|
+
"@react-navigation/native": "^6.1.8",
|
80
|
+
"@react-navigation/native-stack": "^6.9.14",
|
81
|
+
"@react-navigation/stack": "^6.3.18",
|
82
|
+
"@shopify/flash-list": "1.4.3",
|
83
|
+
"apexcharts": "^3.42.0",
|
84
|
+
"expo": "^49.0.11",
|
85
|
+
"expo-camera": "~13.4.4",
|
86
|
+
"expo-clipboard": "~4.3.1",
|
87
|
+
"expo-font": "~11.4.0",
|
88
|
+
"expo-image-picker": "~14.3.2",
|
89
|
+
"expo-linking": "~5.0.2",
|
90
|
+
"expo-sqlite": "~11.3.3",
|
91
|
+
"expo-status-bar": "~1.6.0",
|
92
|
+
"expo-system-ui": "~2.4.0",
|
93
|
+
"expo-web-browser": "~12.3.2",
|
94
|
+
"file-saver": "^2.0.5",
|
95
|
+
"fs-extra": "^11.1.1",
|
96
|
+
"google-libphonenumber": "^3.2.33",
|
97
|
+
"htmlparser2-without-node-native": "^3.9.2",
|
98
|
+
"is-plain-obj": "^4.1.0",
|
99
|
+
"js-base64": "^3.7.5",
|
100
|
+
"pdfmake": "^0.2.7",
|
101
|
+
"process": "^0.11.10",
|
102
|
+
"prop-types": "^15.8.1",
|
103
|
+
"react": "^18.2.0",
|
104
|
+
"react-content-loader": "^6.2.1",
|
105
|
+
"react-dom": "^18.2.0",
|
106
|
+
"react-native": "0.72.5",
|
107
|
+
"react-native-big-list": "^1.6.1",
|
108
|
+
"react-native-blob-util": "^0.18.6",
|
109
|
+
"react-native-gesture-handler": "~2.12.0",
|
110
|
+
"react-native-iphone-x-helper": "^1.3.1",
|
111
|
+
"react-native-mime-types": "^2.4.0",
|
112
|
+
"react-native-paper": "^5.10.6",
|
113
|
+
"react-native-paper-dates": "^0.19.7",
|
114
|
+
"react-native-reanimated": "~3.3.0",
|
115
|
+
"react-native-safe-area-context": "4.6.3",
|
116
|
+
"react-native-screens": "~3.22.0",
|
117
|
+
"react-native-svg": "13.9.0",
|
118
|
+
"react-native-web": "^0.19.9",
|
119
|
+
"react-native-webview": "13.2.2",
|
120
|
+
"react-virtuoso": "^4.6.0",
|
121
|
+
"sharp-cli": "^4.1.1",
|
122
|
+
"tippy.js": "^6.3.7",
|
123
|
+
"websql": "^2.0.3",
|
124
|
+
"xlsx": "^0.18.5"
|
125
|
+
},
|
126
|
+
"devDependencies": {
|
127
|
+
"@expo/metro-config": "^0.10.7",
|
128
|
+
"@expo/webpack-config": "^19.0.0",
|
129
|
+
"babel-plugin-inline-dotenv": "^1.7.0",
|
130
|
+
"babel-plugin-module-resolver": "^5.0.0",
|
131
|
+
"uninstall": "^0.0.0"
|
132
|
+
}
|
133
|
+
}
|
package/metro.config.js
CHANGED
@@ -20,6 +20,13 @@ module.exports = function(opts){
|
|
20
20
|
if(!isLocalTest){
|
21
21
|
config.watchFolders.push(localDir);
|
22
22
|
}
|
23
|
+
// 2. Let Metro know where to resolve packages and in what order
|
24
|
+
const nodeModulesPaths = (Array.isArray(config.resolver.nodeModulesPaths)?config.resolver.nodeModulesPaths : []);
|
25
|
+
const nodeModulePath = path.resolve(projectRoot, 'node_modules');
|
26
|
+
if(!nodeModulesPaths.includes(nodeModulePath)){
|
27
|
+
nodeModulesPaths.unshift(nodeModulePath);
|
28
|
+
}
|
29
|
+
config.resolver.nodeModulesPaths = nodeModulesPaths;
|
23
30
|
config.projectRoot = projectRoot;
|
24
31
|
config.resolver.assetExts = [
|
25
32
|
...config.resolver.assetExts,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fto-consult/expo-ui",
|
3
|
-
"version": "6.49.
|
3
|
+
"version": "6.49.1",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
5
|
"main": "main",
|
6
6
|
"scripts": {
|
@@ -118,7 +118,7 @@
|
|
118
118
|
"react-native-web": "^0.19.9",
|
119
119
|
"react-native-webview": "13.2.2",
|
120
120
|
"react-virtuoso": "^4.6.0",
|
121
|
-
"sharp-cli": "^
|
121
|
+
"sharp-cli": "^2.1.0",
|
122
122
|
"tippy.js": "^6.3.7",
|
123
123
|
"websql": "^2.0.3",
|
124
124
|
"xlsx": "^0.18.5"
|
@@ -3,7 +3,7 @@
|
|
3
3
|
// override l'alias du repertoire des écrans par défaut, celui de escreens
|
4
4
|
|
5
5
|
Les variables d'environnement :
|
6
|
-
EXPO_UI_ROOT_PATH
|
6
|
+
EXPO_UI_ROOT_PATH sont exploitées pour spécifier les répertoires racines aux dossiers expo-ui et common respectivement
|
7
7
|
pendant le développement de l'application
|
8
8
|
|
9
9
|
en plus de la variable d'environnement TABLES_DATA_PATH pour la génération des tables de l'application, l'on peut aussi spécifier,
|
@@ -1 +1 @@
|
|
1
|
-
module.exports = {"@fto-consult/expo-ui":{"name":"@fto-consult/expo-ui","version":"6.
|
1
|
+
module.exports = {"@fto-consult/expo-ui":{"name":"@fto-consult/expo-ui","version":"6.49.0","repository":{"type":"git","url":"git+https://github.com/borispipo/expo-ui.git"},"homepage":"https://github.com/borispipo/expo-ui#readme"},"@emotion/native":{"version":"11.11.0","url":"https://emotion.sh","license":"MIT"},"@emotion/react":{"version":"11.11.1","url":"https://github.com/emotion-js/emotion/tree/main/packages/react","license":"MIT"},"@expo/html-elements":{"version":"0.5.1","url":"https://github.com/expo/expo/tree/main/packages/html-elements","license":"MIT"},"@expo/metro-config":{"version":"0.10.7","url":"https://github.com/expo/expo.git","license":"MIT"},"@expo/vector-icons":{"version":"13.0.0","url":"https://expo.github.io/vector-icons","license":"MIT"},"@expo/webpack-config":{"version":"19.0.0","url":"https://github.com/expo/expo-cli.git","license":"MIT"},"@faker-js/faker":{"version":"8.0.2","url":"https://github.com/faker-js/faker.git","license":"MIT"},"@fto-consult/common":{"version":"3.44.0","url":"https://github.com/borispipo/common#readme","license":"ISC"},"@pchmn/expo-material3-theme":{"version":"1.3.1","url":"https://github.com/pchmn/expo-material3-theme#readme","license":"MIT"},"@react-native-async-storage/async-storage":{"version":"1.18.2","url":"https://github.com/react-native-async-storage/async-storage#readme","license":"MIT"},"@react-native-community/datetimepicker":{"version":"7.2.0","url":"https://github.com/react-native-community/datetimepicker#readme","license":"MIT"},"@react-native-community/netinfo":{"version":"9.3.10","url":"https://github.com/react-native-netinfo/react-native-netinfo#readme","license":"MIT"},"@react-native/assets-registry":{"version":"0.72.0","url":"git@github.com:facebook/react-native.git","license":"MIT"},"@react-navigation/native":{"version":"6.1.8","url":"https://reactnavigation.org","license":"MIT"},"@react-navigation/native-stack":{"version":"6.9.14","url":"https://github.com/software-mansion/react-native-screens#readme","license":"MIT"},"@react-navigation/stack":{"version":"6.3.18","url":"https://reactnavigation.org/docs/stack-navigator/","license":"MIT"},"@shopify/flash-list":{"version":"1.4.3","url":"https://shopify.github.io/flash-list/","license":"MIT"},"apexcharts":{"version":"3.42.0","url":"https://apexcharts.com","license":"MIT"},"babel-plugin-inline-dotenv":{"version":"1.7.0","url":"https://github.com/brysgo/babel-plugin-inline-dotenv#readme","license":"ISC"},"babel-plugin-module-resolver":{"version":"5.0.0","url":"https://github.com/tleunen/babel-plugin-module-resolver.git","license":"MIT"},"expo":{"version":"49.0.11","url":"https://github.com/expo/expo/tree/main/packages/expo","license":"MIT"},"expo-camera":{"version":"13.4.4","url":"https://docs.expo.dev/versions/latest/sdk/camera/","license":"MIT"},"expo-clipboard":{"version":"4.3.1","url":"https://docs.expo.dev/versions/latest/sdk/clipboard","license":"MIT"},"expo-font":{"version":"11.4.0","url":"https://docs.expo.dev/versions/latest/sdk/font/","license":"MIT"},"expo-image-picker":{"version":"14.3.2","url":"https://docs.expo.dev/versions/latest/sdk/imagepicker/","license":"MIT"},"expo-linking":{"version":"5.0.2","url":"https://docs.expo.dev/versions/latest/sdk/linking","license":"MIT"},"expo-sqlite":{"version":"11.3.3","url":"https://docs.expo.dev/versions/latest/sdk/sqlite/","license":"MIT"},"expo-status-bar":{"version":"1.6.0","url":"https://docs.expo.dev/versions/latest/sdk/status-bar/","license":"MIT"},"expo-system-ui":{"version":"2.4.0","url":"https://docs.expo.dev/versions/latest/sdk/system-ui","license":"MIT"},"expo-web-browser":{"version":"12.3.2","url":"https://docs.expo.dev/versions/latest/sdk/webbrowser/","license":"MIT"},"file-saver":{"version":"2.0.5","url":"https://github.com/eligrey/FileSaver.js#readme","license":"MIT"},"fs-extra":{"version":"11.1.1","url":"https://github.com/jprichardson/node-fs-extra","license":"MIT"},"google-libphonenumber":{"version":"3.2.33","url":"https://ruimarinho.github.io/google-libphonenumber/","license":"(MIT AND Apache-2.0)"},"htmlparser2-without-node-native":{"version":"3.9.2","url":"git://github.com/fb55/htmlparser2.git","license":"MIT"},"is-plain-obj":{"version":"4.1.0","license":"MIT"},"js-base64":{"version":"3.7.5","license":"BSD-3-Clause"},"pdfmake":{"version":"0.2.7","url":"http://pdfmake.org","license":"MIT"},"process":{"version":"0.11.10","url":"git://github.com/shtylman/node-process.git","license":"MIT"},"prop-types":{"version":"15.8.1","url":"https://facebook.github.io/react/","license":"MIT"},"react":{"version":"18.2.0","url":"https://reactjs.org/","license":"MIT"},"react-content-loader":{"version":"6.2.1","url":"https://github.com/danilowoz/react-content-loader","license":"MIT"},"react-dom":{"version":"18.2.0","url":"https://reactjs.org/","license":"MIT"},"react-native":{"version":"0.72.5","license":"MIT"},"react-native-big-list":{"version":"1.6.1","url":"https://marcocesarato.github.io/react-native-big-list-docs/","license":"GPL-3.0-or-later"},"react-native-blob-util":{"version":"0.18.6","url":"https://github.com/RonRadtke/react-native-blob-util","license":"MIT"},"react-native-gesture-handler":{"version":"2.12.1","url":"https://github.com/software-mansion/react-native-gesture-handler#readme","license":"MIT"},"react-native-iphone-x-helper":{"version":"1.3.1","url":"https://github.com/ptelad/react-native-iphone-x-helper#readme","license":"MIT"},"react-native-mime-types":{"version":"2.4.0","license":"MIT"},"react-native-paper":{"version":"5.10.6","url":"https://callstack.github.io/react-native-paper","license":"MIT"},"react-native-paper-dates":{"version":"0.19.7","url":"https://github.com/web-ridge/react-native-paper-dates#readme","license":"MIT"},"react-native-reanimated":{"version":"3.3.0","url":"https://github.com/software-mansion/react-native-reanimated#readme","license":"MIT"},"react-native-safe-area-context":{"version":"4.6.3","url":"https://github.com/th3rdwave/react-native-safe-area-context#readme","license":"MIT"},"react-native-screens":{"version":"3.22.1","url":"https://github.com/software-mansion/react-native-screens#readme","license":"MIT"},"react-native-svg":{"version":"13.9.0","url":"https://github.com/react-native-community/react-native-svg","license":"MIT"},"react-native-web":{"version":"0.19.9","url":"git://github.com/necolas/react-native-web.git","license":"MIT"},"react-native-webview":{"version":"13.2.2","url":"https://github.com/react-native-webview/react-native-webview#readme","license":"MIT"},"react-virtuoso":{"version":"4.6.0","url":"https://virtuoso.dev/","license":"MIT"},"sharp-cli":{"version":"4.1.1","url":"https://github.com/vseventer/sharp-cli","license":"MIT"},"tippy.js":{"version":"6.3.7","url":"https://atomiks.github.io/tippyjs/","license":"MIT"},"uninstall":{"version":"0.0.0","license":"MIT"},"websql":{"version":"2.0.3","url":"git://github.com/nolanlawson/node-websql.git","license":"Apache-2.0"},"xlsx":{"version":"0.18.5","url":"https://sheetjs.com/","license":"Apache-2.0"}};
|