@trazum/cli 1.60.0 → 1.60.2

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/dist/index.js CHANGED
@@ -5419,14 +5419,19 @@ async function commandProfile(args, config, configDir, pricing, t) {
5419
5419
  */
5420
5420
  console.log(JSON.stringify({
5421
5421
  /**
5422
- * The contract version, documented in docs/json-output.md and
5423
- * enforced by json-contract.test.js. It changes only when a
5424
- * field's meaning changes or one is removed — new findings arrive
5425
- * as new keys, so a consumer that ignores unknown ones keeps
5426
- * working. Without it, every dashboard built on this output has to
5427
- * guess whether a missing key means "old Trazum" or "no data".
5422
+ * `schemaVersion` arrives inside `report` now, and that is the point.
5423
+ *
5424
+ * It used to be stamped here, which made the profile the one contract
5425
+ * of the ten whose version existed only if you went through this
5426
+ * command. `docs/format.md` says every document carries it and
5427
+ * `conform` rejects one that does not, so a connector author using
5428
+ * `@trazum/core` produced a profile this tool refuses.
5429
+ *
5430
+ * The contract is documented in docs/json-output.md and enforced by
5431
+ * json-contract.test.js. It changes only when a field's meaning
5432
+ * changes or one is removed — new findings arrive as new keys, so a
5433
+ * consumer that ignores unknown ones keeps working.
5428
5434
  */
5429
- schemaVersion: 1,
5430
5435
  ...report,
5431
5436
  cache: cacheEconomics(report.total),
5432
5437
  cacheByLabel: report.byLabel.map((r) => ({