@vxrn/takeout-cli
Version:
CLI tools for Takeout starter kit - interactive onboarding and project setup
95 lines (94 loc) • 3.71 kB
JavaScript
;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: !0 });
}, __copyProps = (to, from, except, desc) => {
if (from && typeof from == "object" || typeof from == "function")
for (let key of __getOwnPropNames(from))
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
var index_exports = {};
__export(index_exports, {
TAKEOUT_PORTS: () => import_ports.TAKEOUT_PORTS,
checkAllPorts: () => import_ports.checkAllPorts,
checkAllPrerequisites: () => import_prerequisites.checkAllPrerequisites,
checkBun: () => import_prerequisites.checkBun,
checkDocker: () => import_prerequisites.checkDocker,
checkGit: () => import_prerequisites.checkGit,
checkNode: () => import_prerequisites.checkNode,
checkOnboarded: () => import_files.checkOnboarded,
checkPort: () => import_ports.checkPort,
confirmContinue: () => import_prompts.confirmContinue,
copyEnvFile: () => import_env.copyEnvFile,
createEnvLocal: () => import_env.createEnvLocal,
displayOutro: () => import_prompts.displayOutro,
displayPortConflicts: () => import_prompts.displayPortConflicts,
displayPrerequisites: () => import_prompts.displayPrerequisites,
displayWelcome: () => import_prompts.displayWelcome,
envFileExists: () => import_env.envFileExists,
generateSecret: () => import_env.generateSecret,
getConflictingPorts: () => import_ports.getConflictingPorts,
hasPortConflicts: () => import_ports.hasPortConflicts,
hasRequiredPrerequisites: () => import_prerequisites.hasRequiredPrerequisites,
markOnboarded: () => import_files.markOnboarded,
promptPassword: () => import_prompts.promptPassword,
promptSelect: () => import_prompts.promptSelect,
promptText: () => import_prompts.promptText,
readEnvVariable: () => import_env.readEnvVariable,
showError: () => import_prompts.showError,
showInfo: () => import_prompts.showInfo,
showSpinner: () => import_prompts.showSpinner,
showStep: () => import_prompts.showStep,
showSuccess: () => import_prompts.showSuccess,
showWarning: () => import_prompts.showWarning,
updateAppConfig: () => import_files.updateAppConfig,
updateEnvVariable: () => import_env.updateEnvVariable,
updatePackageJson: () => import_files.updatePackageJson
});
module.exports = __toCommonJS(index_exports);
var import_prerequisites = require("./utils/prerequisites"), import_ports = require("./utils/ports"), import_env = require("./utils/env"), import_files = require("./utils/files"), import_prompts = require("./utils/prompts");
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
TAKEOUT_PORTS,
checkAllPorts,
checkAllPrerequisites,
checkBun,
checkDocker,
checkGit,
checkNode,
checkOnboarded,
checkPort,
confirmContinue,
copyEnvFile,
createEnvLocal,
displayOutro,
displayPortConflicts,
displayPrerequisites,
displayWelcome,
envFileExists,
generateSecret,
getConflictingPorts,
hasPortConflicts,
hasRequiredPrerequisites,
markOnboarded,
promptPassword,
promptSelect,
promptText,
readEnvVariable,
showError,
showInfo,
showSpinner,
showStep,
showSuccess,
showWarning,
updateAppConfig,
updateEnvVariable,
updatePackageJson
});
//# sourceMappingURL=index.js.map