url to see repository: https://npm.magnolia-cms.com/#browse/browse/components:npm-internal

 

to setup repository locally:

npm install --registry=https://npm.magnolia-cms.com/repository/npm

 

log into it:

(will ask for username, password, email)

npm login --registry=https://npm.magnolia-cms.com/repository/npm-internal
 

 

publish module:

(inside module folder, where package.json in located)

(version in package.json has to be changed for every new publishing)

npm publish --registry=https://npm.magnolia-cms.com/repository/npm-internal
 


npm install:

(for CLI tool please read README.md file for next installation steps - https://git.magnolia-cms.com/projects/BUILD/repos/npm-cli/browse/README.md)

npm --registry=https://npm.magnolia-cms.com/repository/npm install @magnolia/cli -g 

 





  • No labels

4 Comments

  1. Unknown User (matthias müller)

    Are you sure the URLs are valid? npm.magnolia-cms.com cannot be resolved.

    1. https?

      anyhow first link on this page (below title) works for me...

      1. Unknown User (matthias müller)

        Yes, tried it via https as well, but i think it's the subdomain itself, which cannot be resolved. Have you tried to access it from an "external" internet connection?

        1. oh sorry I didn't figure out before you are "external" (smile) Yes so far this is only internal npm repository where you need to be logged in. But that just temporary, stay tuned for changes soon (smile)

          Tomas