diff --git a/bun.lockb b/bun.lockb index 4e3aff4..f41af7b 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 4913307..49657a7 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -1,5 +1,6 @@ // import shikiColorizedBrackets from "@michael-makes/shiki-colorized-brackets"; import { transformerTwoslash } from "@shikijs/vitepress-twoslash"; +import { createFileSystemTypesCache } from "@shikijs/vitepress-twoslash/cache-fs"; import presetIcons from "@unocss/preset-icons"; import Unocss from "unocss/vite"; import { defineConfig } from "vitepress"; @@ -82,7 +83,11 @@ export default defineConfig({ ...localeRu, }, markdown: { - codeTransformers: [transformerTwoslash() /**shikiColorizedBrackets()**/], + codeTransformers: [ + transformerTwoslash({ + typesCache: createFileSystemTypesCache(), + }) /**shikiColorizedBrackets()**/, + ], config: (md) => { // @ts-ignore md.use(groupIconMdPlugin); diff --git a/package.json b/package.json index 89c5157..f29c4b4 100644 --- a/package.json +++ b/package.json @@ -13,17 +13,17 @@ "@gramio/keyboards": "^1.0.0", "@gramio/prompt": "^1.1.4", "@gramio/session": "^0.1.5", - "@gramio/types": "^7.11.0", + "@gramio/types": "^8.0.3", "@iconify-json/logos": "^1.2.3", "@iconify-json/skill-icons": "^1.2.0", - "@shikijs/vitepress-twoslash": "^1.22.2", - "@types/node": "^22.8.6", - "@unocss/preset-icons": "^0.63.6", - "elysia": "^1.1.24", + "@shikijs/vitepress-twoslash": "^1.23.1", + "@types/node": "^22.9.1", + "@unocss/preset-icons": "^0.64.1", + "elysia": "^1.1.25", "gramio": "^0.1.2", - "grammy": "^1.31.0", - "undici": "^6.20.1", - "unocss": "^0.63.6", + "grammy": "^1.32.0", + "undici": "^6.21.0", + "unocss": "^0.64.1", "vitepress": "^1.5.0", "vitepress-plugin-group-icons": "^1.3.0" }, @@ -36,6 +36,6 @@ "dependencies": { "@gramio/scenes": "^0.0.5", "ioredis": "^5.4.1", - "jobify": "^0.1.0" + "jobify": "^0.1.1" } }