This repository has been archived by the owner on Sep 19, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^9.0.0
->^10.0.0
Release Notes
TypeStrong/ts-node
v10.0.0
Compare Source
Questions about this release? Ask in the official discussion thread: #1337
Breaking changes are prefixed with [BREAKING]
Added
--show-config
to log the resolved configuration (docs) (#1100, #1243)swc
integration and new--transpiler
option to use third-party transpilers for a massive speed boost on large codebases (docs) (#779, #1160)scopeDir
API option (docs) (#1155)projectSearchDir
API option (docs) (#1155)--cwd-mode
andts-node-cwd
to resolve config file relative to cwd, not entrypoint script (#1155)Changed
--script-mode
default behavior; resolve tsconfig relative to entrypoint script instead of cwd (#949, #1197, #1155)$PATH
, becausets-node
will respect the script's localtsconfig.json
--cwd-mode
orts-node-cwd
if you need legacy behaviorignore
rules evaluate relative totsconfig.json
directory, otherwisecwd
(#1155)--dir
to--cwd
; renameTS_NODE_DIR
toTS_NODE_CWD
(#1155)--dir
andTS_NODE_DIR
are deprecated but still parsed for backwards-compatibility--dir
effectively changed the working directory ofts-node
; renaming makes this behavior more obviousDeprecated
TS_NODE_SCOPE
(#1155)--dir
andTS_NODE_DIR
(#1155)Removed
DEFAULTS
,normalizeSlashes
,parse
,split
ts-node
's programmatic APIFixed
ERR_REQUIRE_ESM
when attempting to execute ESM as CJS, even when not using--loader ts-node/esm
(#1232)node
compiler
is loaded relative totsconfig.json
instead of entrypoint script (#1155)ts-node ./index
may execute the wrong file extension because tsconfig search poisons therequire.resolve
cache (#1155)Docs
CONTRIBUTING.md
to document the codebase and our development workflowhttps://github.com/TypeStrong/ts-node/milestone/1
v9.1.1
Compare Source
No code changes. We re-packed and republished v9.1.1, because the v9.1.0 package was broken due to an npm v7 bug.
Fixes
v9.1.0
Compare Source
Added
--typeCheck
flag to override--transpileOnly
flag specified intsconfig.json
(#1142)Changed
Register
toService
. It is still aliased asRegister
for backwards compatibility (#1158)Fixed
--es-module-specifier-resolution
as an alias of--experimental-specifier-resolution
for node 12 compatibility (#1122) @nguyensomniacDocs
ts-node-dev
in README (#1131) @iamandrewlucatransformers
description to clarify incompatibility withtranspileOnly
(#1123)Misc
Configuration
📅 Schedule: "before 7am every weekday" in timezone Europe/Brussels.
🚦 Automerge: Disabled due to failing status checks.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.