Skip to content

oj v0.4.0

Choose a tag to compare

@github-actions github-actions released this 01 Nov 09:42
· 325 commits to main since this release
4083776

Added

  • oj typecheck --explainFiles lists module augmentations: a file that declare module "./x" augments gets the reason Augmented via './x' from file '...', so a build tool reading the listing sees that edge as it does an import's. Diagnostics stay tsc's.

Changed

  • Breaking: oj tsc is now oj typecheck: tsc's command line, output and exit codes on oj's built-in checker. There is no oj tsc any more.
  • Breaking: the old oj typecheck, which asks the warm checker of an oj dev --typecheck server, is now oj dev-typecheck, and it no longer checks in its own process when there is no such server. With no dev server running for the app it prints no dev server found, and with one started without --typecheck it prints dev server was started without --typecheck; both exit 1. Every dev server now writes .oj-cache/v1/dev-server.json, recording whether it runs --typecheck.