Option to store tarballs using "npm pack" naming convention #5510
Chardrazle
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
It's an interesting use case, but quite rare that users are accessing Verdaccio storage directly (for security reasons, such access must be restricted). I don't think it's worth changing how we store files just for this special case. However, there's a relatively easy plugin solution: Clone the @verdaccio/local-storage plugin package and adjust the tarball name to your liking. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We've recently switched to Verdaccio to have a local npmjs server - it's working great; thanks for the good work.
As part of our build system, we interrogate package tarballs (for licence information).
Previously, these would be acquired using
npm pack, which appears to have the filename convention:[scope-]<package-name>-<version>.tgzHowever, looking in the Verdaccio storage location, the tarballs do not have the scope prefix.
It would be useful if there was an option to follow the format of
npm pack.Example:
npm pack @emnapi/runtime@latest->
emnapi-runtime-1.7.1.tgzVerdaccio storage location:
@emnapi/runtime/runtime-1.7.1.tgzBeta Was this translation helpful? Give feedback.
All reactions