@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 +0 -1
- package/metro.config.js +1 -0
- package/package.json +1 -1
- package/src/media/file-system/utils/index.js +1 -1
- package/src/media/file-system/utils/index.native.js +1 -0
- package/src/media/file-system/utils/native/index.js +1 -0
- package/src/media/file-system/{utils.web → utils/web}/index.js +2 -2
- package/src/media/file-system/utils.web/utils.js +0 -4
- /package/src/media/file-system/{utils.web → utils/web}/write.js +0 -0
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 +1 @@
|
|
|
1
|
-
export * from "
|
|
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 "
|
|
2
|
-
import {
|
|
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;
|
|
File without changes
|