Skip to content
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

jsr: deno install cannot infer executable name from the jsr https url #22374

Open
sylc opened this issue Feb 10, 2024 · 1 comment
Open

jsr: deno install cannot infer executable name from the jsr https url #22374

sylc opened this issue Feb 10, 2024 · 1 comment
Labels
suggestion suggestions for new features (yet to be agreed)

Comments

@sylc
Copy link
Contributor

sylc commented Feb 10, 2024

Version: Deno 1.40.4

image

Providing a jsr address of a package, I would expect deno install to infer the name of the executable as the package name, in the above example dkill. Similar to the existing behaviour with an address targeting /x. for example https://deno.land/x/dkill@0.10.0/cli.ts

@dsherret
Copy link
Member

It seems to work for a jsr url.

> deno install jsr:@sylc/dkill@0.10.1
✅ Successfully installed dkill

For https specifiers, maybe if the folder is a version then it should check the parent folder name.

@dsherret dsherret added the suggestion suggestions for new features (yet to be agreed) label Feb 18, 2024
@dsherret dsherret changed the title jsr: deno install cannot infer executable name from the jsr address jsr: deno install cannot infer executable name from the jsr https url Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion suggestions for new features (yet to be agreed)
Projects
None yet
Development

No branches or pull requests

2 participants