Monkey Patch All the Things: Actually invoking TypeScript in the Glint pipeline
Channel: Sympolymathesy by Chris Krycho
Date: 2023-10-16

Chris Krycho and Dan Freeman show how Glint invokes #typescript, handles caching of documents and results, manages “environments”, .

The Series:
1: https://www.youtube.com/watch?v=MLpP8D3cY7M&list=PLelyiwKWHHApkoeXQjwKPHPAHgKXZyl3t&index=1
2: https://www.youtube.com/watch?v=Xhv1jAV5cZI&list=PLelyiwKWHHApkoeXQjwKPHPAHgKXZyl3t&index=2
3: https://www.youtube.com/watch?v=6-TWGx8j9RU&list=PLelyiwKWHHApkoeXQjwKPHPAHgKXZyl3t&index=3
4: https://www.youtube.com/watch?v=9RjaREOmFAA&list=PLelyiwKWHHApkoeXQjwKPHPAHgKXZyl3t&index=4
5: https://www.youtube.com/watch?v=oqIAyLbp6Rc&list=PLelyiwKWHHApkoeXQjwKPHPAHgKXZyl3t&index=5
6: https://www.youtube.com/watch?v=VUXROd82Ljk&list=PLelyiwKWHHApkoeXQjwKPHPAHgKXZyl3t&index=6

TypeScript docs:
• 'incremental' compiler option: https://www.typescriptlang.org/tsconfig#incremental
• Project references and '--build' mode: https://www.typescriptlang.org/docs/handbook/project-references.html
• Using the compiler API (Wiki): https://github.com/microsoft/TypeScript/wiki/Using-the-Compiler-API

Read-through cache: https://catsincode.com/caching-strategy/

Chapters
00:00 Start
01:01
07:11
15:36
16:26
17:46 Truly nightmarish
21:10
21:13 The last bits of the Environment APIs
27:13
28:59 Digging into the TransformManager
32:03 
36:55
37:50
42:05