synthesisui 0.16.319 → 0.16.320

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.
@@ -46,7 +46,7 @@ export async function ci(opts) {
46
46
  console.log(section("The contract"));
47
47
  console.log(body("--format=github annotations on the exact line, always warnings"));
48
48
  console.log(body("--format=sarif for code-scanning or SonarQube, same findings"));
49
- console.log(body("--baseline exit 1 only when drift went UP, in total or in any file"));
49
+ console.log(body("--baseline exit 1 only when the count went UP, in total or in any file"));
50
50
  console.log(body("--write-baseline freeze where you are today, and commit it - yesterday's"));
51
51
  console.log(body(" debt stops hurting without going uncounted"));
52
52
  console.log(body("--strict exit 1 on ANY finding. Honest, and red on day one in a"));
@@ -388,7 +388,7 @@ export async function connect(opts) {
388
388
  }
389
389
  else {
390
390
  console.log("");
391
- console.log(body(paint.dim("Your PRs can carry this too: annotations on the exact line, and a ratchet that fails only when drift goes UP - never on the debt you already have.")));
391
+ console.log(body(paint.dim("Your PRs can carry this too: annotations on the exact line, and a check that fails only when the count goes UP - never on the debt you already have.")));
392
392
  console.log(paint.blue(snippet(["npx synthesisui@latest ci"])));
393
393
  }
394
394
  /** A mesma versão que a fiação do editor recebe - os dois pinam no mesmo número. */
@@ -507,7 +507,7 @@ export async function takeCensus(root, opts) {
507
507
  * tipo de surpresa que ninguém pede.
508
508
  */
509
509
  if (globalClasses.size > MAX_GLOBAL_CLASSES) {
510
- console.log(body(paint.faint(`${globalClasses.size} classes in your global sheet, and ${globalClasses.size - MAX_GLOBAL_CLASSES} of them are not travelling with this census - the first ${MAX_GLOBAL_CLASSES} are.`)));
510
+ console.log(body(paint.faint(`${globalClasses.size} classes in your global sheet, and ${globalClasses.size - MAX_GLOBAL_CLASSES} of them are not travelling with this measurement - the first ${MAX_GLOBAL_CLASSES} are.`)));
511
511
  }
512
512
  /**
513
513
  * OS KEYFRAMES DA FOLHA DELE, colhidos onde as folhas globais já estão na mão.
@@ -1831,7 +1831,7 @@ export async function takeCensus(root, opts) {
1831
1831
  say(body(paint.faint(`${reachability.unreached
1832
1832
  .slice(0, 4)
1833
1833
  .map((f) => relative(root, f))
1834
- .join(", ")}${reachability.unreached.length > 4 ? `, and ${reachability.unreached.length - 4} more` : ""} - the full list travels in the census, and nothing was left out because of it`)));
1834
+ .join(", ")}${reachability.unreached.length > 4 ? `, and ${reachability.unreached.length - 4} more` : ""} - the full list travels in \`_synthesisui/census.json\`, and nothing was left out because of it`)));
1835
1835
  }
1836
1836
  /**
1837
1837
  * WHAT THE GATE TURNED AWAY - said out loud, grouped, with the reason.
@@ -2916,7 +2916,7 @@ function printCrosswalk(mine) {
2916
2916
  function printAgentContract() {
2917
2917
  console.log("");
2918
2918
  console.log(section("If you are an agent reading this"));
2919
- console.log(body("The census is deterministic and complete. What it cannot do is judge, so"));
2919
+ console.log(body("The measurement is deterministic and complete. What it cannot do is judge, so"));
2920
2920
  console.log(body("add a `reading` object to the file and send that back to us:"));
2921
2921
  console.log("");
2922
2922
  console.log(body(paint.faint(' "reading": {')));
@@ -2926,7 +2926,7 @@ function printAgentContract() {
2926
2926
  console.log(body(paint.faint(' "themes": { "default": "dark", "has": ["dark"] }')));
2927
2927
  console.log(body(paint.faint(" }")));
2928
2928
  console.log("");
2929
- console.log(body("Every hex in `roles` must be one the census already observed - a value"));
2929
+ console.log(body("Every hex in `roles` must be one the measurement already observed - a value"));
2930
2930
  console.log(body("we did not find in their code is dropped. Then send the file:"));
2931
2931
  console.log("");
2932
2932
  console.log(body(` ${paint.strong("synthesisui import --census _synthesisui/census.json")}`));
@@ -3020,7 +3020,7 @@ async function sayAboutPlace(root, scope) {
3020
3020
  console.log(body(` ${paint.strong(`synthesisui import --dir ${up} --scope ${vocab.rel} ${usage}`)}`));
3021
3021
  console.log(body(paint.faint(` --dir points at the workspace root, so --scope and --usage are read from there.`)));
3022
3022
  console.log("");
3023
- console.log(body(paint.dim("Nothing you ran is wasted - this census is a fine diagnosis of this app. It is a system for one consumer, which is the part worth knowing before you publish it.")));
3023
+ console.log(body(paint.dim("Nothing you ran is wasted - this measurement is a fine diagnosis of this app. It is a system for one consumer, which is the part worth knowing before you publish it.")));
3024
3024
  }
3025
3025
  async function sayIfWorkspace(root) {
3026
3026
  const { apps, shared } = await siblingProjects(root);
@@ -3028,7 +3028,7 @@ async function sayIfWorkspace(root) {
3028
3028
  return;
3029
3029
  console.log("");
3030
3030
  console.log(section("This root holds several projects"));
3031
- console.log(body(`${apps.length} apps (${apps.slice(0, 3).join(", ")}${apps.length > 3 ? ", …" : ""}) - and this census is the average of all of them.`));
3031
+ console.log(body(`${apps.length} apps (${apps.slice(0, 3).join(", ")}${apps.length > 3 ? ", …" : ""}) - and this measurement is the average of all of them.`));
3032
3032
  console.log(body("That is a fine DIAGNOSIS and a poor system: a light app and a dark one"));
3033
3033
  console.log(body("average into a palette that is neither."));
3034
3034
  console.log("");
@@ -3836,7 +3836,7 @@ export async function runImport(opts) {
3836
3836
  }
3837
3837
  if (census.census !== 1) {
3838
3838
  console.log(section("Import"));
3839
- console.log(body("That file is not a census this version can send."));
3839
+ console.log(body("That file is not a measurement this version can send."));
3840
3840
  return;
3841
3841
  }
3842
3842
  /**
@@ -3850,7 +3850,7 @@ export async function runImport(opts) {
3850
3850
  * Resolved here rather than at measure time because the reading arrives
3851
3851
  * AFTER the census was taken - this is the first moment both halves exist.
3852
3852
  */
3853
- phase(2, 3, "Resolving the reading against the census");
3853
+ phase(2, 3, "Resolving your reading against the measurement");
3854
3854
  await resolveReadParts(census, root);
3855
3855
  }
3856
3856
  else {
@@ -105,11 +105,11 @@ export async function status(opts) {
105
105
  console.log(body(`Ratchet at ${parsed.totals?.drift ?? "?"} findings, frozen ${parsed.at ? ageOf(parsed.at) : "at an unrecorded time"} - CI fails only above it.`));
106
106
  }
107
107
  catch {
108
- console.log(body("A drift baseline exists but is not readable JSON."));
108
+ console.log(body("`_synthesisui/drift-baseline.json` is here but is not readable JSON."));
109
109
  }
110
110
  }
111
111
  else {
112
- console.log(body(paint.dim("No ratchet yet, so nothing in CI can fail on drift. `synthesisui ci` prints the two steps.")));
112
+ console.log(body(paint.dim("Nothing in your pipeline can fail on a hard-coded value yet. `synthesisui ci` prints the two steps.")));
113
113
  }
114
114
  /**
115
115
  * TODO REQUEST LIDO ESTÁ ABERTO: `closeRequest` REMOVE a linha do arquivo, então o arquivo é a fila
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synthesisui",
3
- "version": "0.16.319",
3
+ "version": "0.16.320",
4
4
  "description": "Bring SynthesisUI design systems into any project - tokens, typed components, whole pages and an agent-ready CLAUDE.md manifest.",
5
5
  "type": "module",
6
6
  "bin": {