1 Commits
Author SHA1 Message Date
Matt Godbolt 1424b37914 Fix broken frontend import paths and add import validation
- 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.
2025-06-13 17:26:58 -05:00