Build & Deploy / build-and-push (backend) (push) Failing after 35s
Build & Deploy / build-and-push (discord-gateway) (push) Failing after 25s
Build & Deploy / build-and-push (proxy) (push) Failing after 25s
- Remove pnpm workspace, moon repo, and all monorepo tooling - Delete packages/shared/, embed shared code directly into each service - Copy packages/shared/src/* -> services/backend/src/shared/ and services/discord-gateway/src/shared/ - Replace all @bete/shared imports with @/shared/ path alias - Remove @bete/shared workspace dependency from both services - Update root package.json scripts from --filter to --prefix - Rewrite Dockerfiles to build each service standalone - Clean up biome.json, .gitignore, remove root drizzle.config.ts
14 lines
441 B
TypeScript
14 lines
441 B
TypeScript
import "dotenv/config";
|
|
import type { AppConfig } from "@/shared/config/index";
|
|
import { loadConfig as sharedLoadConfig } from "@/shared/config/index";
|
|
|
|
// Re-export the unified config — all EFFECTIVE_* fields are already
|
|
// computed by the shared loadConfig().
|
|
export type { AppConfig };
|
|
|
|
export function loadConfig(env: NodeJS.ProcessEnv = process.env): AppConfig {
|
|
return sharedLoadConfig(env);
|
|
}
|
|
|
|
export const config = loadConfig();
|