dominikg / tsconfck

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

feat: support for solution-style tsconfig #3

Closed dominikg closed 3 years ago

dominikg commented 3 years ago

fixes #2

The implementation is a "best effort" with some educated guesses on how typescript solutions actually work.

To be discussed: 1) regex based matching of patterns for include. Is that ok or should that be done with array/string scanning for perf and security reasons? 2) return value in case no reference including the input file was found? Only the solution as 'closest' tsconfig or no tsconfig because it doesn't include it 3) ParseResult interface structure. 2 props with referenced and solution feel a bit much for one feature

dominikg commented 3 years ago

@sodatea would love to get some feedback