Add version info in logs on startup, clean up MPP config, include package.json in tsconfig, add version to package.json
This commit is contained in:
parent
72d2316b33
commit
e90446afda
|
@ -4,3 +4,4 @@ desiredUser:
|
|||
agents:
|
||||
wss://mppclone.com:
|
||||
- id: "✧𝓓𝓔𝓥 𝓡𝓸𝓸𝓶✧"
|
||||
- id: "test/awkward"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
enableConsole: true
|
||||
enableMPP: false
|
||||
enableMPP: true
|
||||
enableDiscord: true
|
||||
enableSwitchChat: false
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"name": "supercosmic",
|
||||
"version": "0.1.0",
|
||||
"module": "src/index.ts",
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import { loadConfig } from "./config";
|
||||
import { readFileSync } from "fs";
|
||||
import pkg from "../../package.json";
|
||||
|
||||
const config = loadConfig("config/ascii.yml", {
|
||||
path: "config/ascii.txt"
|
||||
|
@ -15,4 +16,7 @@ export function printStartupASCII() {
|
|||
for (const line of data.toString().split("\n")) {
|
||||
process.stdout.write(`\x1b[35m${line}\x1b[0m\n`);
|
||||
}
|
||||
|
||||
// Print version info
|
||||
process.stdout.write(`\x1b[35mv${pkg.version}\x1b[0m\n`);
|
||||
}
|
||||
|
|
|
@ -18,5 +18,6 @@
|
|||
"types": [
|
||||
"bun-types" // add Bun global
|
||||
]
|
||||
}
|
||||
},
|
||||
"include": ["package.json"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue