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

feat(npm): add backend to fetch data from private registries #1812

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

christoph-jerolimov
Copy link
Member

@christoph-jerolimov christoph-jerolimov commented Nov 3, 2024

Hey, I just made a Pull Request!

FYI @karthikjeeyar

WIP PR:

  • Add backend plugin to fetch npm packages later also from non-npmjs.com and private registries (feature not added yet)
  • A common plugin to share annotations, utils (isNpmPackage) and later the APIs to call non-npmjs.com and esp. private registries

I welcome any kind of early feedback.

Next steps:

  • Add support for non-npmjs.com registries
  • Add support for private registries
  • Add support for multiple repositories (extend config.d.ts)
  • Make backend optional for public npmjs.com packages?
  • Add techdocs (Npmjs, GitHub packages)
  • Update READMEs
  • Check/extend unit tests
  • Check/extend dev pages (frontend and backend)

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)
  • All your commits have a Signed-off-by line in the message. (more info)

@backstage-goalie
Copy link
Contributor

Thanks for the contribution!
All commits need to be DCO signed before they are reviewed. Please refer to the the DCO section in CONTRIBUTING.md or the DCO status for more info.

@backstage-goalie
Copy link
Contributor

Missing Changesets

The following package(s) are changed by this PR but do not have a changeset:

  • @backstage-community/plugin-npm-backend
  • @backstage-community/plugin-npm

See CONTRIBUTING.md for more information about how to add changesets.

Changed Packages

Package Name Package Path Changeset Bump Current Version
backend workspaces/npm/packages/backend none v0.0.0
@backstage-community/plugin-npm-backend workspaces/npm/plugins/npm-backend none v0.1.0
@backstage-community/plugin-npm-common workspaces/npm/plugins/npm-common none v0.1.0
@backstage-community/plugin-npm workspaces/npm/plugins/npm none v1.0.2

Signed-off-by: Christoph Jerolimov <jerolimov+git@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant