Andrew Bradley
Andrew Bradley
Yeah, that'd be great. I made a list in a comment, I think if we can get those tests added -- even if they fail initially -- that'll be a...
@charles-allen any luck? Anything I can help with? I'm always looking for excuses to improve [`CONTRIBUTING.md`](https://github.com/TypeStrong/ts-node/blob/main/CONTRIBUTING.md)
Sounds great, thanks. I listed some of the tests we need here: https://github.com/TypeStrong/ts-node/pull/1585#pullrequestreview-869432652 (I forget if I already linked to this comment or not) > ran the tests (3 are...
@charles-allen > I think exec is not working correctly in my tests, but I can't work out what I've done differently to the 2 existing ESM tests. Any ideas? Hmm,...
`filename, hasEsmSyntax, parentPath = null, packageJsonPath = null` ``` require() of ES Module ${filename}${parentPath ? ` from ${ parentPath}` : ''} not supported. ``` ``` if (!packageJsonPath) { if (StringPrototypeEndsWith(filename,...
@mindplay-dk we can capture requirements for this more general project configuration example here. I'm copying over some of my questions from the other thread. Getting a second opinion on these...
@mindplay-dk friendly reminder to create a project configuration that does *not* work, as a starting point for this discussion. - node version - package.json file w/ts-node, typescript dependencies - tsconfig.json...
Great, thanks. Responding to questions in no particular order: ## tsconfig "paths" and "baseUrl" Path mapping will soon be added to ts-node by #1664. Also, tsconfig-paths does not support ESM,...
Took another look at ansi-colors. The issue you are hitting is a node issue, not a typescript nor a ts-node issue. https://nodejs.org/dist/latest-v18.x/docs/api/esm.html#interoperability-with-commonjs Notably: > Named exports may be available, provided...
We already do with `--experimental-specifier-resolution=node`. And honestly, I bet when you turn off the typechecker, it'll work with the `.ts` extension in ts-node. I recommend trying both of those options....