codebakers 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +33 -20
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1729,21 +1729,40 @@ import * as p from "@clack/prompts";
|
|
|
1729
1729
|
// src/utils/ui.ts
|
|
1730
1730
|
import chalk from "chalk";
|
|
1731
1731
|
var colors = {
|
|
1732
|
-
primary: chalk.hex("#
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1732
|
+
primary: chalk.hex("#7fff00"),
|
|
1733
|
+
// Lime green (accent)
|
|
1734
|
+
secondary: chalk.hex("#888888"),
|
|
1735
|
+
// Gray text
|
|
1736
|
+
muted: chalk.hex("#555555"),
|
|
1737
|
+
// Dimmed text
|
|
1738
|
+
success: chalk.hex("#27ae60"),
|
|
1739
|
+
// Green
|
|
1740
|
+
warning: chalk.hex("#f39c12"),
|
|
1741
|
+
// Orange
|
|
1742
|
+
error: chalk.hex("#e74c3c"),
|
|
1743
|
+
// Red
|
|
1744
|
+
info: chalk.hex("#3498db"),
|
|
1745
|
+
// Blue
|
|
1746
|
+
white: chalk.hex("#eeeeee"),
|
|
1747
|
+
dim: chalk.hex("#666666")
|
|
1748
|
+
};
|
|
1749
|
+
var sym = {
|
|
1750
|
+
check: chalk.green("\u2713"),
|
|
1751
|
+
cross: chalk.red("\u2717"),
|
|
1752
|
+
box: chalk.dim("\u2610"),
|
|
1753
|
+
bullet: chalk.dim("\u2022"),
|
|
1754
|
+
arrow: chalk.dim("\u2192"),
|
|
1755
|
+
ellipsis: "\u2026",
|
|
1756
|
+
spinner: "\u27F3"
|
|
1739
1757
|
};
|
|
1740
1758
|
function showHeader() {
|
|
1741
1759
|
console.clear();
|
|
1742
1760
|
console.log("");
|
|
1743
|
-
console.log(colors.
|
|
1744
|
-
console.log(colors.
|
|
1745
|
-
console.log(colors.
|
|
1746
|
-
console.log(colors.
|
|
1761
|
+
console.log(colors.muted(" \u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"));
|
|
1762
|
+
console.log(colors.muted(" \u2502") + colors.white(" \u{1F4E6} C O D E B A K E R S ") + colors.muted("\u2502"));
|
|
1763
|
+
console.log(colors.muted(" \u2502") + colors.dim(" ") + colors.muted("\u2502"));
|
|
1764
|
+
console.log(colors.muted(" \u2502") + colors.secondary(" AI Dev Team That Follows The Rules ") + colors.muted("\u2502"));
|
|
1765
|
+
console.log(colors.muted(" \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518"));
|
|
1747
1766
|
console.log("");
|
|
1748
1767
|
}
|
|
1749
1768
|
function showProjectStatus(name, framework) {
|
|
@@ -1753,19 +1772,13 @@ function showProjectStatus(name, framework) {
|
|
|
1753
1772
|
console.log("");
|
|
1754
1773
|
}
|
|
1755
1774
|
function showSuccess(message) {
|
|
1756
|
-
console.log(
|
|
1757
|
-
console.log(colors.success(` \u2705 ${message}`));
|
|
1758
|
-
console.log("");
|
|
1775
|
+
console.log(` ${sym.check} ${colors.white(message)}`);
|
|
1759
1776
|
}
|
|
1760
1777
|
function showError(message) {
|
|
1761
|
-
console.log(
|
|
1762
|
-
console.log(colors.error(` \u274C ${message}`));
|
|
1763
|
-
console.log("");
|
|
1778
|
+
console.log(` ${sym.cross} ${colors.error(message)}`);
|
|
1764
1779
|
}
|
|
1765
1780
|
function showWarning(message) {
|
|
1766
|
-
console.log("");
|
|
1767
|
-
console.log(colors.warning(` \u26A0\uFE0F ${message}`));
|
|
1768
|
-
console.log("");
|
|
1781
|
+
console.log(` ${colors.warning("\u26A0")} ${colors.warning(message)}`);
|
|
1769
1782
|
}
|
|
1770
1783
|
function showInfo(message) {
|
|
1771
1784
|
console.log(colors.muted(` \u2139\uFE0F ${message}`));
|
package/package.json
CHANGED