Skip to content

Commit ba77104

Browse files
update ascii art
1 parent ec71d89 commit ba77104

File tree

4 files changed

+19
-23
lines changed

4 files changed

+19
-23
lines changed

.changeset/cool-pigs-wash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-better-t-stack": patch
3+
---
4+
5+
update ascii art

apps/cli/src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import pc from "picocolors";
44
import { DEFAULT_CONFIG } from "./constants";
55
import { createProject } from "./helpers/create-project";
66
import { gatherConfig } from "./prompts/config-prompts";
7-
import type { PackageManager, ProjectConfig, ProjectFeature } from "./types";
7+
import type { ProjectConfig, ProjectFeature } from "./types";
88
import { displayConfig } from "./utils/display-config";
99
import { generateReproducibleCommand } from "./utils/generate-reproducible-command";
1010
import { getVersion } from "./utils/get-version";
@@ -20,7 +20,6 @@ const program = new Command();
2020
async function main() {
2121
const s = spinner();
2222
try {
23-
process.stdout.write("\x1Bc");
2423
renderTitle();
2524
intro(pc.magenta("Creating a new Better-T-Stack project"));
2625
program

apps/cli/src/utils/generate-reproducible-command.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export function generateReproducibleCommand(config: ProjectConfig): string {
1414
flags.push("-y");
1515
}
1616

17-
// Handle database flag
1817
if (config.database !== DEFAULT_CONFIG.database) {
1918
if (config.database === "none") {
2019
flags.push("--no-database");
@@ -23,7 +22,6 @@ export function generateReproducibleCommand(config: ProjectConfig): string {
2322
}
2423
}
2524

26-
// Handle ORM flag only if database is not "none"
2725
if (config.database !== "none" && config.orm !== DEFAULT_CONFIG.orm) {
2826
flags.push(config.orm === "drizzle" ? "--drizzle" : "--prisma");
2927
}

apps/cli/src/utils/render-title.ts

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,22 @@
11
import gradient from "gradient-string";
22

33
export const TITLE_TEXT = `
4-
╔════════════════════════════════════════════════════════════╗
5-
║ ║
6-
║ ██████╗ ███████╗████████╗████████╗███████╗██████╗ ║
7-
║ ██╔══██╗██╔════╝╚══██╔══╝╚══██╔══╝██╔════╝██╔══██╗ ║
8-
║ ██████╔╝█████╗ ██║ ██║ █████╗ ██████╔╝ ║
9-
║ ██╔══██╗██╔══╝ ██║ ██║ ██╔══╝ ██╔══██╗ ║
10-
║ ██████╔╝███████╗ ██║ ██║ ███████╗██║ ██║ ║
11-
║ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝ ║
12-
║ ║
13-
║ ████████╗ ███████╗████████╗ █████╗ ██████╗██╗ ██╗ ║
14-
║ ╚══██╔══╝ ██╔════╝╚══██╔══╝██╔══██╗██╔════╝██║ ██╔╝ ║
15-
║ ██║ ███████╗ ██║ ███████║██║ █████╔╝ ║
16-
║ ██║ ╚════██║ ██║ ██╔══██║██║ ██╔═██╗ ║
17-
║ ██║ ███████║ ██║ ██║ ██║╚██████╗██║ ██╗ ║
18-
║ ╚═╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ║
19-
║ ║
20-
╚════════════════════════════════════════════════════════════╝
4+
██████╗ ███████╗████████╗████████╗███████╗██████╗
5+
██╔══██╗██╔════╝╚══██╔══╝╚══██╔══╝██╔════╝██╔══██╗
6+
██████╔╝█████╗ ██║ ██║ █████╗ ██████╔╝
7+
██╔══██╗██╔══╝ ██║ ██║ ██╔══╝ ██╔══██╗
8+
██████╔╝███████╗ ██║ ██║ ███████╗██║ ██║
9+
╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝
10+
11+
████████╗ ███████╗████████╗ █████╗ ██████╗██╗ ██╗
12+
╚══██╔══╝ ██╔════╝╚══██╔══╝██╔══██╗██╔════╝██║ ██╔╝
13+
██║ ███████╗ ██║ ███████║██║ █████╔╝
14+
██║ ╚════██║ ██║ ██╔══██║██║ ██╔═██╗
15+
██║ ███████║ ██║ ██║ ██║╚██████╗██║ ██╗
16+
╚═╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝
2117
`;
2218

2319
const catppuccinTheme = {
24-
rosewater: "#F5E0DC",
25-
flamingo: "#F2CDCD",
2620
pink: "#F5C2E7",
2721
mauve: "#CBA6F7",
2822
red: "#F38BA8",

0 commit comments

Comments
 (0)