-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reimplement CLI in rust #1589
Comments
Hey @kdy1, I keep looking at the Typescript CLI entry points and wonder why they exist and it's not just straight Rust binaries using Is there functionality that is enabled by having the command line programs exposed as node executables? Is it part of a plan for a Javascript-based plugin system maybe? I just wanted to look into the reason why |
No. It's because to make managing version more convenient for the end-user |
Thanks, that helps! I will try to find some time to tackle this one as I think it would simplify things quite a bit - we should be able to remove quite a bit of typescript 👍 I assume you would prefer to use |
- relates with swc-project#1589
- relates with swc-project#1589
- relates with swc-project#1589
- relates with swc-project#1589
- relates with swc-project#1589
It's quite late to realize but I forget js-side plugin support in @swc/cli. This may be some headache if we want 100% feature parity. For now I'll skip those until new cli becomes stable enough. This is also related with experimental plugin stablization and may possible to think about whole plan accordingly based on those. |
Currently, implementations are sort of exploration, does not have to be 1:1 match to existing |
Hey @kwonoj, Is this still a good first issue? I am looking back at some of the PRs referenced in the ticket and am trying to get an understand at whats going on. I am still kind of unsure whats being asked. If I had to guess its replace the entire nodejs cli into one thats a rust/node bind gen? |
Node binding should export
runCLI
.This would help lots of cases.
The text was updated successfully, but these errors were encountered: