@fto-consult/expo-ui 8.4.7 → 8.4.8
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/bin/create-app.js +3 -1
- package/package.json +1 -2
- package/src/AppEntry/index.js +1 -1
package/bin/create-app.js
CHANGED
@@ -45,6 +45,8 @@ module.exports = function(appName,{projectRoot:root}){
|
|
45
45
|
[euModule] : packageObj.version,
|
46
46
|
"expo" : packageObj.devDependencies.expo,
|
47
47
|
[rnModule] : packageObj.dependencies[rnModule],
|
48
|
+
"react-native-reanimated" : "latest",
|
49
|
+
"react-native-gesture-handler" : "latest",
|
48
50
|
},
|
49
51
|
devDependencies : devDeps
|
50
52
|
}
|
@@ -78,7 +80,7 @@ module.exports = function(appName,{projectRoot:root}){
|
|
78
80
|
createEntryFile(projectRoot);
|
79
81
|
copy(path.resolve(getAppDir(),"src"),path.resolve(projectRoot,"src"),{recursive:true,overwrite:false});
|
80
82
|
console.log("installing dependencies ...");
|
81
|
-
return exec(`
|
83
|
+
return exec(`npx expo install --fix`,{projectRoot}).finally(()=>{
|
82
84
|
setTimeout(()=>{
|
83
85
|
console.log("application ready");
|
84
86
|
process.exit();
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fto-consult/expo-ui",
|
3
|
-
"version": "8.4.
|
3
|
+
"version": "8.4.8",
|
4
4
|
"description": "Bibliothèque de composants UI Expo,react-native",
|
5
5
|
"scripts": {
|
6
6
|
"clear-npx-cache": "npx clear-npx-cache",
|
@@ -113,7 +113,6 @@
|
|
113
113
|
"react-native-mime-types": "^2.4.0",
|
114
114
|
"react-native-paper": "^5.12.1",
|
115
115
|
"react-native-paper-dates": "^0.21.7",
|
116
|
-
"react-native-reanimated": "~3.6.0",
|
117
116
|
"react-native-safe-area-context": "4.8.2",
|
118
117
|
"react-native-screens": "~3.29.0",
|
119
118
|
"react-native-svg": "14.1.0",
|
package/src/AppEntry/index.js
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import React from "$react"
|
2
|
+
import "react-native-gesture-handler";
|
2
3
|
import { AppState} from "react-native";
|
3
4
|
import BackHandler from "$ecomponents/BackHandler";
|
4
5
|
import * as Linking from 'expo-linking';
|
@@ -40,7 +41,6 @@ import { StyleSheet } from "react-native";
|
|
40
41
|
import Logo from "$ecomponents/Logo";
|
41
42
|
import AppEntryRootView from "./RootView";
|
42
43
|
import { SafeAreaProvider } from 'react-native-safe-area-context';
|
43
|
-
import {isNeutralino} from "$cplatform";
|
44
44
|
|
45
45
|
let MAX_BACK_COUNT = 1;
|
46
46
|
let countBack = 0;
|