@fto-consult/expo-ui 7.5.14 → 7.5.15

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/bin/index.js CHANGED
@@ -151,12 +151,12 @@ program.command('electron')
151
151
  try {
152
152
  writeFile(packagePath,JSON.stringify({...packageObj,homepage:"./"},null,"\t"));
153
153
  } catch{}
154
- cmd = "npx expo export:web";
155
- return exec({cmd,projectRoot}).then(next).catch(reject).finally(()=>{
156
- try {
157
- writeFile(packagePath,JSON.stringify({...packageObj,homepage},null,"\t"));
158
- } catch{}
159
- });
154
+ cmd = "npx expo export:web";
155
+ return exec({cmd,projectRoot}).then(next).catch(reject).finally(()=>{
156
+ try {
157
+ writeFile(packagePath,JSON.stringify({...packageObj,homepage},null,"\t"));
158
+ } catch{}
159
+ });
160
160
  }
161
161
  next();
162
162
  });
package/electron/index.js CHANGED
@@ -189,7 +189,7 @@ function createWindow () {
189
189
  win.loadURL(pUrl);
190
190
  } else {
191
191
  if(!fs.existsSync(indexFilePath)){
192
- throw {message : `Unable to start the application: index file located at [${indexFilePath}] does not exists : projectRoot : [${projectRoot}], electronProjectRoot = [${electronProjectRoot}]`}
192
+ throw `Unable to start the application: index file located at [${indexFilePath}] does not exists : projectRoot : [${projectRoot}], electronProjectRoot = [${electronProjectRoot}]`
193
193
  } else win.loadFile(indexFilePath)
194
194
  }
195
195
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "7.5.14",
3
+ "version": "7.5.15",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "scripts": {
6
6
  "clear-npx-cache": "npx clear-npx-cache",