refactor: improve code quality

This commit is contained in:
2026-05-12 15:42:21 +02:00
parent 8abdfc3b2f
commit 528fff3a5b
42 changed files with 1756 additions and 1255 deletions

View File

@@ -1,23 +1,23 @@
{
"name": "@lbf/discord-bot",
"type": "module",
"scripts": {
"dev": "tsx src/index.ts",
"start": "node dist/index.js",
"build": "rm -rf dist && tsc --project tsconfig.build.json && tsc-alias --project tsconfig.build.json",
"dev:user": "tsx src/index.ts -- --user"
},
"devDependencies": {
"@types/node": "^22.10.2",
"tsc-alias": "^1.8.16",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
},
"dependencies": {
"@lbf-bot/utils": "workspace:*",
"@lbf-bot/database": "workspace:*",
"discord.js": "^14.21.0",
"dotenv": "^17.2.3",
"zod": "^3.24.4"
}
"name": "@lbf/discord-bot",
"type": "module",
"scripts": {
"dev": "COMMIT_SHA=$(git rev-parse --short HEAD)-dev tsx src/index.ts",
"start": "node dist/index.js",
"build": "rm -rf dist && tsc --project tsconfig.build.json && tsc-alias --project tsconfig.build.json",
"dev:user": "COMMIT_SHA=$(git rev-parse --short HEAD)-dev tsx src/index.ts -- --user",
"check": "tsc --noEmit && eslint src/"
},
"devDependencies": {
"@types/node": "^22.10.2",
"tsc-alias": "^1.8.16",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
},
"dependencies": {
"@lbf-bot/utils": "workspace:*",
"@lbf-bot/database": "workspace:*",
"discord.js": "^14.21.0",
"zod": "4.1.11"
}
}