Lines 1-37javascript
2import{a as zt,b as He,c as $o,d as Tt,e as ve,f as xe,g as vo,h as Ro,i as Wt,j as Po,l as mn}from"./chunk-ZPETQEMG.js";import{a as m,b as wo,c as Ne,d as _o,e as Kt,f as dt,g as ot,h as N}from"./chunk-S64YFTRR.js";import{Command as Wg,Option as Je}from"commander";import{configDotenv as Jg}from"dotenv";import{intro as ge,outro as mc}from"@clack/prompts";import ce from"chalk";import{text as Do,confirm as Sc,spinner as bc,isCancel as Yi,cancel as gn,note as Ac,outro as Ec}from"@clack/prompts";import hn from"chalk";async function Oo(){try{let e=await Do({message:"Enter Bucket Name:",placeholder: ...
3`;s+=`Region: ${hn.cyan(o.region)}
4`,s+=`S3 Website URL: ${hn.blue(o.s3WebsiteUrl)}`,o.cloudFrontId&&(s+=`
6CloudFront ID: ${hn.cyan(o.cloudFrontId)}`,s+=`
7CloudFront URL: ${hn.blue(o.cloudFrontUrl)}`),Ac(s,"Setup Complete!"),Ec("You are all set!")}catch(r){i.stop("Setup failed"),gn(`Error: ${r.response?.data?.message||r.message}`)}}catch(e){gn(`An unexpected error occurred: ${e.message}`)}}import{readdir as Ic,writeFile as wc,access as _c,mkdir as $c}from"fs/promises";import{join as Co}from"path";import{spinner as vc,text as ko,isCancel as To,cancel as qi,note as Rc,outro as Pc}from"@clack/prompts";import Dc from"chalk";async function Oc(){let e=["./app","./src/app"];for(let t of e)try{return await _c(t),t}catch{}return null}async function No( ...
8${s.map(u=>` \u2022 ${u.path}`).join(`
9`)}`,"Sitemap Summary"),Pc(`Sitemap saved to ${Dc.cyan(a)}`)}catch(t){qi(`An error occurred: ${t.message}`)}}async function xo(e,t=""){let n=[];try{let i=await Ic(e,{withFileTypes:!0});for(let r of i){let o=Co(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 hp}from"crypto";import Ee from"path";import ai from"axios";import yp from"os";import{spinner as Tr,select as Ks,confirm as zs,isCancel as li,cancel as Ws,log as O}from"@clack/prompts";import C from"chalk";import ue from"fs";import{execSync as Js}from"child_process";import Ys from"adm-zip";import{spinner as Bc,log as qn}from"@clack/prompts";import Uo from"chalk";import Fo from"fs";import Bo from"path";var Lo=`#!/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.