create-app-setup
Version:
A CLI tool to quickly set up frontend & backend projects with various frameworks.
41 lines (40 loc) • 1.49 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.warning = exports.title = exports.success = exports.secondary = exports.process = exports.info = exports.important = exports.highlight = exports.failed = exports.error = exports.done = exports.chalk = exports.alert = void 0;
const chalk = require("chalk");
exports.chalk = chalk;
// ✅ Success Messages (Green)
const success = chalk.green.bold;
exports.success = success;
// ❌ Error Messages (Red)
const error = chalk.red.bold;
exports.error = error;
// ⚠️ Warning Messages (Yellow)
const warning = chalk.yellow.bold;
exports.warning = warning;
// 🔵 Info Messages (Cyan/Blue)
const info = chalk.cyan.bold;
exports.info = info;
// 🔄 Process Messages (Magenta)
const process = chalk.magenta.bold;
exports.process = process;
// 🎉 Highlight/Title (Bright Blue)
const title = chalk.blueBright.bold;
exports.title = title;
// 🟡 Secondary Messages (Gray)
const secondary = chalk.gray;
exports.secondary = secondary;
// 🆕 Emphasized Text (White + Underline)
const highlight = chalk.white.underline;
exports.highlight = highlight;
// 🟢 Status (Green with Emoji)
const done = chalk.green("✔ Done!");
exports.done = done;
// ❌ Failure (Red with Emoji)
const failed = chalk.red("✖ Failed!");
exports.failed = failed;
// 🛠 Custom Styled Messages
const important = chalk.bgBlue.white.bold;
exports.important = important;
const alert = chalk.bgRed.white.bold;
exports.alert = alert;
;