docs: reorganize and update developer documentation
- update README.md to simplify @zen/core description - rewrite DEV.md standards section with clearer principles and remove publication section - extract publication process to new PUBLICATION.md document - rewrite REDACTION.md with simplified structure and two-context approach - bump package version in package.json
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Publier le package
|
||||
|
||||
Le package `@zen/start` est publié sur le registre npm privé à `https://git.hyko.cx`.
|
||||
|
||||
### Configurer l'authentification (une seule fois)
|
||||
|
||||
Créer un token dans Gitea : **Settings → Applications → Generate Token**, puis :
|
||||
|
||||
```bash
|
||||
npm config set //git.hyko.cx/api/packages/zen/npm/:_authToken TOKEN
|
||||
```
|
||||
|
||||
### Checklist avant publication
|
||||
|
||||
- [ ] `npm audit` — aucune vulnérabilité `high` ou `critical`
|
||||
- [ ] `npm run build` — build sans erreur ni warning TypeScript
|
||||
- [ ] Version mise à jour dans `package.json`
|
||||
|
||||
### Publier
|
||||
|
||||
```bash
|
||||
npm publish
|
||||
```
|
||||
Reference in New Issue
Block a user