mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 21:09:26 -06:00
- Fix 70 broken import paths across 41 frontend TypeScript files - Most imports were trying to import from './compilation/' but should be '../types/compilation/' - Update imports to use correct relative paths to the types directory - Add comprehensive import validation script that: - Validates all .ts imports in the frontend codebase - Handles TypeScript's .js import convention correctly - Provides helpful error messages for broken imports - Runs in ~2 seconds for 181 files - Add check-imports to lint-staged pre-commit hooks - Add npm script for standalone import validation This fixes import issues that were preventing TypeScript compilation and ensures future imports will be validated automatically.