mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-17 00:59:40 +02:00
Final cleanup of references missed in previous rename commits: - Dockerfiles: PUBLIC_MANA_CORE_AUTH_URL → PUBLIC_MANA_AUTH_URL - Go modules: github.com/manacore/* → github.com/mana/* (7 go.mod files) - launchd plists: com.manacore.* → com.mana.* (14 files renamed + content) - Image assets: *_Manacore_AI_Credits* → *_Mana_AI_Credits* (11 files) - .env.example files: ManaCore brand strings → Mana - .prettierignore: stale apps/manacore/* paths → apps/mana/* - Markdown docs (CLAUDE.md, /docs/*): mana-core-auth → mana-auth, etc. Excluded from rename: .claude/, devlog/, manascore/ (historical content), client testimonials, blueprints, npm package refs (@mana-core/*). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
48 lines
822 B
TypeScript
48 lines
822 B
TypeScript
/**
|
|
* Shared configuration utilities for Mana monorepo
|
|
*
|
|
* This package provides common configuration utilities including
|
|
* environment validation, API endpoint construction, and feature flags.
|
|
*/
|
|
|
|
// Environment utilities
|
|
export {
|
|
envSchemas,
|
|
supabaseEnvSchema,
|
|
appEnvSchema,
|
|
createEnvConfig,
|
|
validateEnv,
|
|
getRequiredEnv,
|
|
getEnv,
|
|
getBoolEnv,
|
|
getNumEnv,
|
|
isDevelopment,
|
|
isProduction,
|
|
isTest,
|
|
} from './env';
|
|
|
|
// API utilities
|
|
export {
|
|
type ApiConfig,
|
|
createApiBuilder,
|
|
buildUrl,
|
|
parseUrl,
|
|
joinPath,
|
|
HTTP_METHODS,
|
|
HTTP_STATUS,
|
|
type HttpMethod,
|
|
type HttpStatus,
|
|
isSuccessStatus,
|
|
isClientError,
|
|
isServerError,
|
|
} from './api';
|
|
|
|
// Feature flag utilities
|
|
export {
|
|
type FeatureFlag,
|
|
createFeatureFlags,
|
|
isFeatureEnabled,
|
|
type AppMetadata,
|
|
createAppMetadata,
|
|
formatVersion,
|
|
} from './features';
|