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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/init.ts +7 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "lucy-cli",
4
- "version": "2.0.0-alpha.4",
4
+ "version": "2.0.0-alpha.5",
5
5
  "description": "Lucy Framework for WIX Studio Editor",
6
6
  "main": ".dist/index.js",
7
7
  "scripts": {
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
- console.log("🐕 " + 'npx');
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": "npx pod-install",
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",