diff --git a/features/status-dashboard/server/src/app.module.ts b/features/status-dashboard/server/src/app.module.ts index 533ea6bde..5adffd10b 100644 --- a/features/status-dashboard/server/src/app.module.ts +++ b/features/status-dashboard/server/src/app.module.ts @@ -13,7 +13,7 @@ import { MonitoringModule } from './monitoring/monitoring.module'; // Registry integration is optional (requires workspace build) let RegistryModule: { forRoot: (config: unknown) => DynamicModule } | undefined; try { - // eslint-disable-next-line @typescript-eslint/no-require-imports + // eslint-disable-next-line @typescript-eslint/no-var-requires RegistryModule = require('@lilith/registry-integration').RegistryModule; } catch { // Registry integration not available in standalone builds diff --git a/features/status-dashboard/server/src/main.ts b/features/status-dashboard/server/src/main.ts index 48a116b9d..2c6353fc0 100644 --- a/features/status-dashboard/server/src/main.ts +++ b/features/status-dashboard/server/src/main.ts @@ -12,7 +12,7 @@ import { JSONLoggerService } from './logging'; type RegistryServiceType = { getPort: () => number | undefined; isServiceRegistered: () => boolean } | null; let RegistryService: new () => RegistryServiceType; try { - // eslint-disable-next-line @typescript-eslint/no-require-imports + // eslint-disable-next-line @typescript-eslint/no-var-requires RegistryService = require('@lilith/registry-integration').RegistryService; } catch { // Registry service not available in standalone builds