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

Enable work with scoped names of GitLab npm registry #6

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

IgorPomelnikov
Copy link

GitLab uses scoped name convention. We can see it in docs and in tarball links.
Example:
curl --header "Authorization: Bearer <personal_access_token>" "https://gitlab.example.com/api/v4/projects/1/packages/npm/@myscope/my-pkg/-/@my-scope/my-pkg-0.0.1.tgz"

Now by adding --GITLAB_REGISTRY we can turn off splitting tarballName in async function getPackage(packageName, version, log).

@IgorPomelnikov
Copy link
Author

Found some bugs on Ubuntu. Close until resolve

@IgorPomelnikov
Copy link
Author

Oh, that wasn't a bug. I typed GITLAB-REGISTRY instead GITLAB_REGISTRY.

@IgorPomelnikov IgorPomelnikov reopened this Aug 1, 2024
@IgorPomelnikov
Copy link
Author

Adding the ability to override the cache-control header.

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