knightedcodemonkey / duel

TypeScript dual packages.
MIT License
20 stars 4 forks source link

Does not seem to output non-zero exit code when typescript compilation fails #36

Closed jeffhertzler closed 7 months ago

jeffhertzler commented 7 months ago

This makes it a bit hard to use with CI tooling. Need to run tsc --noEmit as a pre-step to work around it.

https://codesandbox.io/p/devbox/duel-bug-sd7q6f

run npm run build:tsc and npm run build:duel and see the difference

knightedcodemonkey commented 7 months ago

Thanks for pointing this out. I've released v1.0.6 that should correctly report error exit codes.

jeffhertzler commented 7 months ago

Thank you for this quick fix!