unpkg-server icon indicating copy to clipboard operation
unpkg-server copied to clipboard

Enable work with scoped names of GitLab npm registry

Open IgorPomelnikov opened this issue 6 months ago • 3 comments

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 avatar Aug 01 '24 09:08 IgorPomelnikov