diff --git a/config/mpp_net_channels.yml b/config/mpp_net_channels.yml index f0bd645..b49d1f3 100644 --- a/config/mpp_net_channels.yml +++ b/config/mpp_net_channels.yml @@ -4,3 +4,4 @@ desiredUser: agents: wss://mppclone.com: - id: "βœ§π““π“”π“₯ π“‘π“Έπ“Έπ“Άβœ§" + - id: "test/awkward" diff --git a/config/services.yml b/config/services.yml index 1163dc4..ab21468 100644 --- a/config/services.yml +++ b/config/services.yml @@ -1,4 +1,4 @@ enableConsole: true -enableMPP: false +enableMPP: true enableDiscord: true enableSwitchChat: false diff --git a/package.json b/package.json index ee7f5cc..0b370ae 100644 --- a/package.json +++ b/package.json @@ -1,26 +1,27 @@ { - "name": "supercosmic", - "module": "src/index.ts", - "type": "module", - "devDependencies": { - "bun-types": "latest" - }, - "peerDependencies": { - "typescript": "^5.0.0" - }, - "dependencies": { - "@prisma/client": "^5.5.2", - "@t3-oss/env-core": "^0.7.1", - "discord.js": "^14.14.1", - "dotenv": "^16.3.1", - "hyperimport": "^0.1.0", - "mathjs": "^11.11.2", - "mpp-client-net": "^1.1.3", - "mpp-client-xt": "^1.3.1", - "prisma": "^5.4.2", - "switchchat": "^3.2.1", - "typescript": "^5.3.2", - "yaml": "^2.3.3", - "zod": "^3.22.4" - } -} \ No newline at end of file + "name": "supercosmic", + "version": "0.1.0", + "module": "src/index.ts", + "type": "module", + "devDependencies": { + "bun-types": "latest" + }, + "peerDependencies": { + "typescript": "^5.0.0" + }, + "dependencies": { + "@prisma/client": "^5.5.2", + "@t3-oss/env-core": "^0.7.1", + "discord.js": "^14.14.1", + "dotenv": "^16.3.1", + "hyperimport": "^0.1.0", + "mathjs": "^11.11.2", + "mpp-client-net": "^1.1.3", + "mpp-client-xt": "^1.3.1", + "prisma": "^5.4.2", + "switchchat": "^3.2.1", + "typescript": "^5.3.2", + "yaml": "^2.3.3", + "zod": "^3.22.4" + } +} diff --git a/src/util/ascii.ts b/src/util/ascii.ts index 29f8e06..6c2fb9b 100644 --- a/src/util/ascii.ts +++ b/src/util/ascii.ts @@ -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`); } diff --git a/tsconfig.json b/tsconfig.json index 7556e1d..d69ff11 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,22 +1,23 @@ { - "compilerOptions": { - "lib": ["ESNext"], - "module": "esnext", - "target": "esnext", - "moduleResolution": "bundler", - "moduleDetection": "force", - "allowImportingTsExtensions": true, - "noEmit": true, - "composite": true, - "strict": true, - "downlevelIteration": true, - "skipLibCheck": true, - "jsx": "react-jsx", - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "allowJs": true, - "types": [ - "bun-types" // add Bun global - ] - } + "compilerOptions": { + "lib": ["ESNext"], + "module": "esnext", + "target": "esnext", + "moduleResolution": "bundler", + "moduleDetection": "force", + "allowImportingTsExtensions": true, + "noEmit": true, + "composite": true, + "strict": true, + "downlevelIteration": true, + "skipLibCheck": true, + "jsx": "react-jsx", + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true, + "allowJs": true, + "types": [ + "bun-types" // add Bun global + ] + }, + "include": ["package.json"] }