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

Support deno #2417

Open
ghost opened this issue Aug 5, 2020 · 15 comments
Open

Support deno #2417

ghost opened this issue Aug 5, 2020 · 15 comments
Labels
Keep Exempt this from being marked by stalebot T: feature-request Requests for new features T: new-ecosystem Requests for new ecosystems/languages

Comments

@ghost
Copy link

ghost commented Aug 5, 2020

Registry v2 was released 2 days ago. Now deno/x/ requires proper versioning in modules, has an API and simplifies the distribution with their own cdn which should help in adding support for it in dependabot.

See deno-udd for reference on how the community already update their deps.

@ghost ghost added the T: feature-request Requests for new features label Aug 5, 2020
@lucacasonato
Copy link

If dependabot were to support Deno, I don't think only deno.land/x should be supported. nest.land, raw.githubusercontent.com, and other popular registries / hosts should be supported.

@ramonmedeiros
Copy link

That would be cool!

@legowerewolf
Copy link

legowerewolf commented May 1, 2021

Currently have a dependency-checking script for deno.land/* dependencies. Looking at ways to get latest version for other hosts. Relies on unstable Deno functionality.

https://github.com/legowerewolf/deno-dependency-checker

Edit. Kinda wish I'd known about deno-udd before this.

@mfulton26
Copy link

recent updates to Deno Language Server might be of help here

and hopefully support will arrive in the following months from esm.sh, Skypack, JSPM, etc. too so that it won't be just deno.land/x, deno.and/std, etc.

https://deno.com/blog/v1.17#updates-to-the-deno-language-server

@rojvv
Copy link

rojvv commented Jan 26, 2022

Need this.

@KorigamiK
Copy link

bump

@DanielRamosAcosta
Copy link

DanielRamosAcosta commented Dec 8, 2022

I think that there are two ways to support deno; import_map.json and mod.ts dependencies... I suppose that dependabot should only support import_map.json as it's a future-proof standard.

Any plans for supporting Deno in the future? Thanks!

@ndm13
Copy link

ndm13 commented Dec 24, 2022

Having looked through lots of projects trying to find a standard for my own, it looks like it's split between import_map.json, deps.ts and a hodgepodge of other dependency trackers or raw imports. I can see how this would be difficult to track and manage. That said, with as much as Deno has established itself in the development community it would be worthwhile to at least try to support either import_map.json or deps.ts (ideally both). I feel that if Dependabot can support Gradle (Java's top freeform dependency manager) that deps.ts should be a breeze, and that import_map.json is only a stone's throw from npm's package-lock.json.

It would be great to get a timeline on this, considering the issue has been open for over two years now.

@dinvlad
Copy link

dinvlad commented Feb 1, 2023

I think we should consider relying on the more standardized deno.lock file (and optionally deno.json that specifies lockfile location), which if present will not only encode package versions but also their hashes, so Dependabot could even detect if the hash changed without changing the version.

@fyrfnn
Copy link

fyrfnn commented Dec 26, 2023

Any update(s) on this?

@zimeg
Copy link

zimeg commented Feb 11, 2024

Seems like new ecosystems are now welcomed from maintainers in 0f931f4

@phaux
Copy link

phaux commented Jul 1, 2024

Supporting import_map.json (and deno.json because it's a superset) isn't only Deno-specific. It would also help frontend apps that don't need a build step and only use vanilla HTML/CSS/JS. The only problem is the large number of various JS CDNs that would need to be supported.

Another feature that would be useful for Deno in particular is support for jsr: https://jsr.io/docs/using-packages

@lishaduck
Copy link

Given that other ecosystems directly shell out to the pm (as opposed to Renovate, which does it from scratch), I'd just shell out to molt, and let it handle it. It's worked great for my use cases, it's just not automated. On the other hand, it does have it's own competition (molt-action, though I haven't tried it), so maybe not worth it?

@ffMathy
Copy link

ffMathy commented Oct 11, 2024

Now that Demo 2 is out with backwards compatibility with Node, it makes more sense than ever.

@lishaduck
Copy link

Deno 2.1 ships with an upgrader built in! Hopefully that'll simplify things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Keep Exempt this from being marked by stalebot T: feature-request Requests for new features T: new-ecosystem Requests for new ecosystems/languages
Projects
None yet
Development

No branches or pull requests