You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I often use esbuild-runner CLI for running test code written in TypeScript. It's helpful to print esr version while sharing the test data and output for easy reproduction. However, esr does not have -v or --version option.
$ node -vv16.18.1
$ esr -vUsage: esr [options] <source-file> [file-options] --cache Transform on a file per file basis and cache code --clearCache Clear transform cache --help|-h Display this help message
$ esr --versionUsage: esr [options] <source-file> [file-options] --cache Transform on a file per file basis and cache code --clearCache Clear transform cache --help|-h Display this help message
Describe the solution you'd like
Add -v or --version option which prints version of the esbuild-runner being used.
Describe alternatives you've considered
I use fnm for managing node versions. I can run grep on package.json file
Is your feature request related to a problem? Please describe.
I often use esbuild-runner CLI for running test code written in TypeScript. It's helpful to print esr version while sharing the test data and output for easy reproduction. However, esr does not have
-v
or--version
option.Describe the solution you'd like
Add
-v
or--version
option which prints version of the esbuild-runner being used.Describe alternatives you've considered
I use fnm for managing node versions. I can run grep on package.json file
However, the package.json will be located on different path for nvm, or node installed directly.
The text was updated successfully, but these errors were encountered: