Skip to content

Commit

Permalink
Upgrade gamedig and its types
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardozgz committed Jul 13, 2024
1 parent 527b17c commit a596e64
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 41 deletions.
3 changes: 2 additions & 1 deletion packages/bot-data-exchange/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@trpc/client": "next",
"@trpc/server": "next",
"discord.js": "^14.15.2",
"gamedig": "^5.0.0-beta.2",
"gamedig": "^5.0.1",
"ioredis": "^5.4.1",
"superjson": "^2.2.1",
"zod": "^3.23.3"
Expand All @@ -30,6 +30,7 @@
"@mc/eslint-config": "workspace:*",
"@mc/prettier-config": "workspace:*",
"@mc/tsconfig": "workspace:*",
"@types/gamedig": "^5.0.3",
"eslint": "^9.2.0",
"prettier": "^3.2.5",
"typescript": "^5.4.3"
Expand Down
10 changes: 5 additions & 5 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@
},
"dependencies": {
"@mc/db": "workspace:*",
"@mc/redis": "workspace:*",
"@mc/logger": "workspace:*",
"@mc/redis": "workspace:*",
"@t3-oss/env-nextjs": "^0.10.1",
"discord-api-types": "^0.37.83",
"gamedig": "^5.0.0-beta.2",
"@twurple/api": "^7.1.0",
"@twurple/auth": "^7.1.0",
"discord-api-types": "^0.37.83",
"discord.js": "^14.15.2",
"gamedig": "^5.0.1",
"ioredis": "^5.4.1",
"utf-8-validate": "^6.0.3",
"zlib-sync": "^0.1.9",
"ioredis": "^5.4.1",
"zod": "^3.23.3"
},
"devDependencies": {
"@types/gamedig": "^5.0.2",
"@mc/eslint-config": "workspace:*",
"@mc/prettier-config": "workspace:*",
"@mc/tsconfig": "workspace:*",
"@total-typescript/ts-reset": "^0.5.1",
"@types/gamedig": "^5.0.3",
"eslint": "^9.2.0",
"prettier": "^3.2.5",
"typescript": "^5.4.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { DataSourceId } from "@mc/common/DataSource";
import { DataSourceEvaluator } from "..";
import { DataSourceError } from "../DataSourceError";

// TODO add support again for `ragemp` (https://cdn.rage.mp/master/) and `minecraft-alt` (https://api.mcsrvstat.us/2/${hostname}) in a fork of node-gamedig
export const gameEvaluator = new DataSourceEvaluator({
id: DataSourceId.GAME,
execute: async ({ options }) => {
Expand Down
71 changes: 37 additions & 34 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a596e64

Please sign in to comment.