From ed1fffcdcae38b4a3e772be3ad9f3f1800393311 Mon Sep 17 00:00:00 2001 From: KnorpelSenf Date: Wed, 20 Mar 2024 18:42:09 +0100 Subject: [PATCH] Add NestJS dummy page --- site/docs/.vitepress/configs/locales/en.ts | 6 +++++ site/docs/plugins/nestjs.md | 27 ++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 site/docs/plugins/nestjs.md diff --git a/site/docs/.vitepress/configs/locales/en.ts b/site/docs/.vitepress/configs/locales/en.ts index a09865bb5..5162c5698 100644 --- a/site/docs/.vitepress/configs/locales/en.ts +++ b/site/docs/.vitepress/configs/locales/en.ts @@ -221,6 +221,12 @@ const pluginOfficial = { // do not add the following line to translations: activeMatch: "^(/plugins/router|/ref/router/)$", }, + { + text: "NestJS (nestjs)", + link: "/plugins/nestjs", + // do not add the following line to translations: + activeMatch: "^(/plugins/nestjs|/ref/nestjs/)$", + }, { text: "Emoji (emoji)", link: "/plugins/emoji", diff --git a/site/docs/plugins/nestjs.md b/site/docs/plugins/nestjs.md new file mode 100644 index 000000000..4632c77d5 --- /dev/null +++ b/site/docs/plugins/nestjs.md @@ -0,0 +1,27 @@ +--- +prev: false +next: false +--- + +# NestJS Integration (`nestjs`) + +This plugin provides an integration of a grammY bot into a [NestJS](https://nestjs.com/) application. + +## Installation + +Run + +```sh +npm install @grammjys/nestjs +``` + +to install the plugin in your existing NestJS project. + +## Usage + +todo + +## Plugin Summary + +- Name: `nestjs` +- [Source](https://github.com/grammyjs/nestjs)