Change the url of nap registry

This commit is contained in:
Sambo Chea 2020-08-23 20:52:39 +07:00
parent b9cf11bd66
commit f0a19ae45c

View File

@ -1,6 +1,6 @@
# Config/Set NPM Registry # Config/Set NPM Registry
```bash ```bash
npm config set registry https://npm-registry.cubetiqs.com npm config set registry https://npm.osa.cubetiqs.com
``` ```
# Config/Set NPM Scope For Private # Config/Set NPM Scope For Private
@ -10,12 +10,12 @@ npm config set scope @cubetiq
# Login/Registry to NPM Registry # Login/Registry to NPM Registry
```bash ```bash
npm login https://npm-registry.cubetiqs.com npm login https://npm.osa.cubetiqs.com
``` ```
#### (Optional) Add user command #### (Optional) Add user command
```bash ```bash
npm adduser --registry https://npm-registry.cubetiqs.com npm adduser --registry https://npm.osa.cubetiqs.com
``` ```
# Publish your NPM package (Default Registry) # Publish your NPM package (Default Registry)
@ -25,7 +25,7 @@ npm publish
# Publish your NPM package (Custom Registry) # Publish your NPM package (Custom Registry)
```bash ```bash
npm publish --registry https://npm-registry.cubetiqs.com npm publish --registry https://npm.osa.cubetiqs.com
``` ```
# Unpublish your NPM package # Unpublish your NPM package