tsx
tsx copied to clipboard
⚡️ TypeScript Execute: Node.js enhanced to run TypeScript & ESM
### Description In windows, Using dynamic import with absolute path cause `ERR_UNSUPPORTED_ESM_URL_SCHEME` error  ### Reproduction 1. create a.ts file following ```ts import path from "path"; const abs_path = path.resolve('./b.ts',...
### Acknowledgements - [X] I searched existing issues before opening this one to avoid duplicates - [X] I understand this is not a place for seek help, but to report...
### 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...
### Acknowledgements - [X] I searched existing issues before opening this one to avoid duplicates - [X] I understand this is not a place for seek help, but to report...
### Feature request Thanks for developing and maintaining this library. Would you be open to adding a flag to disable the restart on return behavior when running in watch mode...
some typescript and node framework (like nestjs) use `emitDecoratorMetadata` , but esbuild not support it, and [@anatine/esbuild-decorators](https://github.com/anatine/esbuildnx) plugin can solve it . but esbuild's `transform` api [not support plugin](https://esbuild.github.io/plugins/),some can...
### 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...
### Bug description I put my project inside `node_modules` directory (not even real `node_modules` alongside some `package.json`, just a new directory named that). After doing so, resolving tsconfig paths stopped...
### Bug description When using watch mode, piping stdout is broken, it doesn't do anything at all, just prints straight to console. It works without watch. - Before  -...
### 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...