newcandies 0.1.9 → 0.1.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.
- package/dist/index.js +6 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -117,7 +117,7 @@ async function main() {
|
|
|
117
117
|
if (opts.prebuild !== false) {
|
|
118
118
|
const sp = p.spinner();
|
|
119
119
|
sp.start("Generating ios/android (expo prebuild)");
|
|
120
|
-
await execa("npx", ["expo", "prebuild"], { cwd: dest, stdio: "inherit", env: { ...process.env, CI: "1" } });
|
|
120
|
+
await execa("npx", ["expo", "prebuild"], { cwd: dest, stdio: "inherit", env: { ...process.env, CI: "1", EXPO_ROUTER_APP_ROOT: "src/app" } });
|
|
121
121
|
sp.stop("Native projects generated");
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -170,10 +170,10 @@ async function writeBaseline({ dest, name, withQuery }) {
|
|
|
170
170
|
private: true,
|
|
171
171
|
main: "expo-router/entry",
|
|
172
172
|
scripts: {
|
|
173
|
-
start: "expo start",
|
|
174
|
-
android: "expo run:android",
|
|
175
|
-
ios: "expo run:ios",
|
|
176
|
-
prebuild: "expo prebuild"
|
|
173
|
+
start: "EXPO_ROUTER_APP_ROOT=src/app expo start",
|
|
174
|
+
android: "EXPO_ROUTER_APP_ROOT=src/app expo run:android",
|
|
175
|
+
ios: "EXPO_ROUTER_APP_ROOT=src/app expo run:ios",
|
|
176
|
+
prebuild: "EXPO_ROUTER_APP_ROOT=src/app expo prebuild"
|
|
177
177
|
},
|
|
178
178
|
dependencies: baseDeps,
|
|
179
179
|
devDependencies: {
|
|
@@ -462,7 +462,7 @@ function RootLayoutNav() {
|
|
|
462
462
|
import FontAwesome from '@expo/vector-icons/FontAwesome';
|
|
463
463
|
import { Link, Tabs } from 'expo-router';
|
|
464
464
|
import { Pressable } from 'react-native';
|
|
465
|
-
import '
|
|
465
|
+
import '../../../global.css';
|
|
466
466
|
|
|
467
467
|
function TabBarIcon(props: { name: React.ComponentProps<typeof FontAwesome>['name']; color: string; }) {
|
|
468
468
|
return <FontAwesome size={28} style={{ marginBottom: -3 }} {...props} />;
|