Andrew Bradley
Andrew Bradley
Related: https://github.com/TypeStrong/ts-node/issues/796 https://github.com/TypeStrong/ts-node/issues/1473 https://github.com/cspotcode/node-source-map-support/pull/23 Add a configuration option, perhaps named `installSourceMapSupport` or `sourceMapHooks`, which can be used to disable `require('@cspotcode/source-map-support').install()` Important things to consider: * Do we continue to generate...
It's not clear that the `ignore` option is an array of regexps which are passed to `new RegExp`. I think we can be clearer about this. Whatever docs update we...
We have redirection for require(); add it to ESM loader. Relies on cspotcode/node-source-map-support#31
We have multiple codepaths which both duplicate FS access code. Additionally, our source-map-support hook touches this FS caching layer. Refactor into a single fs API which can be instantiated by...
I'm not sure if this is a bug or what. But if I hook into the `CompilerHost`'s `getSourceFile` function, it *never* reuses a pre-existing SourceFile. It always returns new ones....
blocked by merge of #970 Project references are basically an extension to TypeScript's resolver. It will intelligently figure out when you're importing the output of a referenced project, and will...
When user runs `ts-node ./index.ts` and the code spawns worker_threads and/or child_processes, these should also be able to `require()` `.ts` files. This *already* happens with `node --require ts-node/register`, since that's...
Can we detect when the user has enabled node's native sourcemap support and skip registration of `@cspotcode/source-map-support`?
Info about: File classification: module or CommonJS? Due to package.json? Or overrides? Is it transformed? Or ignored? Why? Due to ignore rules? File extension? Prompt the user to use --cat-file...
We can log a helpful warning when code tries to use TS builtin modules and yet `@types/node` was not resolved. Either resolution was never attempted or resolution failed. We can...