newcandies 0.1.8 → 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.
Files changed (2) hide show
  1. package/dist/index.js +6 -6
  2. 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", "--non-interactive"], { cwd: dest, stdio: "inherit" });
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: {
@@ -219,7 +219,7 @@ async function writeBaseline({ dest, name, withQuery }) {
219
219
  output: "static",
220
220
  favicon: "./assets/images/favicon.png"
221
221
  },
222
- plugins: [["expo-router", { appRoot: "./src/app" }]],
222
+ plugins: ["expo-router"],
223
223
  experiments: {
224
224
  typedRoutes: true
225
225
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "newcandies",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Scaffold Expo Router + Uniwind React Native apps with layered templates.",
5
5
  "type": "module",
6
6
  "bin": {