Releases: TypeStrong/ts-node
Releases · TypeStrong/ts-node
Compiler Host API
Fixed
- Remove normalize slashes from config file loading for Windows
Added
- Configure using
tsconfig.json(#921) @cspotcode 🎉 - Allow
dirto be configurable - Add
--buildflag for emitting compiled TypeScript (under--compiler-hostmode) - Incremental compiler support (#895)
Fix relative `node_modules` ignore
- Fix relative
node_modulesignore 266eaa5
Fix transpile diagnostics
Revert `--require` module loading
Fixed
- Revert
--requiremodule loading change
TS Script
Added
- Expose
ts-scriptfor relativetsconfig.jsonfiles from<script.ts> - Support
--interactiveCLI option - Expose registered
ts-nodeinstance information onprocess - Allow dynamic
enableof registeredts-nodeinstances - Allow
--dirto be configurable from CLI - Add
--scopeflag for directory scoped compilation of TypeScript - REPL history on node 11+
- Expose
createfunction for programmatic compiler usage
Fixed
- Repeated RegExps in REPL will now compile
Fix 8.20 dependency regression
Fixed
- Revert "List all files in memory cache improves perf 1.4x" 87a6e2c
Program Transformers
Prefer TS Extensions
Added
- Support
--prefer-ts-extsflag
Cache FS Operations
Added
- Expand FS cache to all file system operations
Changed
- Pass all files to "root scripts" TypeScript compiler option to improve performance
Remove Realpath
Fixed
- Remove
realpathfrom TypeScript compiler to support existing use-cases withoutpreserveSymlinks