Skip to content

Commit 06c00b5

Browse files
committed
🖍 Update coloring and remove extra dist file
1 parent f8a6141 commit 06c00b5

File tree

3 files changed

+2
-52
lines changed

3 files changed

+2
-52
lines changed

dist/utils.js

Lines changed: 0 additions & 39 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"private": true,
77
"scripts": {
88
"build": "tsc",
9-
"pack": "ncc build",
9+
"pack": "ncc build src/index.ts",
1010
"test": "echo \"Error: no test specified\" && exit 1",
1111
"lint": "eslint **/*.ts --cache",
1212
"format": "prettier --write **/*.ts",

src/utils.ts

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,7 @@ enum ForegroundColor {
2020
White = "\x1b[37m"
2121
}
2222

23-
enum BackgroundColor {
24-
Black = "\x1b[40m",
25-
Red = "\x1b[41m",
26-
Green = "\x1b[42m",
27-
Yellow = "\x1b[43m",
28-
Blue = "\x1b[44m",
29-
Magenta = "\x1b[45m",
30-
Cyan = "\x1b[46m",
31-
White = "\x1b[47m"
32-
}
33-
3423
export function logInfo(message: string): void {
35-
const textFormat = `${TextEffect.Underscore}${ForegroundColor.Cyan}${BackgroundColor.Black}`;
24+
const textFormat = `${TextEffect.Underscore}${ForegroundColor.Cyan}`;
3625
console.log(`${textFormat}${message}${ColorReset}`);
3726
}

0 commit comments

Comments
 (0)