- Add codebase/config.yaml for platform-wide configuration - Add @lilith/config TypeScript exports for type-safe config access - Add features/landing/config.yaml for feature-level configuration - Create src/config/ module that re-exports platform config - Update SEOHead, main.tsx, CTAModal to use config.urls/assets/workers - Update legal pages to use config.urls for mailto links External URLs, assets, and workers are now centralized instead of hardcoded. Features can extend platform config with feature-specific settings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
22 lines
689 B
JSON
22 lines
689 B
JSON
{
|
|
"name": "@lilith/config",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Shared configuration for Vite, TypeScript, ESLint, testing, and platform constants",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./platform": "./src/index.ts",
|
|
"./vite.config.js": "./vite.config.js",
|
|
"./vitest": "./vitest.config.ts",
|
|
"./playwright": "./playwright.config.ts",
|
|
"./tsconfig.react.json": "./tsconfig.react.json",
|
|
"./eslint.base.cjs": "./eslint.base.cjs",
|
|
"./eslint.react.cjs": "./eslint.react.cjs"
|
|
},
|
|
"peerDependencies": {
|
|
"@vitejs/plugin-react": "^4.0.0 || ^5.0.0",
|
|
"typescript": "^5.0.0",
|
|
"vite": "^4.0.0 || ^5.0.0"
|
|
}
|
|
}
|