-
Notifications
You must be signed in to change notification settings - Fork 22
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
Tarball directory structure to mirror NPM registry #25
Comments
@deskoh is your goal to serve the |
Oh yes! I'm currently using verdaccio in an airgap environment currently as a portable registry to proxy to another internal airgap Artifactory. It certainly brought about much convenience! (It's portable cos we might need to move to a different site) The intent is to allow developers to self-service to bring in packages. Any advice? |
To add on, verdaccio also requires '-' in the directory structure. Other than the lack of CLI, to import into Artifactory would mean that I need some scripts to move each |
@deskoh all you need to do is iterate over all of the downloaded you might need to enable the https://docs.npmjs.com/cli/v7/using-npm/config#ignore-scripts flag |
@deskoh some packages might need special handling, for example the |
Learnt something new. Currently |
Awesome. This would be useful too! Currently we are downloading it manually based on arch and version required to manually mirror them. Other packages we encountered with such requirements are electron, cypress... |
Is it possible to allow the tarballs download directory structure to mirror npm registry? Specifically the
.tgz
would be in a-
directory (e.g.node-tgz-downloader/-/node-tgz-downloader-3.11.2-preview1.tgz
)?The intent is for mirroring npm packages into AirGap environment, something like package-bundle, however
package-bundle
does not allow you to download packages according topackage-lock.json
file.The text was updated successfully, but these errors were encountered: