Add scope
to CLI and tsconfig options; un-deprecate TS_NODE_SCOPE
#1346
Milestone
scope
to CLI and tsconfig options; un-deprecate TS_NODE_SCOPE
#1346
Add
--scope
to the CLI and addscope
as an option which can be specified intsconfig.json
Un-deprecate
TS_NODE_SCOPE
Update docs
Update
ts-node --help
outputUpdate: also added TS_NODE_SCOPE_DIR and
--scope-dir
/ tsconfigscopeDir
in #1367scope
to ensure there are no reasons against adding it totsconfig.json
Motivating use-case
Based on conversation starting here:
#693 (comment)
./packages/a/node_modules/b
symlinks to./packages/b
./packages/a
allowJS
is enableda
importsb
, which resolves to./packages/b/dist/index.js
ts-node
to compile anything inb
; only ina
rootDir
is./packages/a/src
butts-node
is running unit-tests in./packages/a/unit-tests
rootDir
forts-node
The text was updated successfully, but these errors were encountered: