Releases: TypeStrong/ts-node
Releases · TypeStrong/ts-node
Log Errors Option
Added
- Expose
--log-erroroption for logging on TypeScript compilation issues - Cache file system lookup operations
Changed
- Remove
incrementalandtsBuildInfoFilecompiler options
Relative TypeScript
Added
- Fall back on resolving relative TypeScript packages (normal resolution is from working directory, these two things can be the same in the case of locally installed packages)
Override Includes
Fixed
- Override
includeproperty, notincludes🤕
Missing Arg
Fixed
- Add missing
argtopackage.jsondependencies
Remove Cache
Changed
- Remove JavaScript output cache
- Cleaned up CLI args
- The
-poption must now be-pesinceargdoes not support optional flag and string at the same time - Other CLI options support camel case must now be specified in
kebab-case
- The
- Preserve
ts-nodearguments inexecArgvfor forked processes to use - Avoid loading files at the configuration level by default
- Avoids
ts-nodeREPL taking a long time in a large user directory
- Avoids
Strip TypeScript "composite" flag
Added
- Strip TypeScript
compositeflag from configuration file
Skip `files` by default
Changed
- Skip loading
tsconfig.jsonfiles configuration, by default, to improve startup (e.g. files included byincludesorfiles)- More info/solution: https://github.com/TypeStrong/ts-node#help-my-types-are-missing
Files Config Flag
Added
- New flag (
--files) can be used to disable loading files fromtsconfig.jsonby default
CLI Flags
Fixed
- Correct CLI default flags using environment variables
- Use
buffer-frommodule for old-node.js compatibility
Added
- Awesome new logo to README!
Remove `emitDeclarationOnly`
Fixed
- Delete
emitDeclarationOnlyfrom configuration to ensure config is valid