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:
zabudko-ruandClaude Opus 5.5 committed 2026-10-21 01:23:32 +04:00
1 parent 45d7512d2b
commit d452824c62
314 files changed
+44394 -121

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import path from 'node:path';
import { config } from 'dotenv';
/** Загружает корневой .env для процессов монорепо (боты, воркер) */
export function loadRootEnv() {
config({ path: path.resolve(import.meta.dirname, '../../../.env'), quiet: true });
}
export function requireEnv(name: string): string {
const v = process.env[name];
if (!v) throw new Error(`${name} is not set`);
return v;
}