@fto-consult/expo-ui 6.20.21 → 6.20.23
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,7 +1,7 @@
|
|
|
1
1
|
import registerApp from "$expo-ui-root-path";
|
|
2
|
-
import screens from "
|
|
3
|
-
import drawerItems from "
|
|
4
|
-
import Logo from "
|
|
2
|
+
import screens from "./src/screens";
|
|
3
|
+
import drawerItems from "./src/navigation/drawerItems";
|
|
4
|
+
import Logo from "./src/components/Logo";
|
|
5
5
|
|
|
6
6
|
registerApp({
|
|
7
7
|
/**** application navigation */
|
package/bin/create-app.js
CHANGED
|
@@ -12,7 +12,7 @@ module.exports = function(parsedArgs,{projectRoot:root}){
|
|
|
12
12
|
}
|
|
13
13
|
const devDependencies = packageObj.devDependencies;
|
|
14
14
|
const inSameFolder = typeof mainPackage?.name =="string" && mainPackage?.name.trim().toLowerCase() === name?.toLowerCase().trim();
|
|
15
|
-
const projectRoot = path.join(`${root}/${inSameFolder && name || ""}`);
|
|
15
|
+
const projectRoot = path.join(`${root}/${!inSameFolder && name || ""}`);
|
|
16
16
|
createDirSync(projectRoot);
|
|
17
17
|
const mainPackagePath = path.join(projectRoot,"package.json");
|
|
18
18
|
mainPackage = fs.existsSync(mainPackagePath) && require(`${mainPackagePath}`) || null;
|