mirror of
https://github.com/johndoe6345789/docker-swarm-termina.git
synced 2026-04-24 13:45:01 +00:00
The previous change to use next/font/google caused build failures in CI because Next.js tries to download fonts from Google Fonts during build time, which fails with TLS/network errors in restricted environments. Changes: - Removed next/font/google dependency from app/layout.tsx - Reverted to simpler approach without external font dependencies - Added missing properties to CommandResponse interface: - workdir: string (used by useSimpleTerminal) - exit_code: number (used to determine output vs error type) - Fixed TypeScript error in useSimpleTerminal.ts by ensuring content is always a string with || '' fallback Verified: - npm run build: ✓ Builds successfully - npm run lint: ✓ 0 errors, 0 warnings - npm test: ✓ 282/282 unit tests passing This fixes the CI build failures in: - Build and Push to GHCR workflow - Run Tests / frontend-tests workflow https://claude.ai/code/session_7d4f1b7d-7a0d-44db-b437-c76b6b61dfb2