Lessons Learned Converting Snyk Codebase To TypeScript
summary
Snyk converts a large legacy JavaScript estate to TypeScript over 18 months, moving 71 of 200 repos to 100% TS and reaching about 65% TypeScript overall, switching templates and new repos to TS, adding Jest and Prettier, and removing allowJs once the main app is pure. Incremental conversion uses minimal-change PRs, a line-count script for progress, and a custom fork of tap to run tests; incremental compile time and module style changes force repository restructuring.
AI-written summary · about
