Open
Conversation
75e0ae8 to
661538f
Compare
|
I think that you could also refer to the implementation in Renovate, although it hasn't been merged yet. |
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
661538f to
bb1cb2e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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