Lines 37-77javascript
40Object.defineProperty(exports, "__esModule", { value: true });
41exports.configPath = configPath;
42exports.resolveDeployAsset = resolveDeployAsset;
43exports.loadConfig = loadConfig;
44exports.saveConfig = saveConfig;
45exports.gitRemoteUrl = gitRemoteUrl;
46exports.canPrompt = canPrompt;
47exports.awsCapture = awsCapture;
48exports.awsRun = awsRun;
49exports.awsAvailable = awsAvailable;
50exports.stackOutput = stackOutput;
51exports.uploadPlaceholder = uploadPlaceholder;
52exports.ghAvailable = ghAvailable;
53exports.ghAuthenticated = ghAuthenticated;
54exports.ghAuthLogin = ghAuthLogin;
55exports.setRepoVariable = setRepoVariable;
57exports.withPrompt = withPrompt;
58const child_process_1 = require("child_process");
59const fs = __importStar(require("fs"));
HighChild Process
Package source references child process execution.
dist/deploy/io.jsView on unpkg · L57 60const os = __importStar(require("os"));
61const path = __importStar(require("path"));
62const readline = __importStar(require("readline"));
63const workflows_1 = require("./workflows");
64const config_1 = require("./config");
65const zip_1 = require("./zip");
66/** Absolute path to the deploy config for a project root. */
67function configPath(cwd = process.cwd()) {
68 return path.join(cwd, workflows_1.CONFIG_PATH);
71 * Resolve a CloudFormation asset (`app.yaml`, `bootstrap.yaml`, or the
72 * `placeholder/bootstrap` Lambda bundle) to an absolute on-disk path.
74 * The templates are the **framework's** IaC, not the consumer's — the demo repo
75 * and every future app repo deliberately do not carry a copy (see
76 * deploy/cloudformation/README.md). So `init`/`bootstrap`, which run in those
77 * repos, cannot assume `deploy/cloudformation/<asset>` exists relative to the