docs: update org name from hykocx to zen and expand DEV guide
- Replace `hykocx` with `zen`/`HYKO` in LICENSE copyright notices - Update npm registry scope from `@hykocx` to `@zen` in INSTALL.md - Update npm auth token config path to use `zen` org in DEV.md - Add project structure overview to DEV.md - Add contribution standards section referencing GUIDE.md and REDACTION.md - Add semver versioning bump reference table to DEV.md
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@
|
||||
Créer un fichier `.npmrc` à la racine du projet avec le contenu suivant :
|
||||
|
||||
```
|
||||
@hykocx:registry=https://git.hyko.cx/api/packages/hykocx/npm/
|
||||
@zen:registry=https://git.hyko.cx/api/packages/zen/npm/
|
||||
```
|
||||
|
||||
## 2. Installer le package
|
||||
|
||||
+37
-1
@@ -1,5 +1,27 @@
|
||||
# DEV
|
||||
|
||||
## Standards
|
||||
|
||||
Toute contribution doit respecter les guides suivants :
|
||||
|
||||
- [GUIDE.md](GUIDE.md) — conventions générales de rédaction et de structure
|
||||
- [REDACTION.md](REDACTION.md) — règles de style, ton et formatage
|
||||
|
||||
---
|
||||
|
||||
## Structure du projet
|
||||
|
||||
```
|
||||
src/
|
||||
├── cli/ # Scripts CLI : zen-db, zen-setup
|
||||
├── core/ # Briques techniques : database, api, email, storage, cron, pdf, toast, payments
|
||||
├── features/ # Features utilisateur : auth, admin, provider
|
||||
├── modules/ # Modules métier : posts, invoice, nuage…
|
||||
└── shared/ # Composants, lib et styles partagés
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Publier le package
|
||||
|
||||
Le package `@zen/core` est publié sur le registre npm à `https://git.hyko.cx`.
|
||||
@@ -9,7 +31,7 @@ Le package `@zen/core` est publié sur le registre npm à `https://git.hyko.cx`.
|
||||
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
|
||||
npm config set //git.hyko.cx/api/packages/zen/npm/:_authToken TOKEN
|
||||
```
|
||||
|
||||
Remplacer `TOKEN` par le token généré.
|
||||
@@ -21,3 +43,17 @@ npm publish
|
||||
```
|
||||
|
||||
Le script `prepublishOnly` lance automatiquement le build avant la publication.
|
||||
|
||||
---
|
||||
|
||||
## Bump de version
|
||||
|
||||
Modifier `"version"` dans `package.json` en suivant [semver](https://semver.org/) :
|
||||
|
||||
| Changement | Version |
|
||||
|------------|---------|
|
||||
| `fix` — correctif | PATCH `1.x.X` |
|
||||
| `feat` — nouvelle fonctionnalité | MINOR `1.X.0` |
|
||||
| Breaking change | MAJOR `X.0.0` |
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user