tsx
tsx copied to clipboard
⚡️ TypeScript Execute: Node.js enhanced to run TypeScript & ESM
### Precheck - [X] I searched existing issues before opening this one to avoid duplicates - [X] I'm able to reproduce this issue and prove it with a minimal reproduction...
### Problem On Windows, changing a file with a directory path that includes non-empty brackets (`{env}` for example) doesn't trigger watch mode to update. It appears to be related to...
https://github.com/esbuild-kit/tsx/issues/342 After looked into it. It seems not relate to the issue. So, open new one here Repo: https://github.com/SettingDust/esbuild-esm-loader-exports-map-ts
### Problem I noticed that when using the REPL (`yarn tsx`), most expressions with `typeof` result in the output line being `undefined`. If it's in a ternary it seems to...
### Precheck - [X] I searched existing issues before opening this one to avoid duplicates - [X] I understand tsx aims for TypeScript parity and will not support arbitrary Node.js...
### Precheck - [X] I searched existing issues before opening this one to avoid duplicates - [X] I'm able to reproduce this issue and prove it with a minimal reproduction...
### Feature request I would like to be able to add files to be watched in addition to the default, for example to watch the `.env` file. ### Why? I...
### Feature request If tsx fails to find a module to import, list where it looked. Either as a debug option, or better yet just include it as part of...
### Bug description What did you do? (Provide reproduction code in next section) **Import a ES module with a main export (https://github.com/nextauthjs/next-auth/blob/b96f01319c751c7d62433c24fdb9f3f8f1e572c1/packages/core/package.json#L36).** What did you expect to happen? **Import successfully.**...
### Problem I created a `.ts` script in my project. It calls multiple dependencies in and outside the project. One of them is a package (`dep-a`) whose code is an...