Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
How to publish to NPM via Travis without NPM apikey?
-
Hello, my understanding is that ProGet does not currently support APIKey/authtoken support for NPM feeds.
We are using the Travis-ci build service to build and publish packages to our feed, but I can't find a way to do this without using an APIKey, which is the standard way of doing this for NPM packages.
Does Inedo offer any guidance as to how to accomplish publishing through travis-ci without an API Key for NPM?
Product: ProGet
Version: 4.6.4
-
Hi Ryan, we've heard this request before, but we simply can't seem to find any documentation from npm on how api keys are supposed to work. The only docs are from TravisCI on how to configure them, and it appears to only work with npmjs.org ...
We've reverse-engineered some of the npmjs.org code, and it appears to just send basic auth to the server, anyway? It's hard to tell... so if you have any insight on how it's suppose to work, we can explore a way to implement it.
-
Hi Alana,
Please find below a open source project that supports authentication tokens. No need for your engineers to reverse engineer the code anymore, they can view the source and debug directly.
https://github.com/verdaccio/verdaccio
I also couldn't see an issue for this in your bug database, is this issue being tracked elsewhere?
https://inedo.myjetbrains.com/youtrack/issues/PG?q=npm
-
Good news! This will be released in an upcoming maintenance release of ProGet under PG-1254
-
Thanks for the good news!