create-message-kit 1.0.19 → 1.0.20
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +6 -5
- package/package.json +1 -1
package/index.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
import { program } from "commander";
|
3
3
|
import { dirname, resolve } from "node:path";
|
4
4
|
import { fileURLToPath } from "node:url";
|
5
|
-
import {
|
5
|
+
import { log, outro, text, select } from "@clack/prompts";
|
6
6
|
import { default as fs } from "fs-extra";
|
7
7
|
import { isCancel } from "@clack/prompts";
|
8
8
|
import pc from "picocolors";
|
@@ -19,16 +19,17 @@ program
|
|
19
19
|
.name("byob")
|
20
20
|
.description("CLI to initialize projects")
|
21
21
|
.action(async () => {
|
22
|
-
|
23
|
-
|
22
|
+
log.info(pc.cyan(`Welcome to MessageKit v${version}!`));
|
23
|
+
const coolLogo = `
|
24
24
|
███╗ ███╗███████╗███████╗███████╗ █████╗ ██████╗ ███████╗██╗ ██╗██╗████████╗
|
25
25
|
████╗ ████║██╔════╝██╔════╝██╔════╝██╔══██╗██╔════╝ ██╔════╝██║ ██╔╝██║╚══██╔══╝
|
26
26
|
██╔████╔██║█████╗ ███████╗███████╗███████║██║ ███╗█████╗ █████╔╝ ██║ ██║
|
27
27
|
██║╚██╔╝██║██╔══╝ ╚════██║╚════██║██╔══██║██║ ██║██╔══╝ ██╔═██╗ ██║ ██║
|
28
28
|
██║ ╚═╝ ██║███████╗███████║███████║██║ ██║╚██████╔╝███████╗██║ ██╗██║ ██║
|
29
29
|
╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝
|
30
|
-
Powered by XMTP
|
31
|
-
|
30
|
+
Powered by XMTP`;
|
31
|
+
|
32
|
+
log.info(pc.cyan(coolLogo));
|
32
33
|
|
33
34
|
const { templateType, displayName, destDir } = await gatherProjectInfo();
|
34
35
|
|