Effect-TS / docgen

An opinionated documentation generator for Effect projects
https://effect-ts.github.io/docgen
MIT License
34 stars 8 forks source link

Not reporting TSC or TSX errors #66

Closed leonitousconforti closed 7 months ago

leonitousconforti commented 7 months ago

What version of Effect is running?

2.4.11

What steps can reproduce the bug?

Add some invalid typescript or an invalid assert to an example, run docgen.

What is the expected behavior?

Docgen should report the TSC and TSX errors?

What do you see instead?

Docgen reports no errors

Additional information

Here is a repro, also tried updating all dependencies but still no change.

When I add debug logs to the output of the TSC command, I can see the errors and non-zero exit code, but docgen succeeds anyways:

Screenshot 2024-04-07 at 1 16 40 PM
leonitousconforti commented 7 months ago

tested docgen 0.3.8 in my project and it works, seems to be 0.4.0 that isn't reporting tsc or tsx errors