- Added read-only access to shared frontend components in `docker-compose.app.yml`. - Updated TypeScript configuration in `tsconfig.app.json` and `tsconfig.json` to support path mapping for shared components. - Modified CSS imports in `index.css` to accommodate shared styles. - Refactored layout rendering logic in `layoutRenderer.tsx` to utilize shared layout components for various site layouts. - Improved template rendering in `templateEngine.tsx` by integrating shared block components for better consistency and maintainability.
33 lines
720 B
JSON
33 lines
720 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"isolatedModules": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
|
|
/* Path mapping */
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@shared/*": ["../frontend/src/components/shared/*"]
|
|
},
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedSideEffectImports": true
|
|
},
|
|
"include": ["src"]
|
|
}
|
|
|