make config simpler
Signed-off-by: T-Hax <>
This commit is contained in:
parent
19bf152be5
commit
646947a43e
@ -10,14 +10,14 @@ The guide to installing and configuring NPM and Yarn V3 follows.
|
||||
|
||||
```bash
|
||||
# Add into your .npmrc
|
||||
@tornado:registry=https://git.tornado.ws/api/packages/tornado-packages/npm/
|
||||
@tornado:registry=https://development.tornadocash.community/api/packages/T-Hax/npm/
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```bash
|
||||
# Add into your .npmrc
|
||||
@tornado:registry=https://development.tornadocash.community/api/packages/T-Hax/npm/
|
||||
@tornado:registry=https://git.tornado.ws/api/packages/tornado-packages/npm/
|
||||
```
|
||||
|
||||
## Proper `yarn` solution (more privacy)
|
||||
|
4
TLDR.md
4
TLDR.md
@ -2,14 +2,14 @@ repeating the short npm solution
|
||||
|
||||
```bash
|
||||
# Add into your .npmrc
|
||||
@tornado:registry=https://git.tornado.ws/api/packages/tornado-packages/npm/
|
||||
@tornado:registry=https://development.tornadocash.community/api/packages/T-Hax/npm/
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```bash
|
||||
# Add into your .npmrc
|
||||
@tornado:registry=https://development.tornadocash.community/api/packages/T-Hax/npm/
|
||||
@tornado:registry=https://git.tornado.ws/api/packages/tornado-packages/npm/
|
||||
```
|
||||
|
||||
otherwise if ready to use yarn 3:
|
||||
|
@ -1,17 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
REGISTRY_1_USER="user"
|
||||
REGISTRY_1_DOMAIN="domain.com"
|
||||
REGISTRY_1_GITEA_AUTH="0000000000000000000000000000000000000000"
|
||||
|
||||
REGISTRY_2_USER=
|
||||
REGISTRY_2_DOMAIN=
|
||||
REGISTRY_2_GITEA_AUTH=
|
||||
|
||||
# And so on...
|
||||
|
||||
# And then you set it, example:
|
||||
|
||||
export TARGET_REGISTRY_USER=$REGISTRY_1_USER
|
||||
export TARGET_REGISTRY_DOMAIN=$REGISTRY_1_DOMAIN
|
||||
export GITEA_AUTH_TOKEN=$REGISTRY_1_GITEA_AUTH
|
||||
export TARGET_REGISTRY_USER=
|
||||
export TARGET_REGISTRY_DOMAIN=
|
||||
export GITEA_AUTH_TOKEN=
|
Loading…
Reference in New Issue
Block a user