@fto-consult/expo-ui 6.22.1 → 6.23.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.
package/expo-ui-path.js CHANGED
@@ -15,7 +15,9 @@ module.exports = function (){
15
15
  })
16
16
  const expoUIPath = path.resolve(process.cwd(),"node_modules","@fto-consult","expo-ui");
17
17
  const sep = path.sep;
18
- //return path.resolve(__dirname,suffix).replace(sep,(sep+sep));///pour la résolution du module expo-ui en mode test
18
+ if(path.resove(process.cwd()) === path.resolve(__dirname)){//le programme s'exécute en environnement fix bugs sur electron
19
+ return path.resolve(__dirname,suffix).replace(sep,(sep+sep));///pour la résolution du module expo-ui en mode test
20
+ }
19
21
  const rootPath = process.cwd();
20
22
  const src = path.resolve(rootPath,"src");
21
23
  try {
package/index.js CHANGED
@@ -50,8 +50,10 @@ export default function registerApp (opts){
50
50
 
51
51
  registerRootComponent(MainAppEntry);
52
52
 
53
+ /***
53
54
  registerApp({
54
55
  init : ()=>{
55
56
  return Promise.resolve("test ted")
56
57
  }
57
58
  })
59
+ */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "6.22.1",
3
+ "version": "6.23.0",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {