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