@fto-consult/expo-ui 9.3.0 → 9.4.0

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.
@@ -1,42 +1,39 @@
1
-
2
- module.exports = {
3
- "@emotion/native": "^11.11.0",
4
- "@expo/html-elements": "^0.5.1",
5
- "@expo/vector-icons": "^14.0.0",
6
- "@pchmn/expo-material3-theme": "^1.3.2",
7
- "@react-native-community/netinfo": "11.3.1",
8
- "@react-native-community/netinfo": "11.3.1",
9
- "react-native-get-random-values": "~1.8.0",
10
- "@react-navigation/native": "^6.1.17",
11
- "@react-navigation/native-stack": "^6.9.26",
12
- "@react-navigation/stack": "^6.3.29",
13
- "@shopify/flash-list": "1.6.4",
14
-
15
- "expo": "51.0.0",
16
- "expo-camera": "~15.0.4",
17
- "expo-clipboard": "~6.0.3",
18
- "expo-document-picker": "~12.0.1",
19
- "expo-font": "~12.0.4",
20
- "expo-image-manipulator": "~12.0.3",
21
- "expo-image-picker": "~15.0.4",
22
- "expo-intent-launcher": "~11.0.1",
23
- "expo-linking": "~6.3.1",
24
- "@expo/metro-runtime": "^3.2.1",
25
- "expo-sharing": "~12.0.1",
26
- "expo-sqlite": "~14.0.3",
27
- "expo-status-bar": "~1.12.1",
28
- "expo-system-ui": "~3.0.4",
29
- "expo-web-browser": "~13.0.3",
30
- "react-native": "0.74.1",
31
- "react-native-gesture-handler": "~2.16.1",
32
- "react-native-get-random-values": "~1.11.0",
33
- "react-native-reanimated": "3.10.0",
34
- "react-native-safe-area-context": "4.10.1",
35
- "react-native-screens": "3.31.1",
36
- "react-native-svg": "15.2.0-rc.0",
37
- "react-native-view-shot": "3.8.0",
38
- "react-native-web": "~0.19.10",
39
- "react-native-webview": "13.8.6",
40
- "react-virtuoso": "latest",
41
- };
1
+
2
+ module.exports = {
3
+ "@emotion/native": "^11.11.0",
4
+ "@expo/html-elements": "^0.5.1",
5
+ "@expo/vector-icons": "^14.0.0",
6
+ "@pchmn/expo-material3-theme": "^1.3.2",
7
+ "@react-native-community/netinfo": "11.3.1",
8
+ "react-native-get-random-values": "~1.11.0",
9
+ "@react-navigation/native": "^6.1.17",
10
+ "@react-navigation/native-stack": "^6.9.26",
11
+ "@react-navigation/stack": "^6.3.29",
12
+ "@shopify/flash-list": "1.6.4",
13
+ "expo": "^51.0.0",
14
+ "expo-camera": "~15.0.9",
15
+ "expo-clipboard": "~6.0.3",
16
+ "expo-document-picker": "~12.0.1",
17
+ "expo-font": "~12.0.5",
18
+ "expo-image-manipulator": "~12.0.3",
19
+ "expo-image-picker": "~15.0.5",
20
+ "expo-intent-launcher": "~11.0.1",
21
+ "expo-linking": "~6.3.1",
22
+ "@expo/metro-runtime": "~3.2.1",
23
+ "expo-sharing": "~12.0.1",
24
+ "expo-sqlite": "~14.0.3",
25
+ "expo-status-bar": "~1.12.1",
26
+ "expo-system-ui": "~3.0.4",
27
+ "expo-web-browser": "~13.0.3",
28
+ "react-native": "0.74.1",
29
+ "react-native-gesture-handler": "~2.16.1",
30
+ "react-native-reanimated": "~3.10.1",
31
+ "react-native-safe-area-context": "4.10.1",
32
+ "react-native-screens": "3.31.1",
33
+ "react-native-svg": "15.2.0",
34
+ "react-native-view-shot": "3.8.0",
35
+ "react-native-web": "~0.19.10",
36
+ "react-native-webview": "13.8.6",
37
+ "react-virtuoso": "^4.7.10"
38
+ };
42
39
 
@@ -2,5 +2,6 @@ module.exports = [
2
2
  "@babel/plugin-proposal-export-namespace-from",
3
3
  "@expo/metro-config",
4
4
  "babel-plugin-inline-dotenv",
5
- "babel-plugin-module-resolver"
5
+ "babel-plugin-module-resolver",
6
+ "concurrently"
6
7
  ]
