newcandies 0.1.9 → 0.1.10
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 +5 -5
- 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: {
|