4 ms·
Where I worked full TypeScript compilation in the monorepo would take an hour or more. But that would be kinda rare. Using project references and heavy CI cachi
by mohsen1 2y ago
Where I worked full TypeScript compilation in the monorepo would take an hour or more. But that would be kinda rare. Using project references and heavy CI caching and remote caching we were able to type-check parts of the repo with confidence, so IDEs were performant in multi-million-line TypeScript repo.
This is a very likely customer of what you're offering but I doubt it would be an easy sell. Specially that there is always risk of drifting from mainline tsc when using 3rd party compilers
You'd not be the first one to try build a faster tsc. Did you do a deep dive of why they all hit a wall with TypeScript complexity?
- molszanski 2y agoI would pipe a faster checker as a first fail fast local and CI. I want a CI to fail fast but in the end I want it to be correct before production release
- mohsen1 2y agotsc caches the interface of projects so when a project is not changed, its not compiled. see https://www.typescriptlang.org/docs/handbook/project-references.html https://www.typescriptlang.org/docs/handbook/project-referen...
- molszanski 2y agoYup yup, I know, but requires a lot of setup on CI. We are using project references btw. They are very cool