Repository navigation
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📊 Dependency Size ChangesWarning This PR adds 1.9 MB of new dependencies, which exceeds the threshold of 200 kB.
Total size change: 1.9 MB |
serhalp
force-pushed
the
serhalp/refactor/forges
branch
from
October 15, 2026 02:50
f68215c to
6121b2f
Compare
serhalp
force-pushed
the
serhalp/refactor/forges
branch
from
October 18, 2026 16:50
6121b2f to
8a24cab
Compare
What's left that's still in this codebase: - Radicle (not yet in `forges`) - Sourcehut (not yet in `forges`) - uses of `ungh.cc` instead of regular GitHub API (TBD) - forge host origins, for generating CSPs and such (TBD) - forge logos (makes sense to keep here) - forge display names, localized (makes sense to keep here)
serhalp
force-pushed
the
serhalp/refactor/forges
branch
from
October 21, 2026 00:36
1af0b7d to
7f3168a
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This branch was successfully deployed
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.
🔗 Linked issue
N/A
🧭 Context
npmx hand-writes a lot of per-provider git host glue code: repo metadata, changelog releases, markdown link resolution, repo links, etc. Each has its own switch-case with specific logic for each of GitHub, GitLab, Bitbucket, Codeberg, Gitea, Forgejo, Gitee, Tangled, and Pushin. That is a lot of surface to keep correct, and it duplicates what the
forgespackage has just been built to solve!📚 Description
forges. GitHub stays on ungh (TBD whether/how to solve for that).forgesfor every provider it covers.createRepoInfo()built fromforges.urlFor({ repo, section }).forges.parseUrl()+urlFor({ raw }).tangled-statsendpoint.Net ~900 lines removed 🎉
What's left
forgesdoes not yet support them.forgeseventually, but punting on that for now.