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

КОМЕНТАРІ • 18

  • @karolinasowinska
    @karolinasowinska 4 роки тому +2

    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! :)

  • @SepSol75
    @SepSol75 2 роки тому

    Great video, thanks for sharing!

    • @thedevlife
      @thedevlife  2 роки тому +1

      Of course. Thank you for the support.

  • @alithejumbo
    @alithejumbo 4 роки тому +3

    Hell world :X You must have been thinking 2020

  • @petter.envall
    @petter.envall 3 роки тому +7

    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.

  • @vyteniskuciauskas
    @vyteniskuciauskas 3 роки тому +1

    Please add more advanced video - like, how to publish not anonymous. How to download private package with authentication (non public available)

    • @thedevlife
      @thedevlife  3 роки тому

      We are currently working on an API series. We'll consider this.

  • @erosvalzasina8775
    @erosvalzasina8775 4 роки тому +2

    The title can be deceiving, a private package is when you set "private": true in your package.son. This is not the case.

    • @thedevlife
      @thedevlife  4 роки тому +3

      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.

  • @pren5948
    @pren5948 3 роки тому

    thanks, it's useful.

  • @karthisg5874
    @karthisg5874 4 роки тому +2

    👍👍

    • @thedevlife
      @thedevlife  4 роки тому

      Thank you for your support. Stay tuned for more videos coming up.

  • @rachaz9119
    @rachaz9119 4 роки тому +1

    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

  • @AlexandreAlonso
    @AlexandreAlonso 4 роки тому

    how to setup verdaccio as npm proxy?

  • @urunov6466
    @urunov6466 4 роки тому +1

    Why did we need python ? ? ?

    • @thedevlife
      @thedevlife  4 роки тому

      It’s required by verdaccio to work properly