@fto-consult/expo-ui 8.17.2 → 8.17.4

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.
@@ -18,6 +18,9 @@ module.exports = (opts)=>{
18
18
  const expo = path.resolve(expoUI,"src");
19
19
  r["$ecomponents"] = r["$expo-components"] = path.resolve(expo,"components");
20
20
  r["$econfirm"] = path.resolve(r["$expo-components"],"Dialog","confirm");
21
+ if(!r.$confirm){
22
+ r.$confirm = r.$econfirm;
23
+ }
21
24
  r["$eauth"] = path.resolve(expo,"auth");
22
25
  r["$elayouts"] = path.resolve(expo,"layouts");
23
26
  r["$emedia"] = path.resolve(expo,"media");
package/bin/update.js CHANGED
@@ -20,8 +20,8 @@ if(fs.existsSync(mainJSONPath)){
20
20
  const filteredDeps = Object.keys(filterdDObj);
21
21
  if(filteredDeps.length){
22
22
  const script = filteredDeps.join(" ");
23
- exec(`npx expo install ${script}`,{projectRoot}).finally((i)=>{
24
- exec(`npx expo install --fix`,{projectRoot}).finally(()=>{
23
+ exec(`npm install expo`,{projectRoot}).finally(()=>{
24
+ exec(`npx expo install ${script} --fix`,{projectRoot}).finally((i)=>{
25
25
  const newPackageJS = JSON.parse(fs.readFileSync(mainJSONPath));
26
26
  let hasChanged = false;
27
27
  if(newPackageJS?.dependencies && typeof newPackageJS?.dependencies =="object"){
@@ -42,8 +42,8 @@ module.exports = ${JSON.stringify(dependencies,null,"\t")};
42
42
  console.log(e," is generated error");
43
43
  }
44
44
  }
45
- });
46
- });
45
+ });
46
+ })
47
47
  } else {
48
48
  console.log("Aucune dépendence expo à mettre à jour");
49
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "8.17.2",
3
+ "version": "8.17.4",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "scripts": {
6
6
  "clear-npx-cache": "npx clear-npx-cache",
@@ -1,6 +1,6 @@
1
1
  import PropTypes from "prop-types";
2
2
  import KeyboardEventHandler from "../KeyboardEventHandler";
3
- import { addMediaQueryUpdateStyeSubscription } from "$context/hooks";
3
+ import { addMediaQueryUpdateStyeSubscription } from "$econtext/hooks";
4
4
  import Dimensions from "$cdimensions";
5
5
  const {getActions,getFormFields,Forms} = require("../utils")
6
6
  import TextField,{parseDecimal} from "$ecomponents/TextField";