Standalone npm package at packages/buildthis/. Probes running Nexus instance, opens browser if found, guides install with hardware-aware provider recommendations if not. 14 tests. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
24 lines
1.5 KiB
TypeScript
24 lines
1.5 KiB
TypeScript
import pc from "picocolors";
|
|
|
|
const BUILDTHIS_ART = [
|
|
"██████╗ ██╗ ██╗██╗██╗ ██████╗ ████████╗██╗ ██╗██╗███████╗",
|
|
"██╔══██╗██║ ██║██║██║ ██╔══██╗╚══██╔══╝██║ ██║██║██╔════╝",
|
|
"██████╔╝██║ ██║██║██║ ██║ ██║ ██║ ███████║██║███████╗",
|
|
"██╔══██╗██║ ██║██║██║ ██║ ██║ ██║ ██╔══██║██║╚════██║",
|
|
"██████╔╝╚██████╔╝██║███████╗██████╔╝ ██║ ██║ ██║██║███████║",
|
|
"╚═════╝ ╚═════╝ ╚═╝╚══════╝╚═════╝ ╚═╝ ╚═╝ ╚═╝╚═╝╚══════╝",
|
|
] as const;
|
|
|
|
const TAGLINE = "Bootstrap your AI workspace";
|
|
|
|
export function printBuildthisBanner(): void {
|
|
const lines = [
|
|
"",
|
|
...BUILDTHIS_ART.map((line) => pc.cyan(line)),
|
|
pc.blue(" ──────────────────────────────────────────────────────────────────"),
|
|
pc.bold(pc.white(` ${TAGLINE}`)),
|
|
"",
|
|
];
|
|
|
|
console.log(lines.join("\n"));
|
|
}
|