-
Notifications
You must be signed in to change notification settings - Fork 13
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
add run subcommand #76
Comments
Currently Line 56 in 4f1544c
Does it make sense to change the behavior conditionally based on the given argument? (Or should we replace the existing behavior?) |
what does the run command do, exactly? Suppose I have a module with a default export someFunction(){} Will it exec the some function, and pass the argument to it if any? |
Right now it only runs scripts defined in |
Oh, okay |
I'm looking forward to working on this, I'm going to need more explanation of the feature request |
With npm packages I can run commands like prettier without installing the package using commands like npx, bunx or yarn dlx, pnpm dlx. I wish there was a way to run jsr packages in node/bun like we have with "deno run" |
This will likely require buy in from npm and bun. You can get half way there with npm using a For example:
This is because npm expects If you remove the
|
I suppose it might be possible for
I don't think that's really within the scope of JSR since it's not a runtime itself. The better solution is for |
I tried to support this, but npm.jsr.io doesn't exports a |
just like
deno run jsr:@luca/flag
@JLarky https://twitter.com/JLarky/status/1783147968251748624
The text was updated successfully, but these errors were encountered: