@fto-consult/expo-ui 6.18.0 → 6.18.2

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.js CHANGED
@@ -11,7 +11,6 @@ module.exports = function(api,opts) {
11
11
  const dir = path.resolve(__dirname);
12
12
  typeof api.cache =='function' && api.cache(true);
13
13
  const options = {base:dir,...opts,platform:"expo"};
14
- require("./copy-env-file")();
15
14
  /*** par défaut, les variables d'environnements sont stockés dans le fichier .env situé à la racine du projet, référencée par la prop base */
16
15
  const alias = require("./babel.config.alias")(options);
17
16
  const $eelectron = alias.$eelectron || null;
package/metro.config.js CHANGED
@@ -1,5 +1,6 @@
1
1
  const path = require("path");
2
2
  const fs = require("fs");
3
+ require("./copy-env-file")();
3
4
  module.exports = function(opts){
4
5
  const nodeModulePath = `${process.cwd()}/node_modules`;
5
6
  const mConfigPath = fs.existsSync(`${nodeModulePath}/@expo/metro-config`) && `${nodeModulePath}/@expo/metro-config` || "@expo/metro-config";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "6.18.0",
3
+ "version": "6.18.2",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1 +1 @@
1
- export * from "expo-file-system";
1
+ export * from "./web";
@@ -0,0 +1 @@
1
+ export * from "./native";
@@ -0,0 +1 @@
1
+ export * from "expo-file-system";
@@ -1,5 +1,5 @@
1
- import { isAssets } from "../../Assets/utils";
2
- import {defaultStr,isNonNullString} from "$cutils";
1
+ import { isAssets } from "../../../Assets/utils";
2
+ import {isNonNullString} from "$cutils";
3
3
 
4
4
  export const readBlob = (asset)=>{
5
5
  const uri = isAssets(asset)? asset.uri :isNonNullString(asset)? asset : undefined;
@@ -1,4 +0,0 @@
1
- // Copyright 2022 @fto-consult/Boris Fouomene. All rights reserved.
2
- // Use of this source code is governed by a BSD-style
3
- // license that can be found in the LICENSE file.
4
-