plugin allow_publish (pkg) got a undefined version #2310
-
how can i get the publish version? thank you I am deploying the NPM privatization service for my company. Our workflow needs to allow only some members to push the official version, while others can only push the beta version. npm link:
config.yaml like this:
node: v10.24.0 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
hi @sheweifan could you provide a full example? describe what exactly you are doing would be the better. |
Beta Was this translation helpful? Give feedback.
-
@sheweifan to give light to your issue, currently this version is accessible only if user try to download a tarball from the UI, but if the request comes from a package manager then you will get In a nutshell:
Thus, the feature you are looking for is not fully developed, I've created a ticket #2313 and add some details there. |
Beta Was this translation helpful? Give feedback.
-
@sheweifan I just noticed you are using |
Beta Was this translation helpful? Give feedback.
-
Fixed ecfc4c3 |
Beta Was this translation helpful? Give feedback.
@sheweifan to give light to your issue, currently this version is accessible only if user try to download a tarball from the UI, but if the request comes from a package manager then you will get
undefined
.In a nutshell:
npm publish
❌npm install jquery
only tarballs requests ✔️npm info
) ❌Thus, the feature you are looking for is not fully developed, I've created a ticket #2313 and add some details there.