@fto-consult/expo-ui 1.1.20 → 1.1.21
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 +6 -1
- package/package.json +2 -2
package/expo-ui-path.js
CHANGED
|
@@ -7,7 +7,12 @@ const path = require("path");
|
|
|
7
7
|
const dir = path.resolve(__dirname)
|
|
8
8
|
///retourne le chemin vers le package @expo-ui
|
|
9
9
|
module.exports = function ([...args]){
|
|
10
|
-
|
|
10
|
+
let suffix = "";
|
|
11
|
+
args.map(a=>{
|
|
12
|
+
if(typeof a =='string' && a){
|
|
13
|
+
suffix+=(suffix?(path.resolve(suffix,a)):a);
|
|
14
|
+
}
|
|
15
|
+
});
|
|
11
16
|
console.log("suffix is suffix heinn ",suffix)
|
|
12
17
|
const p = lookupForExpoUIPath();
|
|
13
18
|
if(p && fs.existsSync(p)){
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fto-consult/expo-ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.21",
|
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"
|
|
7
|
+
"publish1": "npm publish --access=public",
|
|
8
8
|
"unpublish": "npm -f unpublish @fto-consult/expo-ui",
|
|
9
9
|
"build-web": "",
|
|
10
10
|
"dev": "npx expo start -c --no-minify",
|