Snapshot of uncommitted work: landing, bots, prod infra, partner cabinet, backoffice stage 1
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
45d7512d2b
commit
d452824c62
314 files changed
+44394
-121
No files matched your search
@@ -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');
|
||||
@@ -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" }
|
||||
}
|
||||
Reference in new issue
Block a user