make config simpler

Signed-off-by: T-Hax <>
This commit is contained in:
T-Hax 2023-05-11 20:57:48 +00:00
parent 19bf152be5
commit 646947a43e
3 changed files with 7 additions and 20 deletions

View File

@ -10,14 +10,14 @@ The guide to installing and configuring NPM and Yarn V3 follows.
```bash ```bash
# Add into your .npmrc # 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 or
```bash ```bash
# Add into your .npmrc # 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) ## Proper `yarn` solution (more privacy)

View File

@ -2,14 +2,14 @@ repeating the short npm solution
```bash ```bash
# Add into your .npmrc # 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 or
```bash ```bash
# Add into your .npmrc # 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: otherwise if ready to use yarn 3:

View File

@ -1,17 +1,4 @@
#!/bin/bash #!/bin/bash
export TARGET_REGISTRY_USER=
REGISTRY_1_USER="user" export TARGET_REGISTRY_DOMAIN=
REGISTRY_1_DOMAIN="domain.com" export GITEA_AUTH_TOKEN=
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