docs: retire la ligne _authToken des instructions d'install
Le paquet est en lecture publique sur le registre Gitea (install anonyme vérifiée) : seule la redirection de scope est nécessaire, pas de token. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -44,14 +44,13 @@ Un unique daemon Node.js que vous lancez sur votre machine de dev (`npx @johanle
|
|||||||
|
|
||||||
### Le lancer (recommandé)
|
### Le lancer (recommandé)
|
||||||
|
|
||||||
Arboretum est publié sur un registre npm Gitea privé. Pointez le scope `@johanleroy` dessus une fois par machine — ajoutez à `~/.npmrc` :
|
Arboretum est publié sur un registre npm Gitea auto-hébergé. Pointez le scope `@johanleroy` dessus une fois par machine — ajoutez à `~/.npmrc` :
|
||||||
|
|
||||||
```
|
```
|
||||||
@johanleroy:registry=https://git.lidge.fr/api/packages/johanleroy/npm/
|
@johanleroy:registry=https://git.lidge.fr/api/packages/johanleroy/npm/
|
||||||
//git.lidge.fr/api/packages/johanleroy/npm/:_authToken=<votre-token-gitea>
|
|
||||||
```
|
```
|
||||||
|
|
||||||
(La ligne `_authToken` n'est nécessaire que si le paquet est privé.) Puis lancez-le depuis n'importe où :
|
Aucun token nécessaire — le paquet est en lecture publique. Puis lancez-le depuis n'importe où :
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx @johanleroy/git-arboretum
|
npx @johanleroy/git-arboretum
|
||||||
|
|||||||
@@ -44,14 +44,13 @@ A single Node.js daemon you run on your dev machine (`npx @johanleroy/git-arbore
|
|||||||
|
|
||||||
### Run it (recommended)
|
### Run it (recommended)
|
||||||
|
|
||||||
Arboretum is published to a private Gitea npm registry. Point the `@johanleroy` scope at it once per machine — add to `~/.npmrc`:
|
Arboretum is published to a self-hosted Gitea npm registry. Point the `@johanleroy` scope at it once per machine — add to `~/.npmrc`:
|
||||||
|
|
||||||
```
|
```
|
||||||
@johanleroy:registry=https://git.lidge.fr/api/packages/johanleroy/npm/
|
@johanleroy:registry=https://git.lidge.fr/api/packages/johanleroy/npm/
|
||||||
//git.lidge.fr/api/packages/johanleroy/npm/:_authToken=<your-gitea-token>
|
|
||||||
```
|
```
|
||||||
|
|
||||||
(The `_authToken` line is only needed if the package is private.) Then run it from anywhere:
|
No token needed — the package is publicly readable. Then run it from anywhere:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx @johanleroy/git-arboretum
|
npx @johanleroy/git-arboretum
|
||||||
|
|||||||
Reference in New Issue
Block a user