@@ -66,7 +66,7 @@ const findLicencesMain = (options)=>{
66
66
  options = {};
67
67
  }
68
68
  const {outputPath,nodeModulesPath} = options;
69
- const outputDir = outputPath && typeof outputPath =='string' && path.dirname(outputPath) || '';
69
+ const outputDir = outputPath && typeof outputPath =='string' && path.dirname(outputPath) || path.dirname(path.resolve(__dirname,"../src/screens/Help/OpenLibraryScreen"));
70
70
  if(outputDir && fs.existsSync(outputDir)){
71
71
  openLibraries = {};
72
72
  findLicences(path.resolve(__dirname),path.resolve(__dirname,"node_modules"));
@@ -108,7 +108,7 @@ const findLicencesMain = (options)=>{
108
108
  module.exports = (projectRoot)=>{
109
109
  ///on génère les librairies open sources utilisées par l'application
110
110
  projectRoot = typeof projectRoot === "string" && fs.existsSync(path.resolve(projectRoot)) ? path.resolve(projectRoot) : process.cwd();
111
- const expoUI = require("../expo-ui-path")();
111
+ const expoUI = require("../expo-ui-path")(projectRoot);
112
112
  const localNodeModule = path.resolve(projectRoot,"node_modules");
113
113
  const HelpScreen = path.resolve(expoUI,"src","screens","Help");
114
114
  const outputPath = path.resolve(HelpScreen,"openLibraries.js");
package/bin/upgrade/51.js CHANGED
@@ -1,19 +1,14 @@
1
1
  /****
2
2
  upgrade to expo sdk version 51, @see : https://expo.dev/changelog/2024/05-07-sdk-51
3
+
3
4
  */
4
5
  module.exports = ({version,dependencies,packageObj,currentVersion,devDependencies,packageManager,depreciatedDependencies,projectRoot})=>{
6
+ console.log("Avant de lancer le programme de mise à jour, vous devez installer le package concurrently en exécutant la commande : npm i -D concurrently");
5
7
  const {exec} = require("@fto-consult/node-utils");
6
8
  return new Promise((resolve,reject)=>{
7
- console.log("Updating eas cli : npm i -g eas-cli");
8
- const runExec = async (command)=>{
9
- return await exec(command,{projectRoot});
10
- };
11
- runExec(`npm i -g eas-cli`).finally(()=>{
12
- console.log("installing expo sdk 51 : npx expo install expo@^51.0.0 --fix");
13
- runExec(`npx expo install expo@^51.0.0 --fix`).finally(()=>{
14
- console.log("fix expo doctor : npx expo-doctor@latest");
15
- runExec(`npx expo-doctor@latest`,{projectRoot}).then(resolve).catch(reject);
16
- });
9
+ exec(`npm i -D concurrently`,{projectRoot}).finally(()=>{
10
+ console.log("upgrading to expo sdk 51");
11
+ return exec(`concurrently "npm i -g eas-cli" "npx expo install expo@^51.0.0 --fix" "npx expo-doctor@latest"`,{projectRoot}).then(resolve).catch(reject);
17
12
  });
18
- })
13
+ });
19
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "9.3.0",
3
+ "version": "9.4.0",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "react-native-paper-doc": "https://github.com/callstack/react-native-paper/tree/main/docs/docs/guides",
6
6
  "scripts": {
@@ -70,7 +70,7 @@
70
70
  "@faker-js/faker": "^8.0.2",
71
71
  "@fto-consult/common": "^4.53.0",
72
72
  "@fto-consult/node-utils": "^1.9.3",
73
- "apexcharts": "^3.49.0",
73
+ "apexcharts": "^3.49.1",
74
74
  "file-saver": "^2.0.5",
75
75
  "google-libphonenumber": "^3.2.34",
76
76
  "html2canvas": "^1.4.1",
@@ -83,7 +83,7 @@
83
83
  "react-native-iphone-x-helper": "^1.3.1",
84
84
  "react-native-mime-types": "^2.5.0",
85
85
  "react-native-paper": "^5.12.3",
86
- "react-native-paper-dates": "^0.22.7",
86
+ "react-native-paper-dates": "^0.22.9",
87
87
  "sanitize-filename": "^1.6.3",
88
88
  "tippy.js": "^6.3.7",
89
89
  "xlsx": "^0.18.5"