GitLab NPM Registry Demo

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024
  • Steve gives a demo of the NPM Registry and walks us through how to publish, pull packages and to do the same with GitLab CI.

Комментарии • 14

  • @pauloch8
    @pauloch8 3 года назад +14

    Official documentation is not demosntrating local .npmrc and package.json's publishConfig porperty anymore. This video was more useful than the official documantation to me

  • @isaacmorales8551
    @isaacmorales8551 5 лет назад +8

    What about if the gitlab repository is private? How can I publish to that repository?

    • @bytigrox
      @bytigrox 4 года назад +2

      Hi!!, to publish the package in a private repository, you must first obtain a Token, for this, you have to make a post request to the following url: gitlab.com/oauth/token in the body you add your access credentials to your gitlab account and the token obtained, you add it in the .npmrc file.
      Regards

  • @MikaelBoutin
    @MikaelBoutin 4 года назад +2

    Ty so much for this great video!

  •  4 года назад +2

    can you upload those files from the example.

    • @GitLabUnfiltered
      @GitLabUnfiltered  4 года назад +5

      Here's a link to the project: gitlab.com/gitlab-org/ci-cd/package-stage/spells_101

  • @Aaroncamacholeandro
    @Aaroncamacholeandro 3 года назад +1

    how i can create an 0auth2 token?

  • @AndresHernandez-ex8rw
    @AndresHernandez-ex8rw 4 года назад +1

    Hi! For this i need github premiun ? I get error when I try to publish. `401 Unauthorized - PUT gitlab.com/api/v4/projects/22220349/packages/npm/@usmed%2flibrary`

  • @tomas.cherry
    @tomas.cherry 2 года назад

    Thanks!

  • @shaheelazhar143
    @shaheelazhar143 2 года назад

    thanks man

  • @sayphuvong3943
    @sayphuvong3943 3 года назад

    Ty so much

  • @fredianriko5648
    @fredianriko5648 11 месяцев назад +1

    pretty bad guidance where you even skip the part where creating the Oauth Token

  • @pinocodex
    @pinocodex Год назад

    Too confusing bro! I think can abstract stuff for making a better ux.

  • @joaolucasgtr
    @joaolucasgtr 4 года назад

    wow