@fto-consult/expo-ui 2.7.5 → 2.7.7
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 +5 -1
- package/package.json +2 -2
package/expo-ui-path.js
CHANGED
|
@@ -4,9 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
const fs = require("fs");
|
|
6
6
|
const path = require("path");
|
|
7
|
+
const { hideBin } = require('yargs/helpers')
|
|
8
|
+
const yargs = require('yargs/yargs');
|
|
7
9
|
///retourne le chemin vers le package @expo-ui
|
|
8
10
|
module.exports = function (...args){
|
|
9
|
-
const argv =
|
|
11
|
+
const argv = yargs(hideBin(process.argv)).argv
|
|
12
|
+
console.log(argv," is arggggggggggggggg");
|
|
10
13
|
let isBuild = false;
|
|
11
14
|
const expoUIPath = "@fto-consult/expo-ui";
|
|
12
15
|
if(typeof argv == 'object' && argv && !Array.isArray(argv)){
|
|
@@ -18,6 +21,7 @@ module.exports = function (...args){
|
|
|
18
21
|
}
|
|
19
22
|
}
|
|
20
23
|
}
|
|
24
|
+
console.log(isBuild,args," is build anda arr")
|
|
21
25
|
if(isBuild){
|
|
22
26
|
return expoUIPath;
|
|
23
27
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fto-consult/expo-ui",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.7",
|
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"resolutions": {
|
|
@@ -110,6 +110,6 @@
|
|
|
110
110
|
"react-native-webview": "11.23.1",
|
|
111
111
|
"sharp-cli": "^2.1.0",
|
|
112
112
|
"tippy.js": "^6.3.7",
|
|
113
|
-
"yargs
|
|
113
|
+
"yargs": "^17.1.1-candidate.0"
|
|
114
114
|
}
|
|
115
115
|
}
|