dominikg / tsconfck

A utility to find and parse tsconfig files without depending on typescript
Other
290 stars 14 forks source link

support ${configDir} in typescript 5.5 #167

Closed dominikg closed 4 months ago

dominikg commented 4 months ago

see https://devblogs.microsoft.com/typescript/announcing-typescript-5-5-beta/#the-configdir-template-variable-for-configuration-files

tbh i am not thrilled. Resolving tsconfig itself is already quite complex, and this turns one of the last "constants" (paths are relative to the actual file) into something dynamic yet again.

tsconfck currently uses regex for include/exclude matching that would need to account for replacing the ${configDir} placeholder first.

I'm currently lacking the bandwitdh to look into this, so if anyone wants a shot, go ahead.