Skip to content

Releases: TypeStrong/ts-node

TypeScript Error Formatting

03 Jun 09:32
Compare
Choose a tag to compare

Changed

  • Use TypeScript error formatting for diagnostic ouput
  • Delete declarationMap option from input configuration under ts-node

Normalize More Places For Windows

24 May 08:30
Compare
Choose a tag to compare

Fixed

  • More places to normalize for Windows to work

Windows Project Resolution

24 May 04:32
Compare
Choose a tag to compare

Fixed

  • Normalize paths for Windows before trying to resolve the project path
  • Use Buffer.from instead of deprecated new Buffer

REPL Context

06 May 14:08
Compare
Choose a tag to compare

Fixed

  • Use Script#runInThisContext via REPL to ensure objects all exist in the same context

Allow Empty Files

29 Apr 09:23
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where empty files were not returned to TypeScript, resulting in "not found" compiler issues

Short transpile only flag

26 Apr 00:37
Compare
Choose a tag to compare

Changed

  • Add -T short flag for transpile only mode

Type Check By Default

17 Apr 08:32
Compare
Choose a tag to compare

Many people were having issues with "fast" transpilation being the default over full project type checking like tsc. Type checking the full project upfront is slower but expected behaviour, so it's the default once again. You can still enable transpileOnly or ts-node/register/transpile-only for the faster transpiler without type checking.

Changed

  • Default behaviour is typeCheck == true || transpileOnly == false

Ignore `rootDir` Errors

01 Mar 17:29
Compare
Choose a tag to compare

Fixed

  • Ignore TypeScript rootDir errors

Remove Sub-Process

19 Feb 22:38
Compare
Choose a tag to compare

Changed

  • Remove the sub-process spawning behaviour that introduced issues with 4.x
    • Use node -r ts-node/register for advanced node.js flags such as --inspect
  • Drop support for pre-2.0 TypeScript releases
  • Use TypeScript to parse tsconfig.json to mirror tsc behaviours
    • Caveat: Must specify full path when using project in 5.x

Fixed

  • Fixed issues with CLI and environment variable defaults

Windows Detached Process

23 Dec 02:47
Compare
Choose a tag to compare

Changed

  • Avoid detaching process in Windows