@fto-consult/expo-ui 9.3.0 → 9.3.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.
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "9.3.0",
3
+ "version": "9.3.1",
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": {