Create Your Own Private NPM Package Using Verdaccio
Вставка
- Опубліковано 12 вер 2024
- In this video, I will show you how you can create and host your own NPM private package. Here are the steps we will take:
1. install a local NPM server (Verdaccio)
2. Create your NPM package
3. Publish your NPM packages to the new local server
4. Import the new NPM package to a test project
5. Verify the code is working correctly.
Important links
INSTAGRAM: links.thedevli...
DISCORD: links.thedevli...
FACEBOOK: links.thedevli...
#thedevlife #npm #npmjs #verdaccionpm #verdaccio #howtonpm
I've never used npm before. It's good to know that such a thing exists! Will know for when I finally decide to do something in JavaScript! :)
Great video, thanks for sharing!
Of course. Thank you for the support.
Hell world :X You must have been thinking 2020
The part about ./dist directory, building with webpack etc. distracts from the core of this presentation. Just running `node index.js` would have proven the point.
Please add more advanced video - like, how to publish not anonymous. How to download private package with authentication (non public available)
We are currently working on an API series. We'll consider this.
The title can be deceiving, a private package is when you set "private": true in your package.son. This is not the case.
You are correct, I should have changed that property in the package.json, however if you are hosting the NPM package on your own server and that server is accessible only on your local network your package can be considered private.
thanks, it's useful.
I’m glad 🙏
👍👍
Thank you for your support. Stay tuned for more videos coming up.
Is there a way to use Verdaccio without caching the public npm registry ? I want only to publich npm packages in my private npm Server without any connections to public registries
how to setup verdaccio as npm proxy?
Why did we need python ? ? ?
It’s required by verdaccio to work properly