Add Deno ecosystem support#14364
Conversation
75e0ae8 to
661538f
Compare
|
I think that you could also refer to the implementation in Renovate, although it hasn't been merged yet. |
661538f to
bb1cb2e
Compare
|
Seems there are conflicts.. when can it be merged? |
|
@Decodetalkers I'll rebase now. Re: merge timing, that's up to the maintainers... it looks like a maintainer self-assigned this ~3 weeks ago, but I imagine they're working through an AI-infused backlog and new ecosystems are at the bottom of the pile. @robaiken – Do you by chance have a timeline on this? |
bb1cb2e to
86fc827
Compare
|
@sbs44 I don't have an exact timeline to share just yet. Adding a new ecosystem requires a lot of coordination on our end, so it would be good to go over everything together. If you're interested in setting up a meeting, you can reach me at my GitHub username @github.com |
|
@robaiken Understood. Emailing now to set up a time. |
markhallen
left a comment
There was a problem hiding this comment.
Good start on adding Deno ecosystem support! I've left some inline comments on potential issues — mostly around edge cases with versionless specifiers, subpath imports, and error handling.
Add support for Deno's deno.json/deno.jsonc import maps with jsr: and npm: specifiers. Queries jsr.io and npmjs.org registries directly for version lookups. Gated behind beta ecosystems flag. Handles scoped packages (@scope/name), versionless specifiers, subpath imports, and JSONC comments. Closes dependabot#2417
dependabot has add deno support recently, so I want to add the field for the preparation dependabot/dependabot-core#14364
dependabot has add deno support recently, so I want to add the field for the preparation dependabot/dependabot-core#14364
What are you trying to accomplish?
Adds Deno as a new ecosystem, enabling Dependabot to update dependencies in
deno.jsonanddeno.jsoncimport maps. Parses bothjsr:andnpm:specifiers (scoped, unscoped, versionless, and subpath) and queries jsr.io and npmjs.org registries directly for version lookups.Gated behind
enable-beta-ecosystemsper NEW_ECOSYSTEMS.md.Closes #2417
Anything you want to highlight for special attention from reviewers?
deno.json/deno.jsonconly.deno.lockregeneration (artifact updating) is planned as a follow-up.deno.jsoncfiles can contain comments and trailing commas. The parser strips these before JSON parsing./@scope/name/meta.json) and npmjs.org (/name) APIs directly rather than shelling out to the Deno CLI.How will you know you've accomplished your goal?
45 RSpec tests pass across all components (Version, Requirement, FileFetcher, FileParser, UpdateChecker, FileUpdater, MetadataFinder). Rubocop and Sorbet (typed strict) pass cleanly. Dry-run tested against real Deno projects containing scoped npm packages, versionless specifiers, and subpath imports — all dependencies detected and correct updates proposed.
Checklist