Files
core/docs/dev/DEV.md
T
hykocx 024d6e37e6 revert: fix package version from 1.4.0 to 1.3.1
Reverts the package version in package-lock.json from 1.4.0 back to 1.3.1
2026-04-12 13:07:59 -04:00

24 lines
526 B
Markdown

# DEV
## Publier le package
Le package `@hykocx/zen` est publié sur le registre npm à `https://git.hyko.cx`.
### 1. Configurer l'authentification
Créer un token d'accès dans Gitea (Settings → Applications → Generate Token), puis l'enregistrer localement :
```bash
npm config set //git.hyko.cx/api/packages/hykocx/npm/:_authToken TOKEN
```
Remplacer `TOKEN` par le token généré.
### 2. Build et publish
```bash
npm publish
```
Le script `prepublishOnly` lance automatiquement le build avant la publication.