From f46fa571df67bac1043443f8c98001d304fd3a97 Mon Sep 17 00:00:00 2001 From: hwangsihu Date: Wed, 6 Nov 2024 00:26:47 +0900 Subject: [PATCH] Changed to use tslib and update dependencies --- package.json | 14 +++++++------- src/utils/SetupSystem.ts | 1 - tsconfig.json | 2 ++ 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index c53777cc7..bba2cc3f4 100644 --- a/package.json +++ b/package.json @@ -35,24 +35,24 @@ "devDependencies": { "@biomejs/biome": "^1.9.4", "@types/i18n": "^0.13.12", - "@types/node": "^22.8.7", + "@types/node": "^22.9.3", "@types/signale": "^1.4.7", - "prisma": "^5.21.1", - "tslib": "^2.8.1", - "typescript": "^5.6.3" + "prisma": "^5.22.0", + "typescript": "^5.7.2" }, "dependencies": { - "@prisma/client": "^5.21.1", + "@prisma/client": "^5.22.0", "@top-gg/sdk": "^3.1.6", "discord.js": "^14.16.3", "dotenv": "^16.4.5", "genius-lyrics-api": "^3.2.1", "i18n": "^0.15.1", - "lavalink-client": "github:tomato6966/lavalink-client", + "lavalink-client": "^2.4.1", "node-system-stats": "^1.3.0", "signale": "^1.4.0", "topgg-autoposter": "^2.0.2", - "undici": "^6.20.1", + "tslib": "^2.8.1", + "undici": "^6.21.0", "zod": "^3.23.8" }, "signale": { diff --git a/src/utils/SetupSystem.ts b/src/utils/SetupSystem.ts index 9ac11fde7..dfe264649 100644 --- a/src/utils/SetupSystem.ts +++ b/src/utils/SetupSystem.ts @@ -1,5 +1,4 @@ import { type ColorResolvable, EmbedBuilder, type Guild, type Message, type TextChannel } from 'discord.js'; - import type { Player, Track } from 'lavalink-client'; import { T } from '../structures/I18n'; import type { Lavamusic } from '../structures/index'; diff --git a/tsconfig.json b/tsconfig.json index f6bbf7218..d3742575b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,6 +6,8 @@ "moduleResolution": "node", "declaration": true, "sourceMap": false, + "removeComments": true, + "importHelpers": true, "strict": true, "esModuleInterop": true, "experimentalDecorators": true,