Updated the npm guide
This commit is contained in:
parent
bbb86a9ecf
commit
1b9ddc9ef8
12
README.md
12
README.md
@ -1,15 +1,15 @@
|
||||
# Config Proxy for Yarn
|
||||
# Config Proxy for Yarn (READ)
|
||||
```bash
|
||||
yarn config set registry https://r.ctdn.net
|
||||
```
|
||||
# Config Proxy for NPM
|
||||
# Config Proxy for NPM (READ)
|
||||
```bash
|
||||
npm config set registry https://r.ctdn.net
|
||||
```
|
||||
|
||||
# Config/Set NPM Registry
|
||||
```bash
|
||||
npm config set registry https://npm.osa.cubetiqs.com
|
||||
npm config set registry https://npm.cubetiqs.com
|
||||
```
|
||||
|
||||
# Config/Set NPM Scope For Private
|
||||
@ -19,12 +19,12 @@ npm config set scope @cubetiq
|
||||
|
||||
# Login/Registry to NPM Registry
|
||||
```bash
|
||||
npm login https://npm.osa.cubetiqs.com
|
||||
npm login https://npm.cubetiqs.com
|
||||
```
|
||||
|
||||
#### (Optional) Add user command
|
||||
```bash
|
||||
npm adduser --registry https://npm.osa.cubetiqs.com
|
||||
npm adduser --registry https://npm.cubetiqs.com
|
||||
```
|
||||
|
||||
# Publish your NPM package (Default Registry)
|
||||
@ -34,7 +34,7 @@ npm publish
|
||||
|
||||
# Publish your NPM package (Custom Registry)
|
||||
```bash
|
||||
npm publish --registry https://npm.osa.cubetiqs.com
|
||||
npm publish --registry https://npm.cubetiqs.com
|
||||
```
|
||||
|
||||
# Unpublish your NPM package
|
||||
|
Loading…
Reference in New Issue
Block a user