ts-node
10.9.2 · 8 Dec 2023MIT60.2M / weekRepositoryHomepagenpmAtom feed
128 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 10.x · latest line
10.9.1
14 Jul 2022Workaround nodejs bug introduced in 18.6.0
Fixed
Workaround nodejs bug introduced in 18.6.0
Only affects projects on node >=18.6.0 using
--esmOlder versions of node and projects without
--esmare unaffected
10.9.0
13 Jul 2022Added helpful error message when swc version is too old to support our configuration
Added
experimentalTsImportSpecifiersoption which allows using voluntary.tsfile extensions in import specifiers (undocumented except for API docs)
Added
--projectaccepts path to a directory containing atsconfig.json(#1829, #1830)previously it required an explicit filename
Added helpful error message when swc version is too old to support our configuration
Added
experimentalTsImportSpecifiersoption which allows using voluntary.tsfile extensions in import specifiers (undocumented except for API docs)
Fixed
Fixed bug where
child_process.fork()would erroneously execute the parent's entrypoint script, not the intended child script (#1812, #1814)Fixed support for jsx modes
"react-jsx"and"react-jsxdev"in swc transpiler (#1800, #1802)Fixed support for import assertions in swc transpiler (#1817, #1802)
Fixed bug where calling
repl.evalCode()with code not ending in a newline would not update the typechecker accordingly (#1764, #1824)
10.8.2
2 Jul 2022Revert "Use file URL for source map paths"
Allow JSON imports in node 16.15 and up
Fixed
Revert "Use file URL for source map paths"
Allow JSON imports in node 16.15 and up
JSON imports were already supported in v17.5 and up
this change extends support to >=16.15.0,<17.0.0
These version ranges match vanilla node's support for JSON imports
10.8.0
21 May 2022Questions about this release? Ask in the official discussion thread
Added
Added support for
module=NodeNext,module=Node16,.mts,.cts,.mjs, and.cjsfile extensions (#1414, #1694, #1744, #1745, #1727, #1717, #1753, #1757)For best results, enable
experimentalResolver(docs)See TypeScript's official documentation: typescriptlang.org/docs/handbook/esm-node.html
enables mixed-mode projects with both ESM and CommonJS
enables all supported file extensions in TypeScript 4.7
Obeys package.json "type"
Added ability to include file extensions in CommonJS imports (#1727, #1753)
Enables consistency with ESM, where file extensions are often mandatory
Resolves from emitted to source file extensions (#1727, #1753)
Must enable
experimentalResolver, will be enabled by default in a future version (docs)Typechecker requires importing the emitted file extension; ts-node resolves correctly to the source file. E.g.
import "./foo.js"will executefoo.tsSee also: TypeScript issue #37582If typechecking is disabled, you can also use source file extensions. E.g.
import "./foo.ts"
Added
experimentalSpecifierResolution(#1727, #1753)the same as Node's
--experimental-specifier-resolution(Node docs)can also be specified in
tsconfig.jsonfor convenience, to avoid the CLI flagallows omitting file extensions in ESM imports, plus a few other CommonJS-style conveniences
Adds
diagnosticsproperty toTSError, with array of TypeScript diagnostic objects from the compiler (API docs) (#1705, #1706)
Changed
Renames option
experimentalResolverFeaturestoexperimentalResolver(docs)Internal change to ESM loader for compatibility with forthcoming node versions: returns
shortCircuit: true(#1714, #1715)Performance: Optimize filesystem stat calls in ESM loader and new CommonJS resolver (#1758, #1759)
Performance, maintenance: Upgrade source-mapper dependency "@cspotcode/source-map-support"
Switches to "trace-mapping" for underlying source-map parsing
Fixed
Fixed bug where REPL
.typecommand was not showing any type information when using TypeScript nightly builds (#1761, #1762)Correctly suppress "Custom ESM Loaders" warning on newer node versions where the warning's prose changed
Fixed REPL bug where function signatures could not be entered across multiple lines (#1667, #1677)
REPL treats unparenthesized object literals as objects, instead of as block scopes (#1697, #1699)
Fixed bug where
preferTsExtscombined with third-party transpiler hooks could disruptnyccode coverageFixed bug where
file://URLs in stack traces did not always use percent-encoding (#1738, #1726, #1729)Fixed bug where v8-compile-cache-lib did not correctly unhook itself (#1717, #1718, #1719)
This internal dependency is used to speed up loading the TypeScript compiler
Docs
10.7.0
6 Mar 2022Lazy-load dependencies to improve startup responsiveness.
Questions about this release? Ask in the official discussion thread
Added
Adds
--esmflag, option, andts-node-esmbinary (#1258, #1655)Enables full
esmsupport; no need for--loadernorNODE_OPTIONSUse shebang
#!/usr/bin/env ts-node-esm, runts-node --esm, or add to your tsconfig.json:"ts-node": {"esm": true}
Changed
Unflag ESM json modules on node >=17.5.0 (#1661, #1665)
no longer requires
--experimental-json-modules
Lazy-load dependencies to improve startup responsiveness.
Fixed
10.6.0
1 Mar 2022Adds support for target "ES2022" in
moduleTypesoverrides
Questions about this release? Ask in the official discussion thread
Added
Adds workaround for extensionless entrypoints with ESM loader (#1649, #1654)
You can now combine tools such as
mochawith--loader ts-node/esm, where previously node would throw[ERR_UNKNOWN_FILE_EXTENSION]node has a bug where combining
--loaderwith an extensionless entrypoint causes this error nodejs/node#33226Some tools, for example
mocha, have an extensionless entrypoint. (source, source)Combining
NODE_OPTIONS=--loader ts-node/esmwith these tools causes this error. mochajs/mocha#4645node intends to fix this bug in a future release: nodejs/node#41711
In the interim, we have implemented a workaround in ts-node.
Adds support for target "ES2022" in
moduleTypesoverrides
Fixed
Fixed bug where
--swcand other third-party transpilers did not respectmoduleTypesoverrides (#1651, #1652, #1660)Fixed bug where node flags were not preserved correctly in
process.execArgv(#1657, #1658)This affected
child_process.fork(), since it usesprocess.execArgvto create a similar child runtime.With this fix,
child_process.fork()will preserve both node flags andts-nodehooks.
Fixed compatibility TypeScript 4.7's API changes (#1647, #1648)
10.5.0
7 Feb 2022Questions about this release? Ask in the official discussion thread
Added
Eliminate "Emit Skipped" errors (#693, #1345, #1629)
Avoids all "Emit Skipped" errors by performing a fallback
transpileOnly-style transformation.Does not affect typechecking. Type errors are still detected and thrown.
Fallback has the same limitations as
isolatedModules. This will only affect rare cases such as usingconst enumswithpreserveConstEnumsdisabled.Fixes #693
Graduate swc transpiler out of experimental; add
swc: trueconvenience option (docs) (#1487, #1536, #1613, #1627)"swc": trueor--swcwill use swc for faster executionThis feature is no longer marked "experimental." Thank you to everyone who filed bugs!
Swc transpiler attempts to load
@swc/coreor@swc/wasmdependencies from your project before falling-back to global installations (#1613, #1627)global fallback only occurs when using a global installation of ts-node
Add support for TypeScript's
traceResolutionoutput (docs) (#1128, #1491)Support import assertions in ESM loader (docs) (#1557, #1558, #1559, #1573)
Allows importing JSON files from ESM with the requisite flag (docs)
ts-node -vvvalso logs absolute paths tots-nodeandtypescript, to make it more obvious when you're accidentally using globally-installed versions (#1323, #1620)Add swc target "es2022" (#1535, #1540)
When you have target es2022 in tsconfig, will use swc's es2022 target
Changed
Initialize TypeScript compiler before starting REPL prompt
Improves responsiveness for first line of REPL input
Use
v8-compile-cache-libto load typescriptSupport both
--camelCaseand--hyphen-casefor all CLI flags; update documentation to use--camelCase(#1598, #1599)Not a breaking change; CLI continues to accept both forms
Make
TSErrordiagnosticTextproperty non-enumerable to prevent it from being logged below the stack
Fixed
Fix #1538: REPL inputs fail to transpile via swc (#1538, #1541, #1602)
Fix #1478: REPL erroneously logged
undefinedfor all inputs after the first when using swc transpiler (#1478, #1580, #1602)Fix #1389: In
--showConfigoutput, emit accuratemoduleTypespaths resolved relative to thetsconfig.jsonwhich declared them (#1389, #1619)Remove indentation from
ts-node --helpoutput (#1597, #1600)Fix #1425: Merged definitions correctly into
tsconfig.schemastore-schema.json(#1425, #1618)Allow disabling
"use strict"emit in SWC transpiler (#1531, #1537)Add missing
ERR_UNKNOWN_FILE_EXTENSIONconstructor; was throwingERR_UNKNOWN_FILE_EXTENSION is not a constructorFix #1565: entrypoint resolution failed on node v12.0.x and v12.1.x (#1565, #1566)
Misc
10.4.0
22 Oct 2021Adds support for targets "es2020" and "es2021" to swc transpiler
Adds automatic target downgrade when using older versions of swc
Added
Adds support for targets "es2020" and "es2021" to swc transpiler
Adds automatic target downgrade when using older versions of swc
If tsconfig specifies es2020, but your version of swc only supports up to es2019, ts-node will automatically switch to es2019 instead of throwing an error
Changed
Fixed
10.3.1
21 Oct 2021Add version check to use new loader hooks API for node >=16.12.0
Fixed
Add version check to use new loader hooks API for node >=16.12.0
10.3.0
11 Oct 2021Add
createEsmHooks()function to create ESM loader hooks (API docs)register()accepts a ts-nodeService(API docs)
Questions about this release? Ask in the official discussion thread
Added
Declare types for node builtin modules within REPL so you do not need to import them (#1424, #1500)
Node REPL exposes builtin modules as globals; typechecker now understands this
Typechecking should no longer raise errors when using builtins without first importing
For example:
util.promisify(setTimeout)(1000)orfs.readFileSync('example.txt')
Add
createEsmHooks()function to create ESM loader hooks (API docs)Can be used to compose our loader hooks with another loader or additional logic
register()accepts a ts-nodeService(API docs)register(options)is still supported; no breaking changes
Add support for Node.js's new loader hooks API (#1372, #1457, #1007)
Node.js has changed their loader hooks API
ts-node is compatible with all node versions, detects your node version and exposes the correct hooks API
Node's new API currently only available in node v17 nightly builds
Node will eventually backport the changes to node 16, and may also be backport to 14 and 12
Changed
When ts-node is registered and other libraries
require('source-map-support'), they will be redirected to@cspotcode/source-map-supportSee complete description in Fixed section below
Fixed
Fix #1440, #1441, #1438, #1495: Incorrect stack traces when third-party libraries use
source-map-supportinstead of@cspotcode/source-map-support(#1440, #1441, #1438, #1495, cspotcode/node-source-map-support#23, #1496, #1497)When ts-node is registered and other libraries
require('source-map-support'), they will be redirected to@cspotcode/source-map-supportts-node uses
@cspotcode/source-map-supportfor the fixes and enhancements listed here:@cspotcode/source-map-supportchangelogTo ensure correct stack traces, all libraries must share a compatible sourcemap support implementation
Fix #1363: REPL may erroneously combine previous input with next input, eval both as a single statement (#1363, #1480)
For example, entering
100on first line and* 2on second line would erronously be interpreted as100 * 2REPL now ensures both lines are separate statements, both when typechecking and when evaluating
Fix #1488: Node may log "circular dependency" warning when using
allowJs(#1488, #1489)Fix #1301: Filter empty strings from
TS_NODE_IGNOREandTS_NODE_IGNORE_DIAGNOSTICS; treat empty environment variable as empty array (#1301, #1483)TS_NODE_IGNORE= ts-node ./example.tswill disable default ignore rules; will compile files in./node_modules
Docs
Update VSCode debug configuration (Docs)
Update ESM-related messaging to clarify that experimental status is due to Node.js, not ts-node
Refer to ts-node consistently
10.2.1
18 Aug 2021Fixed
Fixes #1426: Do not import typescript outside of configuration/project loading (#1433, #1426)
We take care to load your project's version of typescript, falling back to a globally-installed version if necessary.
10.2.0 introduced a bug where we did not do this consistently, causing global or npx installations of ts-node to attempt loading typescript relative to themselves, not your project.
This failed if typescript was not globally installed or npx did not install peer dependencies.
10.2.0
8 Aug 2021Questions about this release? Ask in the official discussion thread
Added
Setting
"pretty": falsedisables pretty formatting of diagnostics even when stdout is a TTY (#1418, #1420)Applies to ts-node's
prettyoption, not to be confused with TypeScript'sprettyoption
Ignores diagnostics which are annoying in an interactive REPL (#1396, #1120, #729, #850, #469)
For example, when you input
const foo = 1in the REPL,foois unused. We ignore the resulting diagnosticfoo is declared but its value is never readDiagnostics are only ignored in the REPL
Diagnostics for non-REPL files imported by the REPL will still be shown
Logged stack traces are colorized to match vanilla node's behavior (#1412, #1405)
Fixed
Fix #1397: SWC transpiler should emit ECMAScript imports and exports when configuration dictates (#1409, #1397)
Enables SWC transpiler to be used alongside
--loader
Fix #1403: source-map-support breaks rendering of node errors (#1405, #1403)
Fix #1410: rendering of async stack frames should include
asyncannotations (#1405, #1410)Fix #1411: wrong order of process 'exit' event and logging unhandled exception (#1405, #1411)
Fix #1419: Should not throw
require.resolveerror when@types/nodepeerDependency is missing (#1419, #1422)
10.1.0
9 Jul 2021Questions about this release? Ask in the official discussion thread
Added
Add
"moduleType"option to override module type -- CommonJS or ECMAScript -- on select files. (docs) (#1342, #1371, #1376)Useful when a configuration file, for example
webpack.config.ts, must execute as CommonJS but the rest of the project is ESMselectively overrides
package.json"type"andtsconfig.json"module"akin to
.cjsand.mjsextensions, but for.tsand.tsxfiles
Implement
"extends"support for"ts-node"options intsconfig.json(#1328, #1356)"ts-node": {}options will be parsed from extended tsconfigsallows sharing and deduplicating ts-node configuration
Un-deprecate
scopeandscopeDir; add both to CLI andtsconfig.jsonoptions; un-deprecateTS_NODE_SCOPEenv var; addTS_NODE_SCOPE_DIRenv var (docs) (#1346, #1367)
Changed
Improve error messages thrown by native ESM loader hooks (#1357, #1373)
messages more closely match node; are more descriptive
Emit
"ts-node"object at the top of--showConfigoutput instead of the bottom
Fixed
Fix #1282: Set correct globals in
[stdin],[eval], and<repl>contextsMore closely align ts-node's behavior with vanilla node
Affects the interactive REPL, piping to stdin, and
ts-node -eMatches node's behavior for globals
__filename,__dirname,moduleand sub-fields ofmodule,exports, and builtin module aliasesfs, etc
Fix #1343: Set swc option
keepClassNamestotrue#1387: REPL outputs 'use strict' after first empty line of input
Docs
Update ESM docs to say that env vars are supported with
node --loader ts-node/esm(docs)
10.0.0
23 May 2021- breaking
****
ignorerules evaluate relative totsconfig.jsondirectory, otherwisecwd - breaking
**** Remove support for node 10. Minimum supported version is node 12
Questions about this release? Ask in the official discussion thread
Breaking changes are prefixed with [BREAKING]
Added
Adds
--show-configto log the resolved configuration (docs) (#1100, #1243)Bundle and re-export @tsconfig/node* configurations for convenience (docs) (#1202, #1236, #1313)
Default to appropriate @tsconfig/node* configuration based on node and typescript versions (docs) (#1202, #1236, #1313)
Automatically reference @types/node; use globally-installed @types/node if not locally installed (#1240, #1257)
Add
swcintegration and new--transpileroption to use third-party transpilers for a massive speed boost on large codebases (docs) (#779, #1160)Add
scopeDirAPI option (docs)Add
projectSearchDirAPI option (docs)Add
--cwd-modeandts-node-cwdto resolve config file relative to cwd, not entrypoint script
Changed
- breaking
**** Make
--script-modedefault behavior; resolve tsconfig relative to entrypoint script instead of cwd (#949, #1197, #1155)In most cases this change will have no noticeable effect
Primarily benefits portable shell scripts on your
$PATH, becausets-nodewill respect the script's localtsconfig.jsonUse
--cwd-modeorts-node-cwdif you need legacy behavior
- breaking
****
ignorerules evaluate relative totsconfig.jsondirectory, otherwisecwd - breaking
**** Remove support for node 10. Minimum supported version is node 12
Rename
--dirto--cwd; renameTS_NODE_DIRtoTS_NODE_CWD--dirandTS_NODE_DIRare deprecated but still parsed for backwards-compatibility--direffectively changed the working directory ofts-node; renaming makes this behavior more obvious
Deprecated
- deprecated
Deprecate
TS_NODE_SCOPE - deprecated
Deprecate
--dirandTS_NODE_DIR
Removed
- breaking
**** Internal APIs removed from type declarations
Removed
DEFAULTS,normalizeSlashes,parse,splitNo features were removed
This will only affect consumers of
ts-node's programmatic API
Fixed
- breaking
**** Fix #1229 and #1235: always throw
ERR_REQUIRE_ESMwhen attempting to execute ESM as CJS, even when not using--loader ts-node/esmThis aligns our behavior with vanilla
node
- breaking
**** Fix #1225:
compileris loaded relative totsconfig.jsoninstead of entrypoint scriptIn most cases this change will have no noticable effect
Fix #1217: REPL not always using passed stdout and stderr
Fix #1220:
ts-node ./indexmay execute the wrong file extension because tsconfig search poisons therequire.resolvecacheFix #1322: Sourcemaps fail for filenames with spaces or other characters which are percent-encoded in URLs (#1160, #1330)
Fix #1331: Resolution of node builtin modules in ESM loader fails on node >=12.20.0, <13
Docs
New documentation website: typestrong.org/ts-node
README is generated to match the website
Added page explaining CommonJS vs ESM
Added page with Performance advice
Added Troubleshooting page
Organized and added to "Recipes" section with third-party tool integrations
Added TypeDoc-generated API docs
Work was spread across multiple tickets
Thanks to these contributors for PRs which improved our documentation
add troubleshooting tip for syntax errors
Clarify handling of tsx/jsx file extensions
Added
CONTRIBUTING.mdto document the codebase and our development workflow
- 9.x
9.1.0
3 Dec 2020Expose ts-node REPL via the API
Allow
--typeCheckflag to override--transpileOnlyflag specified intsconfig.jsonRename interface
RegistertoService. It is still aliased asRegisterfor backwards compatibility
Added
Expose ts-node REPL via the API
Allow
--typeCheckflag to override--transpileOnlyflag specified intsconfig.json
Changed
Rename interface
RegistertoService. It is still aliased asRegisterfor backwards compatibilityUpdate code copied from node's ESM resolver to be the latest from node 15, to keep our ESM resolver's behavior as close as possible to vanilla node
Fixed
ESM resolver will preserve search portion of URL, used for cache busting
Fix ESM resolution of builtin modules on node >=14.13.1
Recognize
--es-module-specifier-resolutionas an alias of--experimental-specifier-resolutionfor node 12 compatibility
Docs
Fix description of
ts-node-devin READMEUpdate
transformersdescription to clarify incompatibility withtranspileOnly
Misc
9.0.0
21 Aug 2020- breaking
Drops support for node versions < 10
- breaking
Re-add
realpath, which should fix workflows that use symlinks, such aspnpm, Lerna workspaces, or other mono-repo configurations Throw
ERR_REQUIRE_ESMwhen a file isrequire()d which should be loaded as ESM
Breaking changes are labelled [BREAKING] below.
Added
Throw
ERR_REQUIRE_ESMwhen a file isrequire()d which should be loaded as ESMRe-add
"exports"declaration to package.json in backwards-compatible way, enablingnode --loader ts-node/esmwithout file extensionAllow specifying
"require"option via tsconfigREPL respects node's
NODE_NO_READLINEenvironment variableAdd a transpile-only entrypoint for ESM loader:
node --loader ts-node/esm/transpile-only
Changed
- breaking
Drops support for node versions < 10
Fixed
- breaking
Re-add
realpath, which should fix workflows that use symlinks, such aspnpm, Lerna workspaces, or other mono-repo configurations Compile files within
node_moduleswhen--skip-ignoreor--ignoreoptions are configured to allow itFix #884 by not adding all referenced files to
getSourceFileNames/rootNamesFix #996: bump
projectVersionevery timegetSourceFileNameschanges, avoiding accidentally outdated typecheckingFix #1051: pass transformers object to
ts.transpileModuleFix #1060: use source maps for stack traces in ESM modules
Fix #1072: Respect
--experimental-specifier-resolutioncoming fromNODE_OPTIONSin ESM loaderFix #1098: ESM loader should skip
.cjs,.mjs, and any unexpected file extensions
Docs
Better explain how to compile imports, either CommonJS or using experimental ESM loader. Resolves #1075
Misc
- 8.x
8.10.2
28 May 2020Fixed
Fixed
Fixes #1037: source maps broken on Windows. (#1038)
Misc
Fix failing tests on node 6 (#1035)
Push coverage from Github Actions; remove TravisCI (#1034)
Run tests e2e against annpm pack && npm installed ts-node (#1032)
Run CI tests on Windows (#1041)
Run CI only once per commit on pull requests and master (#1042)8.9.0
20 Apr 2020Fixed
Fixed
Fix failing tests caused by recent changes to @types/node (#1016)
Fix #945: Bump source-map-support dependency to include upstream fix for worker threads error handling (#1015) @addaleax
Fix #1004: in--scriptMode, resolve config file relative to realpath of entrypoint script (#1009)
Normalized filenames in cache to fix performance issues on Windows (#997) @sylcAdded
Add timestamps to debug logging (#994) @sylc
Docs
Improve coverage of the README (#1000) @KasparEtter
Change order of install commands in README (#993) @jacobdcastro
Mentionts-node -vvflag in issue template (#1001)
Run GHActions tests on pull requests (#1017)8.8.2
5 Apr 2020Avoid pushing to
rootFileNameswith version
Fixed
Avoid pushing to
rootFileNameswith version
8.8.0
21 Mar 2020Add
sanitize=trueto README for SVGs to work on NPMSimplify
projectVersion++by incrementing on each file change
8.7.0
2 Mar 2020- deprecated
Deprecate
ts-scriptin favor ofts-node-script Remove buggy caching of
ts.sys.readDirectoryFix REPL ASI handling when user input starts with
-
Fixed
Remove buggy caching of
ts.sys.readDirectoryFix REPL ASI handling when user input starts with
-
Added
Implement
LanguageServiceHost::getProjectVersionto workaround microsoft/TypeScript#36748 (#906Add
ts-node-transpile-onlybinary
Changed
- deprecated
Deprecate
ts-scriptin favor ofts-node-script
Docs
8.6.2
13 Jan 2020Downgrade
yndue to node engine
Fixed
Downgrade
yndue to node engine
8.6.0
10 Jan 2020Remove normalize slashes from config file loading for Windows
Configure using
tsconfig.json(#921) @cspotcode 🎉Allow
dirto be configurable
Fixed
Remove normalize slashes from config file loading for Windows
Added
Configure using
tsconfig.json(#921) @cspotcode 🎉Allow
dirto be configurableAdd
--buildflag for emitting compiled TypeScript (under--compiler-hostmode)Incremental compiler support
8.5.2
15 Nov 2019Revert
--requiremodule loading change
Fixed
Revert
--requiremodule loading change
8.5.1
15 Nov 20198.5.0
11 Nov 2019Expose
ts-scriptfor relativetsconfig.jsonfiles from<script.ts>Support
--interactiveCLI optionExpose registered
ts-nodeinstance information onprocess
Added
Expose
ts-scriptfor relativetsconfig.jsonfiles from<script.ts>Support
--interactiveCLI optionExpose registered
ts-nodeinstance information onprocessAllow dynamic
enableof registeredts-nodeinstancesAllow
--dirto be configurable from CLIAdd
--scopeflag for directory scoped compilation of TypeScriptREPL history on node 11+
Expose
createfunction for programmatic compiler usage
Fixed
Repeated RegExps in REPL will now compile
8.3.0
15 Jun 2019Support
--prefer-ts-extsflag
Added
Support
--prefer-ts-extsflag
8.2.0
26 May 2019Expand FS cache to all file system operations
Pass all files to "root scripts" TypeScript compiler option to improve performance
Added
Expand FS cache to all file system operations
Changed
Pass all files to "root scripts" TypeScript compiler option to improve performance
8.1.1
25 May 2019Remove
realpathfrom TypeScript compiler to support existing use-cases withoutpreserveSymlinks
Fixed
Remove
realpathfrom TypeScript compiler to support existing use-cases withoutpreserveSymlinks
8.1.0
15 Apr 2019- removed
Remove
incrementalandtsBuildInfoFilecompiler options Expose
--log-erroroption for logging on TypeScript compilation issuesCache file system lookup operations
Added
Expose
--log-erroroption for logging on TypeScript compilation issuesCache file system lookup operations
Changed
- removed
Remove
incrementalandtsBuildInfoFilecompiler options
8.0.3
7 Mar 2019Fall 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)
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)
8.0.2
26 Jan 2019Override
includeproperty, notincludes🤕
Fixed
Override
includeproperty, notincludes🤕
8.0.1
22 Jan 2019Add missing
argtopackage.jsondependencies
Fixed
Add missing
argtopackage.jsondependencies
8.0.0
22 Jan 2019Remove JavaScript output cache
Cleaned up CLI args
Preserve
ts-nodearguments inexecArgvfor forked processes to use
Changed
Remove JavaScript output cache
Cleaned up CLI args
The
-poption must now be-pesinceargdoes not support optional flag and string at the same timeOther CLI options support camel case must now be specified in
kebab-case
Preserve
ts-nodearguments inexecArgvfor forked processes to useAvoid loading files at the configuration level by default
Avoids
ts-nodeREPL taking a long time in a large user directory
- 7.x
7.0.1
11 Aug 2018Strip TypeScript
compositeflag from configuration file
Added
Strip TypeScript
compositeflag from configuration file
7.0.0
22 Jun 2018Skip loading
tsconfig.jsonfiles configuration, by default, to improve startup (e.g. files included byincludesorfiles)
Changed
Skip loading
tsconfig.jsonfiles configuration, by default, to improve startup (e.g. files included byincludesorfiles)More info/solution: github.com/TypeStrong/ts-node
- 6.x
6.2.0
22 Jun 2018New flag (
--files) can be used to disable loading files fromtsconfig.jsonby default
Added
New flag (
--files) can be used to disable loading files fromtsconfig.jsonby default
6.1.2
20 Jun 2018Correct CLI default flags using environment variables
Use
buffer-frommodule for old-node.js compatibilityAwesome new logo to README!
Fixed
Correct CLI default flags using environment variables
Use
buffer-frommodule for old-node.js compatibility
Added
Awesome new logo to README!