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

Self hosting / private packages #203

Open
piranna opened this issue Mar 5, 2024 · 8 comments
Open

Self hosting / private packages #203

piranna opened this issue Mar 5, 2024 · 8 comments
Labels
feature New feature or request

Comments

@piranna
Copy link

piranna commented Mar 5, 2024

Is there any way to publish private packages, and doing it with Github Actions linked to private Github repositories?

@lucacasonato
Copy link
Member

No, JSR does not support private packages. We are planning to handle private package usecases by letting organizations self host JSR. This is however not yet available.

@lucacasonato lucacasonato added the feature New feature or request label Mar 12, 2024
@lucacasonato lucacasonato changed the title Private packages Self hosting / private packages Mar 12, 2024
@soundstep
Copy link

soundstep commented Mar 21, 2024

I found JSR to be attractive but not being able to self-host a private registry would be a blocker for us. Or a cheap way to have private package could be considered. We currently use Artifactory for example.
Side note, not being able to set upstream registries would also be a blocker, some companies give us access to their codebase via access to their own NPM registries. Upstreams are great for providing other sources without the need to migrate and disturb the current workflow.

@silverwind
Copy link

silverwind commented Mar 21, 2024

Also looking forward to try this as a private proxy-registry in place of verdaccio because of verdaccio's bad performance. Hosting of @scopes would be a requirement, along with being able to proxy all other requests to another registry.

@soundstep
Copy link

soundstep commented Mar 22, 2024 via email

@shinebayar-g
Copy link

shinebayar-g commented Mar 31, 2024

If JSR can somehow support git url as a dependency, that would solve private registry for a lot of folks. With SSH authentication to the git repository, it becomes dead simple to use. However npm doesn't support installing packages from sub directory of the git repository. But yarn does!

@silverwind
Copy link

silverwind commented Mar 31, 2024

If JSR can somehow support git url as a dependency, that would solve private registry for a lot of folks. With SSH authentication to the git repository, it becomes dead simple to use. However npm doesn't support installing packages from sub directory of the git repository. But yarn does!

Git dependencies are wrong on many levels imho:

  • Git content is not immutable
  • Git repos or their content can easily be deleted which breaks dependants
  • SSH connectivity is often not available in security-restricted environments

The prime benefit of a registry is that the content is immutable and it can be traced back to the source via provenance. So I would recommend to not support volatile and insecure git dependencies at all.

Also the request you have is not relevant to JSR a registry at all, this is something only between your client (npm) and said git repository.

@shinebayar-g
Copy link

shinebayar-g commented Apr 9, 2024

Deno literally downloads from a URL / git repository.

Also the request you have is not relevant to JSR a registry at all, this is something only between your client (npm) and said git repository.

https://www.npmjs.com/package/jsr is a CLI (client) that interacts with a website called https://jsr.io/, it just happens to be embedded in a npm package. Maybe my comment should belong to https://github.com/jsr-io/jsr-npm/issues

@ericlery
Copy link

ericlery commented May 6, 2024

We are planning to handle private package usecases by letting organizations self host JSR.

Nice, some ask for self hosting documentation and more simplicity #150

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Needs Plan
Development

No branches or pull requests

6 participants