-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Feature] yarn run
and yarn dlx
for typescript source files
#324
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
Comments
I'm not a fan of this for various reasons:
Imo the current state of business (running ¹ You can somewhat ironically draw a parallel between two famous package managers, one being shipped with Node by default but not the other. Would as many people use the former if it didn't have such a privilege? |
Thank you for the quick and informative explanation. Happy to have this go wherever you wish, be it closing or whatever. |
Going to close for now, but maybe we'll have a plugin for this in the future |
Describe the user story
I was quite impressed with tink's support for typescript, but as tink seems abandoned now, my focus is now looking at yarn.
The dream would be for me to just publish typescript source then have yarn be able to run it, so that I can do away with all the developer overheads of compilation.
The the user can use yarn to run their own app, and pika cdn for their web apps, and we don't have to worry.
Describe the solution you'd like
Yarn supports typescript source files out of the box.
Describe the drawbacks of your solution
Non-typescript users need to use yarn or pika or webpack or tsx-node, or just accept using typescript.
Describe alternatives you've considered
Every package author deals with typescript compilation complexity and project formatting.
Or a cloud service is developed which listens for github tags on opted repos then does the compilation and dep handling and project structure and changelog and npm publishing.
Or tink is rebooted.
Or we all move to deno.
Or microsoft forks node to support typescript natively and transparently.
Or everyone uses ts-node.
Additional context
N/a
The text was updated successfully, but these errors were encountered: