@ferrflow/doc 7.22.1 → 7.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -429,10 +429,11 @@ Print the JSON schema for the ferrflow config file. The schema is bundled into t
429
429
  ferrflow schema [OPTIONS]
430
430
  ```
431
431
 
432
- | Flag | Description |
433
- | ----------------- | ----------------------------------------------------- |
434
- | `--pretty` | Format the output instead of compact single-line JSON |
435
- | `--output <FILE>` | Write to a file instead of stdout |
432
+ | Flag | Description |
433
+ | ----------------- | ------------------------------------------------------------------ |
434
+ | `--pretty` | Format the output instead of compact single-line JSON |
435
+ | `--package` | Print the schema for a package file listed under `include` instead |
436
+ | `--output <FILE>` | Write to a file instead of stdout |
436
437
 
437
438
  Use it to point an editor at a local copy, or to validate `.ferrflow.json` in a pre-commit hook with no internet access:
438
439
 
@@ -442,6 +443,8 @@ ferrflow schema --pretty --output ferrflow.schema.json
442
443
 
443
444
  Then set `"$schema": "./ferrflow.schema.json"` in your config. The command parses the bundled schema before printing, so it exits non-zero if the build artefact is somehow corrupt.
444
445
 
446
+ A package file pulled in through `include` has its own schema, served at `ferrflow.com/schema/ferrflow-package.json`. It accepts the same keys as a `package` entry, with `path` optional. `ferrflow schema --package` writes the same schema locally.
447
+
445
448
  ---
446
449
 
447
450
  ## Global flags
@@ -353,10 +353,11 @@ Afficher le schéma JSON du fichier de configuration ferrflow. Le schéma est em
353
353
  ferrflow schema [OPTIONS]
354
354
  ```
355
355
 
356
- | Option | Description |
357
- | ----------------- | ---------------------------------------------------------------- |
358
- | `--pretty` | Formater la sortie au lieu d'un JSON compact sur une seule ligne |
359
- | `--output <FILE>` | Écrire dans un fichier plutôt que sur la sortie standard |
356
+ | Option | Description |
357
+ | ----------------- | ---------------------------------------------------------------------- |
358
+ | `--pretty` | Formater la sortie au lieu d'un JSON compact sur une seule ligne |
359
+ | `--package` | Afficher plutôt le schéma d'un fichier de package listé sous `include` |
360
+ | `--output <FILE>` | Écrire dans un fichier plutôt que sur la sortie standard |
360
361
 
361
362
  Utilisez-la pour pointer un éditeur vers une copie locale, ou pour valider `.ferrflow.json` dans un hook pre-commit sans accès internet :
362
363
 
@@ -366,6 +367,8 @@ ferrflow schema --pretty --output ferrflow.schema.json
366
367
 
367
368
  Puis renseignez `"$schema": "./ferrflow.schema.json"` dans votre configuration. La commande parse le schéma embarqué avant de l'afficher : elle sort donc avec un code non nul si l'artefact de build est corrompu.
368
369
 
370
+ Un fichier de package chargé via `include` a son propre schéma, servi à `ferrflow.com/schema/ferrflow-package.json`. Il accepte les mêmes clés qu'une entrée `package`, avec `path` facultatif. `ferrflow schema --package` écrit ce même schéma en local.
371
+
369
372
  ---
370
373
 
371
374
  ## Options globales
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ferrflow/doc",
3
- "version": "7.22.1",
3
+ "version": "7.23.1",
4
4
  "description": "Documentation for FerrFlow, the universal semantic versioning CLI. Rendered at ferrflow.com/docs.",
5
5
  "license": "MIT",
6
6
  "repository": {