-
Notifications
You must be signed in to change notification settings - Fork 5.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
deno add
- support http:
and https:
specifiers
#23216
Comments
Note that there is #23144 for aliases |
This would require modifying https://github.com/denoland/deno_semver. |
@tristanisham why? |
I believe that's where all the code for specifiers is. If the goal is to add "http(s):" that's the package where the actual structs and implementation details reside. |
For the record: Had a discussion about adding the feature to the |
@bartlomieju @tristanisham Can I take this issue? I may have some questions regarding certain internals of the project but I would like to give it a shot c: |
Be my guess. I haven't finished my PR. |
Currently
deno add
only works withjsr:
andnpm:
specifiers.We should add an ability to do
deno add https://deno.land/x/foo/bar.ts
.To do this, we should leverage existing
infer_name_from_url()
helper, that is already used indeno install
anddeno compile
deno/cli/tools/installer.rs
Lines 131 to 185 in d3d3582
The text was updated successfully, but these errors were encountered: