@radhya/mach 2.1.9 → 2.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 +10 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -429,6 +429,16 @@ if [ -f "yarn.lock" ]; then
429
429
  else
430
430
  npm install --no-audit --no-fund --prefer-offline
431
431
  fi
432
+ INSTALL_EXIT_CODE=$?
433
+ if [ $INSTALL_EXIT_CODE -ne 0 ]; then
434
+ echo "\\n[SYSTEM] Dependency install failed with exit code $INSTALL_EXIT_CODE. Stopping before Expo prebuild/Gradle."
435
+ upload_logs
436
+ report_status "failed" "Dependency install failed with exit code $INSTALL_EXIT_CODE"
437
+ mark_done
438
+ sleep 5
439
+ sudo shutdown -h now
440
+ exit $INSTALL_EXIT_CODE
441
+ fi
432
442
  clear_js_transform_caches
433
443
 
434
444
  # --- Injected Version Code (Auto-versioning) ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radhya/mach",
3
- "version": "2.1.9",
3
+ "version": "2.1.10",
4
4
  "description": "Mach CLI: Cloud Build Orchestrator for React Native & Expo",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",