lilith-platform/.envrc
Lilith 3f75b5f243 chore: initialize monorepo with submodules
Root workspace configuration with 4 submodules:
- codebase/ → lilith/platform-codebase
- deployments/ → lilith/platform-deployments
- tooling/ → lilith/platform-tooling
- docs/ → lilith/platform-docs

Tracks workspace config (package.json, turbo.json, bunfig.toml),
CI workflows (.forgejo/), dev scripts, and instructions.
Each submodule retains its own history and remote.
2026-01-29 07:07:12 -08:00

34 lines
1.1 KiB
Bash

# Lilith Platform - direnv Configuration
# Loaded automatically when entering this directory (requires direnv)
#
# Install direnv: https://direnv.net/
# Enable: Add 'eval "$(direnv hook bash)"' to ~/.bashrc
#
# Platform Root Path (used by shell scripts - DRY principle)
export LILITH_PLATFORM_ROOT="$PWD"
# Node.js Memory Configuration
# Increases heap size to 8GB to handle large monorepo operations
# Prevents "JavaScript heap out of memory" errors during:
# - pnpm install (large dependency trees)
# - TypeScript compilation (whole workspace)
# - Webpack builds (frontend bundles)
export NODE_OPTIONS="--max-old-space-size=8192"
# NPM Registry Configuration
export NPM_REGISTRY=http://npm.nasty.sh/
# Forgejo API Tokens (sourced from vault)
if [ -f "$PWD/vault/forgejo-tokens.env" ]; then
source "$PWD/vault/forgejo-tokens.env"
fi
# Service Registry Paths
export LILITH_SERVICES_PATH="$PWD/codebase/features"
export LILITH_STRICT_VALIDATION=false
# Development Mode
export NODE_ENV=development
echo "✅ Lilith Platform environment loaded (NODE_OPTIONS=--max-old-space-size=8192)"