Skip to content

Instantly share code, notes, and snippets.

@shahab65
Last active November 15, 2020 21:31
Show Gist options
  • Save shahab65/6ef37c62549d3e2edb0760dc582089f8 to your computer and use it in GitHub Desktop.
Save shahab65/6ef37c62549d3e2edb0760dc582089f8 to your computer and use it in GitHub Desktop.

set verdaccio as npm registry:

npm set registry http://localhost:4873/

what is my curent npm registry(your terminal must not be open in a .npmrc folder)

 npm config get  registry

how to return to normal npm registry?

npm config delete  registry

we have this too:

npm config set registry https://registry.npmjs.org/

unpublish package:

npm unpublish --force yourPackage

setting registry locally:

npm publish  --registry http://localhost:4873

 yarn add  ap-design-system  --registry http://localhost:4873
 
 npm publish  --registry http://localhost:4873
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment