Apps, web, i18n, UI, partners, payouts, backoffice, bariki, prod infra

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
zabudko-ruandClaude Opus 5.5 committed 2026-10-25 22:55:29 +04:00
1 parent 45d7512d2b
commit 3489e0b816
319 files changed
+45483 -121

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
/**
* Продакшен: API, воркер и оба бота в одном процессе — экономит память на общем сервере.
* Состав задаётся RUN=api,worker,bot-client,bot-pro (по умолчанию — всё).
*/
const run = new Set((process.env.RUN ?? 'api,worker,bot-client,bot-pro').split(',').map((s) => s.trim()));
if (run.has('api')) await import('../api/src/server.ts');
if (run.has('worker')) await import('../worker/src/index.ts');
if (run.has('bot-client')) await import('../bot-client/src/index.ts');
if (run.has('bot-pro')) await import('../bot-pro/src/index.ts');
+8
View File
@@ -0,0 +1,8 @@
{
"name": "@barev/runtime",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": { "start": "tsx index.ts" },
"dependencies": { "tsx": "^4.20.0" }
}