Releases: TypeStrong/ts-node
Releases · TypeStrong/ts-node
Log Errors Option
Added
- Expose
--log-error
option for logging on TypeScript compilation issues - Cache file system lookup operations
Changed
- Remove
incremental
andtsBuildInfoFile
compiler 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
include
property, notincludes
🤕
Missing Arg
Fixed
- Add missing
arg
topackage.json
dependencies
Remove Cache
Changed
- Remove JavaScript output cache
- Cleaned up CLI args
- The
-p
option must now be-pe
sincearg
does 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-node
arguments inexecArgv
for forked processes to use - Avoid loading files at the configuration level by default
- Avoids
ts-node
REPL taking a long time in a large user directory
- Avoids
Strip TypeScript "composite" flag
Added
- Strip TypeScript
composite
flag from configuration file
Skip `files` by default
Changed
- Skip loading
tsconfig.json
files configuration, by default, to improve startup (e.g. files included byincludes
orfiles
)- 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.json
by default
CLI Flags
Fixed
- Correct CLI default flags using environment variables
- Use
buffer-from
module for old-node.js compatibility
Added
- Awesome new logo to README!
Remove `emitDeclarationOnly`
Fixed
- Delete
emitDeclarationOnly
from configuration to ensure config is valid