@fto-consult/expo-ui 6.64.10 → 6.64.11

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.
@@ -1,8 +1,8 @@
1
1
  import ExpoUIProvider from "$expo-ui";
2
- import screens from "./src/screens";
3
- import drawerItems from "./src/navigation/drawerItems";
4
- import Logo from "./src/components/Logo";
5
- import drawerSections from "./src/navigation/drawerSections";
2
+ import screens from "$screens";
3
+ import drawerItems from "$navigation/drawerItems";
4
+ import Logo from "$components/Logo";
5
+ import drawerSections from "$navigation/drawerSections";
6
6
 
7
7
  export default function AppMainEntry(){
8
8
  return <ExpoUIProvider
package/bin/create-app.js CHANGED
@@ -103,7 +103,12 @@ const createEntryFile = (projectRoot)=>{
103
103
  const createAPPJSONFile = (projectRoot,{name,version})=>{
104
104
  version = version ||"1.0.0";
105
105
  copy(path.join(getAppDir(),"assets"),path.resolve(projectRoot,"assets"),{overwrite:false}).catch((e)=>{});
106
- copy(path.join(getAppDir(),".gitignore"),path.resolve(projectRoot,".gitignore"),{overwrite:false}).catch((e)=>{});
106
+ const gP = path.resolve(projectRoot,".gitignore"), gSpath = fs.existsSync(path.join(getAppDir(),".gitignore")) ;
107
+ if(fs.existsSync(gSpath) && !fs.existsSync(gP)){
108
+ try {
109
+ writeFile(gP,fs.readFileSync(gSpath));
110
+ } catch{};
111
+ }
107
112
  const appJSONPath = path.join(projectRoot,"app.json");
108
113
  if(!fs.existsSync(appJSONPath)){
109
114
  writeFile(appJSONPath,`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "6.64.10",
3
+ "version": "6.64.11",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "main",
6
6
  "scripts": {