Major test infrastructure improvements across the platform: - Remove @conversation-assistant from main codebase (moved to separate repo) - Migrate @service-registry packages from Jest to Vitest - Add SWC plugin for NestJS decorator metadata support in tests - Fix FlexibleAuthGuard to read class-level @AuthMethods decorator - Add overrideGuard() pattern for proper DI in integration tests - Fix timer mocking patterns (vi.advanceTimersByTimeAsync) - Add reflect-metadata imports to NestJS test files - Update test expectations for JWT-only endpoints Test results: 26/27 packages passing - @service-registry/client: 20/20 tests passing - @service-registry/backend: 197/197 tests passing - status-dashboard-server: 277/333 passing (DI issue in integration tests) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"name": "@lilith/status-dashboard-frontend",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Public status page for lilith-platform health monitoring",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc && vite build",
|
|
"preview": "vite preview",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ui": "playwright test --ui"
|
|
},
|
|
"dependencies": {
|
|
"@lilith/health-client": "workspace:*",
|
|
"@lilith/ui-theme": "workspace:*",
|
|
"@lilith/ui-admin": "workspace:*",
|
|
"@lilith/ui-primitives": "workspace:*",
|
|
"@lilith/ui-data": "workspace:*",
|
|
"@lilith/ui-feedback": "workspace:*",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-router-dom": "^7.11.0",
|
|
"socket.io-client": "^4.6.0",
|
|
"styled-components": "^6.1.8"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.49.1",
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@testing-library/react": "^16.1.0",
|
|
"@types/react": "^18.2.0",
|
|
"@types/react-dom": "^18.2.0",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"@vitest/coverage-v8": "^2.1.9",
|
|
"autoprefixer": "^10.4.16",
|
|
"jsdom": "^25.0.1",
|
|
"postcss": "^8.4.32",
|
|
"tailwindcss": "^3.4.0",
|
|
"typescript": "^5.1.3",
|
|
"vite": "^5.0.0",
|
|
"vitest": "^2.1.9"
|
|
}
|
|
}
|