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
|
```bash
|
||||||
yarn config set registry https://r.ctdn.net
|
yarn config set registry https://r.ctdn.net
|
||||||
```
|
```
|
||||||
# Config Proxy for NPM
|
# Config Proxy for NPM (READ)
|
||||||
```bash
|
```bash
|
||||||
npm config set registry https://r.ctdn.net
|
npm config set registry https://r.ctdn.net
|
||||||
```
|
```
|
||||||
|
|
||||||
# Config/Set NPM Registry
|
# Config/Set NPM Registry
|
||||||
```bash
|
```bash
|
||||||
npm config set registry https://npm.osa.cubetiqs.com
|
npm config set registry https://npm.cubetiqs.com
|
||||||
```
|
```
|
||||||
|
|
||||||
# Config/Set NPM Scope For Private
|
# Config/Set NPM Scope For Private
|
||||||
@ -19,12 +19,12 @@ npm config set scope @cubetiq
|
|||||||
|
|
||||||
# Login/Registry to NPM Registry
|
# Login/Registry to NPM Registry
|
||||||
```bash
|
```bash
|
||||||
npm login https://npm.osa.cubetiqs.com
|
npm login https://npm.cubetiqs.com
|
||||||
```
|
```
|
||||||
|
|
||||||
#### (Optional) Add user command
|
#### (Optional) Add user command
|
||||||
```bash
|
```bash
|
||||||
npm adduser --registry https://npm.osa.cubetiqs.com
|
npm adduser --registry https://npm.cubetiqs.com
|
||||||
```
|
```
|
||||||
|
|
||||||
# Publish your NPM package (Default Registry)
|
# Publish your NPM package (Default Registry)
|
||||||
@ -34,7 +34,7 @@ npm publish
|
|||||||
|
|
||||||
# Publish your NPM package (Custom Registry)
|
# Publish your NPM package (Custom Registry)
|
||||||
```bash
|
```bash
|
||||||
npm publish --registry https://npm.osa.cubetiqs.com
|
npm publish --registry https://npm.cubetiqs.com
|
||||||
```
|
```
|
||||||
|
|
||||||
# Unpublish your NPM package
|
# Unpublish your NPM package
|
||||||
|
Loading…
Reference in New Issue
Block a user