replace chalk with nanocolors

This commit is contained in:
uurgothat
2021-10-04 22:39:50 +03:00
parent 4ea441ca1d
commit 1882beef0c
10 changed files with 7 additions and 6 deletions
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -54,9 +54,9 @@
"@fosscord/gateway": "file:../gateway",
"@fosscord/util": "file:../util",
"async-exit-hook": "^2.0.1",
"chalk": "^4.1.2",
"express": "^4.17.1",
"missing-native-js-functions": "^1.2.15",
"nanocolors": "^0.2.12",
"node-os-utils": "^1.3.5",
"tsconfig-paths": "^3.11.0"
}
+1 -1
View File
@@ -6,7 +6,7 @@ import { FosscordServer as APIServer } from "@fosscord/api";
import { Server as GatewayServer } from "@fosscord/gateway";
import { CDNServer } from "@fosscord/cdn/";
import express from "express";
import { red, green, bold } from "chalk";
import { red, green, bold } from "nanocolors";
import { Config, initDatabase } from "@fosscord/util";
const app = express();
+1 -1
View File
@@ -1,7 +1,7 @@
// process.env.MONGOMS_DEBUG = "true";
import cluster from "cluster";
import os from "os";
import { red, bold, yellow, cyan } from "chalk";
import { red, bold, yellow, cyan } from "nanocolors";
import { initStats } from "./stats";
import { execSync } from "child_process";