@fto-consult/expo-ui 6.17.4 → 6.18.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.
package/babel.config.js CHANGED
@@ -10,12 +10,8 @@ module.exports = function(api,opts) {
10
10
  const fs = require("fs");
11
11
  const dir = path.resolve(__dirname);
12
12
  typeof api.cache =='function' && api.cache(true);
13
- const inlineDovOptions = { unsafe: true};
14
13
  const options = {base:dir,...opts,platform:"expo"};
15
- const environmentPath = require("./copy-env-file")();
16
- if(fs.existsSync(environmentPath)){
17
- inlineDovOptions.path ='./.env';
18
- }
14
+ require("./copy-env-file")();
19
15
  /*** 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 */
20
16
  const alias = require("./babel.config.alias")(options);
21
17
  const $eelectron = alias.$eelectron || null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "6.17.4",
3
+ "version": "6.18.1",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -114,8 +114,6 @@
114
114
  },
115
115
  "devDependencies": {
116
116
  "@expo/metro-config": "^0.10.6",
117
- "babel-plugin-inline-dotenv": "^1.7.0",
118
- "babel-plugin-module-resolver": "^5.0.0",
119
- "babel-plugin-transform-inline-environment-variables": "^0.4.4"
117
+ "babel-plugin-module-resolver": "^5.0.0"
120
118
  }
121
119
  }
package/readMe.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ## Installation des dépendences, packages de dévéloppement
2
2
 
3
3
  ```javascript
4
- npm i --D babel-plugin-inline-dotenv babel-plugin-module-resolver babel-plugin-transform-inline-environment-variables @expo/metro-config @expo/webpack-config
4
+ npm i --D babel-plugin-module-resolver @expo/metro-config @expo/webpack-config
5
5
  ```
6
6
 
7
7
  ## **#ELECTRON**
@@ -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
-