You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

 

to setup repository locally:

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

 

log into it:

(will ask for username, password, email)

npm login --registry=https://nexustest.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://nexustest.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://nexustest.magnolia-cms.com/repository/npm install @magnolia/cli

 





  • No labels