Skip to content

Releases: TypeStrong/ts-node

Nice Errors

11 Sep 04:41
Compare
Choose a tag to compare

Changed

  • Improved, cleaner error messages - errors are properly formatted and not thrown with stack traces
  • [Internal] Register now accepts the getFile and getVersion arguments to override default lookups (for eval, REPL)

Fixed

  • Using eval/print or the REPL with TypeScript 1.6 works as expected
  • CLI arguments after the script are not interpreted

File Reloads

11 Sep 04:39
Compare
Choose a tag to compare

Changed

  • Use file mtime as the file version for TypeScript to trigger reloads
  • Write source maps inline with the file contents, in a hope to better support third-party tools like istanbul

Remove TypeScript Peer Dependency

06 Sep 22:00
Compare
Choose a tag to compare

Changed

  • Source maps are always compiled in memory

Removed

  • TypeScript no longer listed as peer dependency - use any version compatible (including 1.6)
  • TypeScript definition no longer listed in package.json for hack with TSD

Export version

23 Jul 09:09
Compare
Choose a tag to compare

Added

  • Programmatic usage to README.md
  • Prefer global in package.json
  • Add short arguments for CLI
  • Add and update VERSION variable with legit pre-commit script

Fixed

  • CLI argument descriptions

Changed

  • Compiler function from register reversed arguments
  • Resolve cwd on register

TypeScript Stable

21 Jul 01:07
Compare
Choose a tag to compare

Changed

  • Reference minimum version of typescript@^1.5.0

Eval Source Maps

15 Jul 11:27
Compare
Choose a tag to compare

Fixed

Eval Source Maps Throw

15 Jul 08:07
Compare
Choose a tag to compare

Changed

  • Removed semicolon before eval'd code, will throw source map errors instead

Source Maps

15 Jul 08:00
Compare
Choose a tag to compare

Fixed

  • Source maps use correct filename in maps for look up

Changed

  • Reuse same service across register and ts-node eval
  • Use source maps on uncaught errors, but all source maps are inline so avoid falling back to old lookup because of IO
  • [private] register returns an inline compiler instance

Added

  • More advanced examples

Quick Maintenance

15 Jul 04:18
Compare
Choose a tag to compare

Changed

  • Output filenames with errors
  • Various updates to README
  • Use TypeScript release from GitHub as dev dependency for compilation

Initial Release

15 Jul 03:55
Compare
Choose a tag to compare

Initial release of ts-node CLI for executing TypeScript under node. Provides a register hook for ordinary code and can be required for use with mocha, etc.