@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.
- package/data/benchmarks.json +695 -695
- package/data/package-schema.json +700 -0
- package/docs-en/reference/cli.md +7 -4
- package/docs-fr/reference/cli.md +7 -4
- package/package.json +1 -1
package/docs-en/reference/cli.md
CHANGED
|
@@ -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
|
-
| `--
|
|
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
|
package/docs-fr/reference/cli.md
CHANGED
|
@@ -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
|
-
| `--
|
|
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
|