This commit is contained in:
+15
-15
@@ -27,35 +27,35 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@grammyjs/auto-chat-action": "0.1.1",
|
"@grammyjs/auto-chat-action": "0.1.1",
|
||||||
"@grammyjs/commands": "1.2.0",
|
"@grammyjs/commands": "1.3.2",
|
||||||
"@grammyjs/hydrate": "1.6.0",
|
"@grammyjs/hydrate": "1.6.0",
|
||||||
"@grammyjs/i18n": "1.1.2",
|
"@grammyjs/i18n": "1.1.2",
|
||||||
"@grammyjs/parse-mode": "1.11.1",
|
"@grammyjs/parse-mode": "1.11.1",
|
||||||
"@grammyjs/runner": "2.0.3",
|
"@grammyjs/runner": "2.0.3",
|
||||||
"@grammyjs/types": "3.23.0",
|
"@grammyjs/types": "3.25.0",
|
||||||
"@hono/node-server": "1.19.9",
|
"@hono/node-server": "1.19.12",
|
||||||
"@urql/core": "^6.0.1",
|
"@urql/core": "^6.0.1",
|
||||||
"axios": "^1.13.3",
|
"axios": "^1.14.0",
|
||||||
"callback-data": "1.1.1",
|
"callback-data": "1.1.1",
|
||||||
"grammy": "1.39.3",
|
"grammy": "1.41.1",
|
||||||
"hono": "4.11.6",
|
"hono": "4.12.9",
|
||||||
"iso-639-1": "3.1.5",
|
"iso-639-1": "3.1.5",
|
||||||
"pino": "10.3.0",
|
"pino": "10.3.1",
|
||||||
"pino-pretty": "13.1.3",
|
"pino-pretty": "13.1.3",
|
||||||
"tsx": "4.21.0",
|
"tsx": "4.21.0",
|
||||||
"valibot": "1.2.0"
|
"valibot": "1.3.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "7.2.0",
|
"@antfu/eslint-config": "7.7.3",
|
||||||
"@eslint/js": "^9.39.2",
|
"@eslint/js": "^9.39.4",
|
||||||
"@types/node": "^25.0.10",
|
"@types/node": "^25.5.0",
|
||||||
"eslint": "^9.39.2",
|
"eslint": "^9.39.4",
|
||||||
"husky": "^9.1.7",
|
"husky": "^9.1.7",
|
||||||
"lint-staged": "^16.2.7",
|
"lint-staged": "^16.4.0",
|
||||||
"prettier": "3.8.1",
|
"prettier": "3.8.1",
|
||||||
"tsc-watch": "^7.2.0",
|
"tsc-watch": "^7.2.0",
|
||||||
"typescript": "^5.9.3",
|
"typescript": "^6.0.2",
|
||||||
"typescript-eslint": "^8.54.0"
|
"typescript-eslint": "^8.58.0"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.ts": "eslint"
|
"*.ts": "eslint"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import type { Context } from "#root/bot/context.js";
|
|||||||
import { logHandle } from "#root/bot/helpers/logging.js";
|
import { logHandle } from "#root/bot/helpers/logging.js";
|
||||||
import { urql } from "#root/main.js";
|
import { urql } from "#root/main.js";
|
||||||
import increment from "#root/lib/graphql/mutations/incrementMutation.js";
|
import increment from "#root/lib/graphql/mutations/incrementMutation.js";
|
||||||
import getCommandsList, { Commands } from "#root/lib/getCommandsList.js";
|
import getCommandsList from "#root/lib/getCommandsList.js";
|
||||||
|
|
||||||
const composer = new Composer<Context>();
|
const composer = new Composer<Context>();
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
export interface Commands {
|
export interface Commands {
|
||||||
command: String;
|
command: string;
|
||||||
description: String;
|
description: string;
|
||||||
groups: boolean;
|
groups: boolean;
|
||||||
private: boolean;
|
private: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env tsx
|
#!/usr/bin/env tsx
|
||||||
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||||
|
|
||||||
import type { PollingConfig, WebhookConfig } from "#root/config.js";
|
import type { PollingConfig, WebhookConfig } from "#root/config.js";
|
||||||
import type { RunnerHandle } from "@grammyjs/runner";
|
import type { RunnerHandle } from "@grammyjs/runner";
|
||||||
|
|||||||
Reference in New Issue
Block a user