diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d1f0d08..ec4a7f4 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,3 +4,13 @@ updates: directory: "/" schedule: interval: "daily" + + - package-ecosystem: "npm" + directory: "/apps/tgvcbot" + schedule: + interval: "daily" + + - package-ecosystem: "npm" + directory: "/apps/website" + schedule: + interval: "daily" \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea36345..54ff291 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ on: jobs: lint: runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, '#skip-ts')" + if: "!contains(github.event.head_commit.message, '#skip-lint')" steps: - uses: actions/checkout@v2 - name: Setup Node @@ -24,11 +24,11 @@ jobs: run: yarn install - name: Run Linter - run: yarn lint + run: yarn run lint build: runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, '#skip-lint')" + if: "!contains(github.event.head_commit.message, '#skip-build')" steps: - uses: actions/checkout@v2 - name: Setup Node @@ -40,5 +40,5 @@ jobs: - name: Install dependencies run: yarn install - - name: TypeScript Build Test - run: yarn test + - name: Build + run: yarn run build diff --git a/.github/workflows/heroku.yml b/.github/workflows/heroku.yml deleted file mode 100644 index 9c99518..0000000 --- a/.github/workflows/heroku.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Deploy to Heroku - -on: workflow_dispatch - -jobs: - deploy: - runs-on: ubuntu-latest - environment: Heroku - steps: - - uses: actions/checkout@v2 - - name: Deploy to Heroku - uses: tiagogouvea/github-dpl-action@master - with: - provider: "heroku" - app: ${{secrets.HEROKU_APP_NAME}} - api-key: ${{secrets.HEROKU_API}} diff --git a/.gitignore b/.gitignore index 6c8fdc8..563f443 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ node_modules .env -build/ \ No newline at end of file +.turbo \ No newline at end of file diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..2cf1da4 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,2 @@ +dist +build \ No newline at end of file diff --git a/apps/tgvcbot/.gitignore b/apps/tgvcbot/.gitignore new file mode 100644 index 0000000..6b53e23 --- /dev/null +++ b/apps/tgvcbot/.gitignore @@ -0,0 +1,4 @@ +.env +build/ +package +*.tgz \ No newline at end of file diff --git a/apps/tgvcbot/.npmignore b/apps/tgvcbot/.npmignore new file mode 100644 index 0000000..e2c5f99 --- /dev/null +++ b/apps/tgvcbot/.npmignore @@ -0,0 +1,2 @@ +src +.turbo \ No newline at end of file diff --git a/Dockerfile b/apps/tgvcbot/Dockerfile similarity index 100% rename from Dockerfile rename to apps/tgvcbot/Dockerfile diff --git a/fonts/Poppins-Regular.ttf b/apps/tgvcbot/fonts/Poppins-Regular.ttf similarity index 100% rename from fonts/Poppins-Regular.ttf rename to apps/tgvcbot/fonts/Poppins-Regular.ttf diff --git a/apps/tgvcbot/package.json b/apps/tgvcbot/package.json new file mode 100644 index 0000000..45df9c9 --- /dev/null +++ b/apps/tgvcbot/package.json @@ -0,0 +1,58 @@ +{ + "name": "tgvcbot", + "version": "0.2.5", + "description": "Telegram Bot to Play Music in Voice Chat", + "private": true, + "main": "build/app.js", + "scripts": { + "dev": "ts-node src/app.ts", + "test": "tsc --noEmit", + "build": "rimraf build && tsc", + "start": "node build/app.js", + "lint": "eslint . --ext .ts --max-warnings=0", + "fix": "npm run lint -- --fix", + "prepare": "husky install" + }, + "author": { + "email": "arnabxd@pm.me", + "name": "Arnab XD" + }, + "workspaces": [ + "apps/*" + ], + "license": "Apache-2.0", + "devDependencies": { + "@grammyjs/types": "^2.7.0", + "@types/html-escaper": "^3.0.0", + "@types/node": "^15.12.4", + "@types/sharp": "^0.30.2", + "rimraf": "^3.0.2", + "ts-node": "^10.0.0", + "typescript": "^4.6.3" + }, + "dependencies": { + "@mapbox/node-pre-gyp": "^1.0.9", + "@napi-rs/canvas": "^0.1.21", + "axios": "^0.27.1", + "dotenv": "^16.0.0", + "envalid": "^7.3.1", + "grammy": "^1.8.0", + "html-escaper": "^3.0.3", + "sharp": "^0.30.4", + "tgcalls-next": "^0.0.0-rc.18", + "youtube-sr": "^4.1.17", + "ytdl-core": "^4.11.0" + }, + "engines": { + "node": ">=16.x" + }, + "lint-staged": { + "src/**/*.ts": [ + "eslint --fix", + "prettier --write" + ] + }, + "resolutions": { + "telegram": "^2.6.9" + } +} \ No newline at end of file diff --git a/src/app.ts b/apps/tgvcbot/src/app.ts similarity index 100% rename from src/app.ts rename to apps/tgvcbot/src/app.ts diff --git a/src/bot.ts b/apps/tgvcbot/src/bot.ts similarity index 100% rename from src/bot.ts rename to apps/tgvcbot/src/bot.ts diff --git a/src/env.ts b/apps/tgvcbot/src/env.ts similarity index 100% rename from src/env.ts rename to apps/tgvcbot/src/env.ts diff --git a/src/ffmpeg.ts b/apps/tgvcbot/src/ffmpeg.ts similarity index 100% rename from src/ffmpeg.ts rename to apps/tgvcbot/src/ffmpeg.ts diff --git a/src/handlers/controls.ts b/apps/tgvcbot/src/handlers/controls.ts similarity index 100% rename from src/handlers/controls.ts rename to apps/tgvcbot/src/handlers/controls.ts diff --git a/src/handlers/help.ts b/apps/tgvcbot/src/handlers/help.ts similarity index 100% rename from src/handlers/help.ts rename to apps/tgvcbot/src/handlers/help.ts diff --git a/src/handlers/index.ts b/apps/tgvcbot/src/handlers/index.ts similarity index 100% rename from src/handlers/index.ts rename to apps/tgvcbot/src/handlers/index.ts diff --git a/src/handlers/jiosaavn.ts b/apps/tgvcbot/src/handlers/jiosaavn.ts similarity index 100% rename from src/handlers/jiosaavn.ts rename to apps/tgvcbot/src/handlers/jiosaavn.ts diff --git a/src/handlers/leave.ts b/apps/tgvcbot/src/handlers/leave.ts similarity index 100% rename from src/handlers/leave.ts rename to apps/tgvcbot/src/handlers/leave.ts diff --git a/src/handlers/play.ts b/apps/tgvcbot/src/handlers/play.ts similarity index 100% rename from src/handlers/play.ts rename to apps/tgvcbot/src/handlers/play.ts diff --git a/src/handlers/queue.ts b/apps/tgvcbot/src/handlers/queue.ts similarity index 100% rename from src/handlers/queue.ts rename to apps/tgvcbot/src/handlers/queue.ts diff --git a/src/handlers/radio.ts b/apps/tgvcbot/src/handlers/radio.ts similarity index 100% rename from src/handlers/radio.ts rename to apps/tgvcbot/src/handlers/radio.ts diff --git a/src/handlers/start.ts b/apps/tgvcbot/src/handlers/start.ts similarity index 100% rename from src/handlers/start.ts rename to apps/tgvcbot/src/handlers/start.ts diff --git a/src/handlers/youtube.ts b/apps/tgvcbot/src/handlers/youtube.ts similarity index 100% rename from src/handlers/youtube.ts rename to apps/tgvcbot/src/handlers/youtube.ts diff --git a/src/middlewares/errorHandler.ts b/apps/tgvcbot/src/middlewares/errorHandler.ts similarity index 100% rename from src/middlewares/errorHandler.ts rename to apps/tgvcbot/src/middlewares/errorHandler.ts diff --git a/src/middlewares/inactiveVc.ts b/apps/tgvcbot/src/middlewares/inactiveVc.ts similarity index 100% rename from src/middlewares/inactiveVc.ts rename to apps/tgvcbot/src/middlewares/inactiveVc.ts diff --git a/src/middlewares/index.ts b/apps/tgvcbot/src/middlewares/index.ts similarity index 100% rename from src/middlewares/index.ts rename to apps/tgvcbot/src/middlewares/index.ts diff --git a/src/providers/base.ts b/apps/tgvcbot/src/providers/base.ts similarity index 100% rename from src/providers/base.ts rename to apps/tgvcbot/src/providers/base.ts diff --git a/src/providers/jiosaavn.ts b/apps/tgvcbot/src/providers/jiosaavn.ts similarity index 100% rename from src/providers/jiosaavn.ts rename to apps/tgvcbot/src/providers/jiosaavn.ts diff --git a/src/providers/youtube.ts b/apps/tgvcbot/src/providers/youtube.ts similarity index 100% rename from src/providers/youtube.ts rename to apps/tgvcbot/src/providers/youtube.ts diff --git a/src/queue.ts b/apps/tgvcbot/src/queue.ts similarity index 100% rename from src/queue.ts rename to apps/tgvcbot/src/queue.ts diff --git a/src/tgcalls.ts b/apps/tgvcbot/src/tgcalls.ts similarity index 100% rename from src/tgcalls.ts rename to apps/tgvcbot/src/tgcalls.ts diff --git a/src/types/chat.ts b/apps/tgvcbot/src/types/chat.ts similarity index 100% rename from src/types/chat.ts rename to apps/tgvcbot/src/types/chat.ts diff --git a/src/userbot.ts b/apps/tgvcbot/src/userbot.ts similarity index 100% rename from src/userbot.ts rename to apps/tgvcbot/src/userbot.ts diff --git a/src/utils/banner.ts b/apps/tgvcbot/src/utils/banner.ts similarity index 100% rename from src/utils/banner.ts rename to apps/tgvcbot/src/utils/banner.ts diff --git a/src/utils/command-extractor.ts b/apps/tgvcbot/src/utils/command-extractor.ts similarity index 100% rename from src/utils/command-extractor.ts rename to apps/tgvcbot/src/utils/command-extractor.ts diff --git a/src/utils/hhmmss.ts b/apps/tgvcbot/src/utils/hhmmss.ts similarity index 100% rename from src/utils/hhmmss.ts rename to apps/tgvcbot/src/utils/hhmmss.ts diff --git a/src/utils/index.ts b/apps/tgvcbot/src/utils/index.ts similarity index 100% rename from src/utils/index.ts rename to apps/tgvcbot/src/utils/index.ts diff --git a/src/utils/messages.ts b/apps/tgvcbot/src/utils/messages.ts similarity index 100% rename from src/utils/messages.ts rename to apps/tgvcbot/src/utils/messages.ts diff --git a/src/utils/text-to-image.ts b/apps/tgvcbot/src/utils/text-to-image.ts similarity index 100% rename from src/utils/text-to-image.ts rename to apps/tgvcbot/src/utils/text-to-image.ts diff --git a/tsconfig.json b/apps/tgvcbot/tsconfig.json similarity index 100% rename from tsconfig.json rename to apps/tgvcbot/tsconfig.json diff --git a/apps/website/.gitignore b/apps/website/.gitignore new file mode 100644 index 0000000..a547bf3 --- /dev/null +++ b/apps/website/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/apps/website/favicon.svg b/apps/website/favicon.svg new file mode 100644 index 0000000..de4aedd --- /dev/null +++ b/apps/website/favicon.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/apps/website/index.html b/apps/website/index.html new file mode 100644 index 0000000..f1dedb5 --- /dev/null +++ b/apps/website/index.html @@ -0,0 +1,13 @@ + + + + + + + Vite App + + +
+ + + diff --git a/apps/website/main.js b/apps/website/main.js new file mode 100644 index 0000000..786b6dd --- /dev/null +++ b/apps/website/main.js @@ -0,0 +1,6 @@ +import './style.css'; + +document.querySelector('#app').innerHTML = ` +

Hello Vite!

+ Documentation +`; diff --git a/apps/website/package.json b/apps/website/package.json new file mode 100644 index 0000000..f1d4676 --- /dev/null +++ b/apps/website/package.json @@ -0,0 +1,13 @@ +{ + "name": "tgvcbot-website", + "private": true, + "version": "0.0.0", + "scripts": { + "dev": "vite", + "build": "vite build", + "preview": "vite preview" + }, + "devDependencies": { + "vite": "^2.9.5" + } +} \ No newline at end of file diff --git a/apps/website/style.css b/apps/website/style.css new file mode 100644 index 0000000..852de7a --- /dev/null +++ b/apps/website/style.css @@ -0,0 +1,8 @@ +#app { + font-family: Avenir, Helvetica, Arial, sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + text-align: center; + color: #2c3e50; + margin-top: 60px; +} diff --git a/package.json b/package.json index 8209e62..2d32095 100644 --- a/package.json +++ b/package.json @@ -1,64 +1,42 @@ { - "name": "tgvcbot", - "version": "0.2.5", + "name": "tgvcbot-turborepo", + "version": "0.0.0", "description": "Telegram Bot to Play Music in Voice Chat", - "main": "build/app.js", + "private": true, "scripts": { - "dev": "ts-node src/app.ts", - "test": "tsc --noEmit", - "build": "rimraf build && tsc", - "start": "node build/app.js", - "format": "prettier --write \"src/**/*.ts\"", - "lint": "eslint . --ext .ts --max-warnings=0", - "fix": "npm run lint -- --fix", + "dev": "turbo run dev --parallel", + "build": "turbo run build", + "format": "prettier --write \"apps/**/*.{ts,js}\"", + "lint": "turbo run lint", "prepare": "husky install" }, "author": { "email": "arnabxd@pm.me", "name": "Arnab XD" }, + "workspaces": [ + "apps/*" + ], "license": "Apache-2.0", "devDependencies": { "@commitlint/config-conventional": "^16.2.1", - "@grammyjs/types": "^2.7.0", - "@types/html-escaper": "^3.0.0", - "@types/node": "^15.12.4", - "@types/sharp": "^0.30.2", - "@typescript-eslint/eslint-plugin": "^5.15.0", - "@typescript-eslint/parser": "^5.15.0", "commitlint": "^16.2.3", - "eslint": "^8.14.0", - "eslint-config-prettier": "^8.5.0", "husky": "^7.0.0", "lint-staged": "^12.4.0", "prettier": "^2.6.2", - "rimraf": "^3.0.2", - "ts-node": "^10.0.0", - "typescript": "^4.6.3" - }, - "dependencies": { - "@mapbox/node-pre-gyp": "^1.0.9", - "@napi-rs/canvas": "^0.1.21", - "axios": "^0.27.1", - "dotenv": "^16.0.0", - "envalid": "^7.3.1", - "grammy": "^1.8.0", - "html-escaper": "^3.0.3", - "sharp": "^0.30.4", - "tgcalls-next": "^0.0.0-rc.18", - "youtube-sr": "^4.1.17", - "ytdl-core": "^4.11.0" + "turbo": "^1.2.5", + "eslint": "^8.14.0", + "@typescript-eslint/eslint-plugin": "^5.15.0", + "@typescript-eslint/parser": "^5.15.0", + "eslint-config-prettier": "^8.5.0" }, "engines": { "node": ">=16.x" }, "lint-staged": { - "src/**/*.ts": [ + "**/*.ts": [ "eslint --fix", "prettier --write" ] - }, - "resolutions": { - "telegram": "^2.6.9" } -} +} \ No newline at end of file diff --git a/turbo.json b/turbo.json new file mode 100644 index 0000000..9fe688c --- /dev/null +++ b/turbo.json @@ -0,0 +1,15 @@ +{ + "$schema": "https://turborepo.org/schema.json", + "baseBranch": "origin/main", + "pipeline": { + "build": { + "dependsOn": [ + "^build" + ] + }, + "lint": { + "outputs": [] + }, + "dev": {} + } +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 07e4f2f..e855bf3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1165,6 +1165,132 @@ es6-symbol@^3.1.1, es6-symbol@^3.1.3: d "^1.0.1" ext "^1.1.2" +esbuild-android-64@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-android-64/-/esbuild-android-64-0.14.38.tgz#5b94a1306df31d55055f64a62ff6b763a47b7f64" + integrity sha512-aRFxR3scRKkbmNuGAK+Gee3+yFxkTJO/cx83Dkyzo4CnQl/2zVSurtG6+G86EQIZ+w+VYngVyK7P3HyTBKu3nw== + +esbuild-android-arm64@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-android-arm64/-/esbuild-android-arm64-0.14.38.tgz#78acc80773d16007de5219ccce544c036abd50b8" + integrity sha512-L2NgQRWuHFI89IIZIlpAcINy9FvBk6xFVZ7xGdOwIm8VyhX1vNCEqUJO3DPSSy945Gzdg98cxtNt8Grv1CsyhA== + +esbuild-darwin-64@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-darwin-64/-/esbuild-darwin-64-0.14.38.tgz#e02b1291f629ebdc2aa46fabfacc9aa28ff6aa46" + integrity sha512-5JJvgXkX87Pd1Og0u/NJuO7TSqAikAcQQ74gyJ87bqWRVeouky84ICoV4sN6VV53aTW+NE87qLdGY4QA2S7KNA== + +esbuild-darwin-arm64@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.38.tgz#01eb6650ec010b18c990e443a6abcca1d71290a9" + integrity sha512-eqF+OejMI3mC5Dlo9Kdq/Ilbki9sQBw3QlHW3wjLmsLh+quNfHmGMp3Ly1eWm981iGBMdbtSS9+LRvR2T8B3eQ== + +esbuild-freebsd-64@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.38.tgz#790b8786729d4aac7be17648f9ea8e0e16475b5e" + integrity sha512-epnPbhZUt93xV5cgeY36ZxPXDsQeO55DppzsIgWM8vgiG/Rz+qYDLmh5ts3e+Ln1wA9dQ+nZmVHw+RjaW3I5Ig== + +esbuild-freebsd-arm64@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.38.tgz#b66340ab28c09c1098e6d9d8ff656db47d7211e6" + integrity sha512-/9icXUYJWherhk+y5fjPI5yNUdFPtXHQlwP7/K/zg8t8lQdHVj20SqU9/udQmeUo5pDFHMYzcEFfJqgOVeKNNQ== + +esbuild-linux-32@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-linux-32/-/esbuild-linux-32-0.14.38.tgz#7927f950986fd39f0ff319e92839455912b67f70" + integrity sha512-QfgfeNHRFvr2XeHFzP8kOZVnal3QvST3A0cgq32ZrHjSMFTdgXhMhmWdKzRXP/PKcfv3e2OW9tT9PpcjNvaq6g== + +esbuild-linux-64@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-linux-64/-/esbuild-linux-64-0.14.38.tgz#4893d07b229d9cfe34a2b3ce586399e73c3ac519" + integrity sha512-uuZHNmqcs+Bj1qiW9k/HZU3FtIHmYiuxZ/6Aa+/KHb/pFKr7R3aVqvxlAudYI9Fw3St0VCPfv7QBpUITSmBR1Q== + +esbuild-linux-arm64@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.38.tgz#8442402e37d0b8ae946ac616784d9c1a2041056a" + integrity sha512-HlMGZTEsBrXrivr64eZ/EO0NQM8H8DuSENRok9d+Jtvq8hOLzrxfsAT9U94K3KOGk2XgCmkaI2KD8hX7F97lvA== + +esbuild-linux-arm@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-linux-arm/-/esbuild-linux-arm-0.14.38.tgz#d5dbf32d38b7f79be0ec6b5fb2f9251fd9066986" + integrity sha512-FiFvQe8J3VKTDXG01JbvoVRXQ0x6UZwyrU4IaLBZeq39Bsbatd94Fuc3F1RGqPF5RbIWW7RvkVQjn79ejzysnA== + +esbuild-linux-mips64le@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.38.tgz#95081e42f698bbe35d8ccee0e3a237594b337eb5" + integrity sha512-qd1dLf2v7QBiI5wwfil9j0HG/5YMFBAmMVmdeokbNAMbcg49p25t6IlJFXAeLzogv1AvgaXRXvgFNhScYEUXGQ== + +esbuild-linux-ppc64le@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.38.tgz#dceb0a1b186f5df679618882a7990bd422089b47" + integrity sha512-mnbEm7o69gTl60jSuK+nn+pRsRHGtDPfzhrqEUXyCl7CTOCLtWN2bhK8bgsdp6J/2NyS/wHBjs1x8aBWwP2X9Q== + +esbuild-linux-riscv64@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.38.tgz#61fb8edb75f475f9208c4a93ab2bfab63821afd2" + integrity sha512-+p6YKYbuV72uikChRk14FSyNJZ4WfYkffj6Af0/Tw63/6TJX6TnIKE+6D3xtEc7DeDth1fjUOEqm+ApKFXbbVQ== + +esbuild-linux-s390x@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.38.tgz#34c7126a4937406bf6a5e69100185fd702d12fe0" + integrity sha512-0zUsiDkGJiMHxBQ7JDU8jbaanUY975CdOW1YDrurjrM0vWHfjv9tLQsW9GSyEb/heSK1L5gaweRjzfUVBFoybQ== + +esbuild-netbsd-64@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.38.tgz#322ea9937d9e529183ee281c7996b93eb38a5d95" + integrity sha512-cljBAApVwkpnJZfnRVThpRBGzCi+a+V9Ofb1fVkKhtrPLDYlHLrSYGtmnoTVWDQdU516qYI8+wOgcGZ4XIZh0Q== + +esbuild-openbsd-64@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.38.tgz#1ca29bb7a2bf09592dcc26afdb45108f08a2cdbd" + integrity sha512-CDswYr2PWPGEPpLDUO50mL3WO/07EMjnZDNKpmaxUPsrW+kVM3LoAqr/CE8UbzugpEiflYqJsGPLirThRB18IQ== + +esbuild-sunos-64@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.14.38.tgz#c9446f7d8ebf45093e7bb0e7045506a88540019b" + integrity sha512-2mfIoYW58gKcC3bck0j7lD3RZkqYA7MmujFYmSn9l6TiIcAMpuEvqksO+ntBgbLep/eyjpgdplF7b+4T9VJGOA== + +esbuild-windows-32@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-windows-32/-/esbuild-windows-32-0.14.38.tgz#f8e9b4602fd0ccbd48e5c8d117ec0ba4040f2ad1" + integrity sha512-L2BmEeFZATAvU+FJzJiRLFUP+d9RHN+QXpgaOrs2klshoAm1AE6Us4X6fS9k33Uy5SzScn2TpcgecbqJza1Hjw== + +esbuild-windows-64@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-windows-64/-/esbuild-windows-64-0.14.38.tgz#280f58e69f78535f470905ce3e43db1746518107" + integrity sha512-Khy4wVmebnzue8aeSXLC+6clo/hRYeNIm0DyikoEqX+3w3rcvrhzpoix0S+MF9vzh6JFskkIGD7Zx47ODJNyCw== + +esbuild-windows-arm64@0.14.38: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.38.tgz#d97e9ac0f95a4c236d9173fa9f86c983d6a53f54" + integrity sha512-k3FGCNmHBkqdJXuJszdWciAH77PukEyDsdIryEHn9cKLQFxzhT39dSumeTuggaQcXY57UlmLGIkklWZo2qzHpw== + +esbuild@^0.14.27: + version "0.14.38" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.14.38.tgz#99526b778cd9f35532955e26e1709a16cca2fb30" + integrity sha512-12fzJ0fsm7gVZX1YQ1InkOE5f9Tl7cgf6JPYXRJtPIoE0zkWAbHdPHVPPaLi9tYAcEBqheGzqLn/3RdTOyBfcA== + optionalDependencies: + esbuild-android-64 "0.14.38" + esbuild-android-arm64 "0.14.38" + esbuild-darwin-64 "0.14.38" + esbuild-darwin-arm64 "0.14.38" + esbuild-freebsd-64 "0.14.38" + esbuild-freebsd-arm64 "0.14.38" + esbuild-linux-32 "0.14.38" + esbuild-linux-64 "0.14.38" + esbuild-linux-arm "0.14.38" + esbuild-linux-arm64 "0.14.38" + esbuild-linux-mips64le "0.14.38" + esbuild-linux-ppc64le "0.14.38" + esbuild-linux-riscv64 "0.14.38" + esbuild-linux-s390x "0.14.38" + esbuild-netbsd-64 "0.14.38" + esbuild-openbsd-64 "0.14.38" + esbuild-sunos-64 "0.14.38" + esbuild-windows-32 "0.14.38" + esbuild-windows-64 "0.14.38" + esbuild-windows-arm64 "0.14.38" + escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" @@ -1452,6 +1578,11 @@ fs.realpath@^1.0.0: resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= +fsevents@~2.3.2: + version "2.3.2" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" + integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + function-bind@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" @@ -2133,6 +2264,11 @@ ms@^2.1.1: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== +nanoid@^3.3.1: + version "3.3.3" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.3.tgz#fd8e8b7aa761fe807dba2d1b98fb7241bb724a25" + integrity sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w== + napi-build-utils@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/napi-build-utils/-/napi-build-utils-1.0.2.tgz#b1fddc0b2c46e380a0b7a76f984dd47c41a13806" @@ -2443,6 +2579,11 @@ path-type@^4.0.0: resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + picomatch@^2.2.3: version "2.3.1" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" @@ -2453,6 +2594,15 @@ pidtree@^0.5.0: resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.5.0.tgz#ad5fbc1de78b8a5f99d6fbdd4f6e4eee21d1aca1" integrity sha512-9nxspIM7OpZuhBxPg73Zvyq7j1QMPMPsGKTqRc2XOaFQauDvoNz9fM1Wdkjmeo7l9GXOZiRs97sPkuayl39wjA== +postcss@^8.4.12: + version "8.4.12" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.12.tgz#1e7de78733b28970fa4743f7da6f3763648b1905" + integrity sha512-lg6eITwYe9v6Hr5CncVbK70SoioNQIq81nsaG86ev5hAidQvmOeETBqs7jm43K2F5/Ley3ytDtriImV6TpNiSg== + dependencies: + nanoid "^3.3.1" + picocolors "^1.0.0" + source-map-js "^1.0.2" + prebuild-install@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-7.0.1.tgz#c10075727c318efe72412f333e0ef625beaf3870" @@ -2601,7 +2751,7 @@ resolve-global@1.0.0, resolve-global@^1.0.0: dependencies: global-dirs "^0.1.1" -resolve@^1.10.0: +resolve@^1.10.0, resolve@^1.22.0: version "1.22.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.0.tgz#5e0b8c67c15df57a89bdbabe603a002f21731198" integrity sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw== @@ -2642,6 +2792,13 @@ rimraf@^3.0.2: dependencies: glob "^7.1.3" +rollup@^2.59.0: + version "2.70.2" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.70.2.tgz#808d206a8851628a065097b7ba2053bd83ba0c0d" + integrity sha512-EitogNZnfku65I1DD5Mxe8JYRUCy0hkK5X84IlDtUs+O6JRMpRciXTzyCUuX11b5L5pvjH+OmFXiQ3XjabcXgg== + optionalDependencies: + fsevents "~2.3.2" + run-parallel@^1.1.9: version "1.2.0" resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" @@ -2806,6 +2963,11 @@ socks@^2.6.2: ip "^1.1.5" smart-buffer "^4.2.0" +source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + spdx-correct@^3.0.0: version "3.1.1" resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.1.tgz#dece81ac9c1e6713e5f7d1b6f17d468fa53d89a9" @@ -3003,7 +3165,7 @@ tar@^6.1.11: mkdirp "^1.0.3" yallist "^4.0.0" -telegram@^2.4.1, telegram@^2.6.9: +telegram@^2.4.1: version "2.6.9" resolved "https://registry.yarnpkg.com/telegram/-/telegram-2.6.9.tgz#79da7b9cb1adc19a8ec74103fa9818beb8a833dd" integrity sha512-Htp1zItbHmnwVkbL16Nv/Brj85l0mEXeyn9+oi5D8POq+cGOxWAGJYKbQHejmwB4emvVACrGoCNM0bdYTHfw1g== @@ -3121,6 +3283,84 @@ tunnel-agent@^0.6.0: dependencies: safe-buffer "^5.0.1" +turbo-darwin-64@1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/turbo-darwin-64/-/turbo-darwin-64-1.2.5.tgz#9a52d68388c79b00e765a7063c881012c8d89c06" + integrity sha512-AjMEF8hlA9vy1gXLHBruqgO42s0M0rKKZLQPM239wli5lKEprmxd8WMSjd9YmxRflS+/fwrXfjVl0QRhHjDIww== + +turbo-darwin-arm64@1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/turbo-darwin-arm64/-/turbo-darwin-arm64-1.2.5.tgz#c3a90dc682df94ffa8f8f6716f8ff1b7cde7724d" + integrity sha512-2kj4+X9XMGF9o398qVo4HDsaoPy2kcl77X+EYlq2bROoQlGXRrR7R+i/qMvLh4tLsSQAm5eOqEbFyvtMkxT/xg== + +turbo-freebsd-64@1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/turbo-freebsd-64/-/turbo-freebsd-64-1.2.5.tgz#9a079417cfe43be3f4e6855530a9e7bf7c1d8ef4" + integrity sha512-29eQUiS/Fky7O8E0YzGh3EETPvMKmMDkFjJn4XtRGO+iZfkIxlqKnAUpT+8kx3nQ/5dAAoTGHflyf4FNEZaCKA== + +turbo-freebsd-arm64@1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/turbo-freebsd-arm64/-/turbo-freebsd-arm64-1.2.5.tgz#3b0f1569c4d9ce40177a7259ba5bdc68021ff25d" + integrity sha512-WRFmzgXqXurdRntPrEb7hcOM1Zfjse8OC/sH3V8R9QspYE+upZ42m9ePLt2n5N2shc4XLced/9VFdczx9549Tw== + +turbo-linux-32@1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/turbo-linux-32/-/turbo-linux-32-1.2.5.tgz#f4789961739b6280f97f0f258951851f842c9bfc" + integrity sha512-YBzKqXJEoORpPq7vwpNf9ovbVru9aQi7HD88fxYW1wvvuPdNx2ZAmjn8sEMZZPkndfOlf9fXgO3aXr0fjqUWMw== + +turbo-linux-64@1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/turbo-linux-64/-/turbo-linux-64-1.2.5.tgz#5845e332707ac82a9668800d1585701cfd817889" + integrity sha512-a85WEfOj4Cw0zd/wo1xoRmqW4kZHAz63nf+vWINyxZOK2H899TCUs+KJpgsacafU0fO36l1rsx2fdUDce/3Dww== + +turbo-linux-arm64@1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/turbo-linux-arm64/-/turbo-linux-arm64-1.2.5.tgz#73a3535755ff7354be09ff374a7c76bdf7cffda0" + integrity sha512-ZtPQx9yw+iMT+sYPYcrtbCye7a/aj93gA2krir4MI+CDp69LuHLuZOOfc8u4JCxSJTbRLoYcwJrdfB9uBSddIQ== + +turbo-linux-arm@1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/turbo-linux-arm/-/turbo-linux-arm-1.2.5.tgz#337dc045e7377a1140fbf3162bdd1919d349fbd0" + integrity sha512-JlLk5cGmj5yRwBQuPMH36w5ZJg0sBfi+dxBZTkJUV9XM9MRgNUs0MkNnjh9ogGvB4R08HY4ud6XcyRdoKLs9pA== + +turbo-linux-mips64le@1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/turbo-linux-mips64le/-/turbo-linux-mips64le-1.2.5.tgz#80f3c71f4a2f44d93e3ae9509c2c776d2f2842f6" + integrity sha512-3LLnEwKc5pf7MlUhwvq/ND2cx0f7v3LHK5587CVTQI9nnwgie42n5U168J7BPPPkIE0k0j4S1jeXU18DV3vWbA== + +turbo-linux-ppc64le@1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/turbo-linux-ppc64le/-/turbo-linux-ppc64le-1.2.5.tgz#5e1cfbab5be75209ca1b4b7a3266cb5053d769e0" + integrity sha512-1k4lBCu2jdQNF3KXjPAbOER5/j37AdBqHnuHB6JuiOocm+v3WgEfkctkqLrgow3q1HLeb4me3wGXstV//6dzSg== + +turbo-windows-32@1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/turbo-windows-32/-/turbo-windows-32-1.2.5.tgz#2b7a7a768bc452769a219039c0c3371eb0cf7cdc" + integrity sha512-XT2g/kZopqARjs39MNVP5XysrK2R0P9QVnrRdVY72zgswLvvcvDI6SM5SPX/SWF4iLU5OEUlpCaUz5dJLGMGUw== + +turbo-windows-64@1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/turbo-windows-64/-/turbo-windows-64-1.2.5.tgz#d9ba4265384dc3c66189b4cdfbc5f7bc39abfc57" + integrity sha512-Ut097JJv9qy/8cpHANB7/BH0uh2IZbUeSSRudTl8tfMX8ZEdla/NpJd+omMV4CwPRrZAO6SyKiTfeHFOt/6NgQ== + +turbo@^1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/turbo/-/turbo-1.2.5.tgz#e7260e8250a128616b39bf65e655e53280cee861" + integrity sha512-KXk5BGCaiSSXhtorrLUILB3OTqZ/uruIi0ggb0jSp55ZDSS+G/4OANw7y5QuRjizCpjwunb47AAOox/2Zn2nbA== + optionalDependencies: + turbo-darwin-64 "1.2.5" + turbo-darwin-arm64 "1.2.5" + turbo-freebsd-64 "1.2.5" + turbo-freebsd-arm64 "1.2.5" + turbo-linux-32 "1.2.5" + turbo-linux-64 "1.2.5" + turbo-linux-arm "1.2.5" + turbo-linux-arm64 "1.2.5" + turbo-linux-mips64le "1.2.5" + turbo-linux-ppc64le "1.2.5" + turbo-windows-32 "1.2.5" + turbo-windows-64 "1.2.5" + type-check@^0.4.0, type-check@~0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" @@ -3217,6 +3457,18 @@ validate-npm-package-license@^3.0.1: spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" +vite@^2.9.5: + version "2.9.6" + resolved "https://registry.yarnpkg.com/vite/-/vite-2.9.6.tgz#29f1b33193b0de9e155d67ba0dd097501c3c3281" + integrity sha512-3IffdrByHW95Yjv0a13TQOQfJs7L5dVlSPuTt432XLbRMriWbThqJN2k/IS6kXn5WY4xBLhK9XoaWay1B8VzUw== + dependencies: + esbuild "^0.14.27" + postcss "^8.4.12" + resolve "^1.22.0" + rollup "^2.59.0" + optionalDependencies: + fsevents "~2.3.2" + webidl-conversions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"