lucy-cli 2.0.0-alpha.4 → 2.0.0-alpha.5
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/package.json +1 -1
- package/src/init.ts +7 -3
package/package.json
CHANGED
package/src/init.ts
CHANGED
@@ -311,10 +311,14 @@ const init_expo = () => {
|
|
311
311
|
)
|
312
312
|
|
313
313
|
let res = yield* yarn
|
314
|
+
if (res !== 0) {
|
315
|
+
return yield* Effect.logError("Failed to install dependencies. Please check the error message above.");
|
316
|
+
}
|
314
317
|
res = yield* yarnDev
|
315
|
-
|
318
|
+
if (res !== 0) {
|
319
|
+
return yield* Effect.logError("Failed to install dev dependencies. Please check the error message above.");
|
320
|
+
}
|
316
321
|
res = yield* npx
|
317
|
-
|
318
322
|
if (res !== 0) {
|
319
323
|
return yield* Effect.logError("Failed to install Expo dependencies. Please check the error message above.");
|
320
324
|
}
|
@@ -328,7 +332,7 @@ const init_expo = () => {
|
|
328
332
|
"reset": "tsx ./scripts/reset-project.ts",
|
329
333
|
"format": "prettier --write \"./*.json\" \"**/*.{ts,tsx,md,json,jsonc,json5}\"",
|
330
334
|
"prebuild": "expo prebuild",
|
331
|
-
"pods": "
|
335
|
+
"pods": "npxpod-install",
|
332
336
|
"build:dev": "eas build --local --profile development",
|
333
337
|
"build:sim": "eas build --local --profile ios-simulator",
|
334
338
|
"build:prev": "eas build --local --profile preview",
|