Lines 1-37javascript
2import{a as Yt,b as at,c as wo,d as Lt,e as ve,f as xe,g as _o,h as $o,i as qt,j as vo,l as gn}from"./chunk-ZPETQEMG.js";import{a as m,b as Eo,c as Ne,d as Io,e as Jt,f as ft,g as st,h as N}from"./chunk-S64YFTRR.js";import{Command as Qg,Option as We}from"commander";import{configDotenv as eh}from"dotenv";import{intro as me,outro as gc}from"@clack/prompts";import ce from"chalk";import{text as Ro,confirm as bc,spinner as Ac,isCancel as Wi,cancel as hn,note as Ec,outro as Ic}from"@clack/prompts";import yn from"chalk";async function Po(){try{let e=await Ro({message:"Enter Bucket Name:",placeholder: ...
3`;s+=`Region: ${yn.cyan(o.region)}
4`,s+=`S3 Website URL: ${yn.blue(o.s3WebsiteUrl)}`,o.cloudFrontId&&(s+=`
6CloudFront ID: ${yn.cyan(o.cloudFrontId)}`,s+=`
7CloudFront URL: ${yn.blue(o.cloudFrontUrl)}`),Ec(s,"Setup Complete!"),Ic("You are all set!")}catch(r){i.stop("Setup failed"),hn(`Error: ${r.response?.data?.message||r.message}`)}}catch(e){hn(`An unexpected error occurred: ${e.message}`)}}import{readdir as wc,writeFile as _c,access as $c,mkdir as vc}from"fs/promises";import{join as Do}from"path";import{spinner as Rc,text as Oo,isCancel as Co,cancel as Ji,note as Pc,outro as Dc}from"@clack/prompts";import Oc from"chalk";async function Cc(){let e=["./app","./src/app"];for(let t of e)try{return await $c(t),t}catch{}return null}async function ko( ...
8${s.map(u=>` \u2022 ${u.path}`).join(`
9`)}`,"Sitemap Summary"),Dc(`Sitemap saved to ${Oc.cyan(a)}`)}catch(t){Ji(`An error occurred: ${t.message}`)}}async function To(e,t=""){let n=[];try{let i=await wc(e,{withFileTypes:!0});for(let r of i){let o=Do(e,r.name);if(!(r.name.startsWith("_")||r.name.startsWith("."
10<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
11${e.map(r=>{let o=r.path;return o=o.replace(/\/\([^)]+\)/g,""),o=o.replace(/\/\[.*?\]/g,"/:id"),o=o.replace(/\/+/g
13 <lastmod>${n}</lastmod>
14 <changefreq>weekly</changefreq>
15 <priority>0.8</priority>
18</urlset>`}import{randomUUID as bp}from"crypto";import Ae from"path";import si from"axios";import Ap from"os";import{spinner as Cr,select as Vs,confirm as Ks,isCancel as ai,cancel as zs,log as R}from"@clack/prompts";import D from"chalk";import fe from"fs";import{execSync as Ws}from"child_process";import Js from"adm-zip";import{spinner as jc,log as Jn}from"@clack/prompts";import Lo from"chalk";import Mo from"fs";import Uo from"path";var No=`#!/bin/bash
19# --- Mach Cloud Build Script (Android) ---
20# All S3 operations use presigned URLs via curl \u2014 zero AWS credentials on instance.
21BUILD_ID="{{BUILD_ID}}"
24exec > >(tee /var/log/user-data.log | cat) 2>&1
25export PYTHONUNBUFFERED=1
26export GRADLE_OPTS="-Dorg.gradle.console=plain"
27echo "Starting build setup..."
29# Forward environment variables (includes PRESIGNED_* URLs + project secrets)
33export npm_config_engine_strict=false
34export npm_config_ignore_engines=true
CriticalSame File Env Network Execution
A single source file combines environment access, network access, and code or shell execution with blocking evidence.
dist/index.jsView on unpkg · L17 MediumInstall Persistence
Source writes installer persistence such as shell profile or service configuration.
dist/index.jsView on unpkg · L1 35export YARN_IGNORE_ENGINES=1
37# Check if this is a Pre-Warmed Mach AMI
Long lines were clipped for display.