-
-
Save majindageta/ea7194e04061fb2073270524a83c9caa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verificare accesso al repository npm registry desiderato (esempio: http://npmregistry.ideasolutions.it/) | |
Da terminale nella cartella del progetto, aggiungere un file .npmrc dove all'interno c'è l'indirizzo del registry: | |
Esempio: @sgtv:registry=http://npmregistry.ideasolutions.it | |
Da terminale aggiungere l'account npm adduser --registry {indirizzo} | |
in fase di registrazione usare la mail senza @ sostituendola con .. | |
per pubblicare: npm publish {nomeProgetto} --registry {indirizzo} | |
per rimuovere: npm unpublish {nomeProgetto}@{versione} --registry {indirizzo} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment