synthesisui 0.16.248 → 0.16.249

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.
@@ -1586,7 +1586,7 @@ export async function takeCensus(root, opts) {
1586
1586
  islandRead: islandClassesRead,
1587
1587
  refused: new Set(skips.map((s) => s.file)),
1588
1588
  }));
1589
- const coverageLines = describeCoverage(coverage, composition);
1589
+ const coverageLines = describeCoverage(coverage, composition, skips.length);
1590
1590
  if (coverageLines.length > 0) {
1591
1591
  say("");
1592
1592
  say(section("What this version reads, on your files"));
@@ -304,6 +304,13 @@ export function groupSkips(skips) {
304
304
  *
305
305
  * The sentence a person needs in order to trust a number that just dropped by an
306
306
  * order of magnitude - and to notice if it dropped too far.
307
+ *
308
+ * ─────────────────────────────────────────────────────────────────────────
309
+ * E ELA VIAJA COLADA À MANCHETE (dono, 18/08).
310
+ *
311
+ * "340 de 340 com blueprint - 100%" sozinho é autoelogio: um portão que admite
312
+ * pouco fecha 100% fácil. As duas linhas juntas são uma promessa que se pode
313
+ * conferir - o que entrou, e o que ficou de fora com o motivo de cada um.
307
314
  */
308
315
  export function describeGate(kept, skipped) {
309
316
  if (skipped === 0) {
@@ -110,7 +110,7 @@ export function summarizeCoverage(counts, components, read, declarations) {
110
110
  /**
111
111
  * The report, in the words a person needs before they decide whether to import.
112
112
  *
113
- * Leads with the number that matters - how many components came out with a look - and
113
+ * Leads with the number that matters - how many components came out with a blueprint - and
114
114
  * then names every shape that is not fully read, with the reason. No percentages without
115
115
  * the count behind them: "75%" of an unknown total is a marketing number.
116
116
  */
@@ -123,12 +123,41 @@ export function describeCoverage(c,
123
123
  * arranjo e fluxo, e é isso que a receita deles carrega. Medido no dashboard dele: 235 de
124
124
  * 271 (04/08).
125
125
  */
126
- composition) {
126
+ composition,
127
+ /**
128
+ * O QUE O PORTÃO DEIXOU DE FORA - e ele viaja COLADO à manchete (dono, 18/08).
129
+ *
130
+ * A explicação longa e a lista nominal continuam onde sempre estiveram, 79
131
+ * linhas abaixo. O que sobe para cá é só o número, porque é ele que impede a
132
+ * manchete de ser autoelogio: um portão que admite pouco fecha 100% fácil, e
133
+ * as duas contas juntas são uma promessa que se pode conferir.
134
+ */
135
+ leftOut) {
127
136
  if (c.components === 0)
128
137
  return [];
129
138
  const lines = [];
130
139
  const pct = Math.round((c.read / c.components) * 100);
131
- lines.push(`${c.read} of ${c.components} components came out with a look - ${pct}%, ${c.declarations} declarations in total. This is measured on your files, not an estimate.`);
140
+ /**
141
+ * A MANCHETE É BLUEPRINT POR COMPONENTE, e não fragmento de estilo (dono, 18/08).
142
+ *
143
+ * As duas contas existiam, e a que liderava era a errada. "62% dos fragmentos
144
+ * interpretados" mistura no mesmo denominador coisas que NÃO PODEM ser lidas
145
+ * por natureza - medido no repo real: 120 fragmentos são `computed`, o valor
146
+ * nasce no navegador e não está no código em nível nenhum; 4 são partials que
147
+ * o build dele nem compila. Perseguir 100% ali é perseguir um número que
148
+ * obriga a mentir.
149
+ *
150
+ * A conta que pode fechar em 100%, e que é o objetivo do recurso, é esta:
151
+ * dos componentes ADMITIDOS, quantos saíram com blueprint. Medido no
152
+ * `frontend-hub`: 340 de 340.
153
+ *
154
+ * `blueprint` é o nome público do que a plataforma produz; `recipe` continua
155
+ * sendo o nome interno, no documento e no código.
156
+ */
157
+ lines.push(`${c.read} of ${c.components} components came out with a blueprint - ${pct}%, ${c.declarations} declarations in total. This is measured on your files, not an estimate.`);
158
+ if (leftOut && leftOut > 0) {
159
+ lines.push(` and ${leftOut} export${leftOut === 1 ? "" : "s"} did not become one - each is named below with the reason, so a 100% here never means "we admitted little".`);
160
+ }
132
161
  if (composition && composition > 0) {
133
162
  lines.push(
134
163
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synthesisui",
3
- "version": "0.16.248",
3
+ "version": "0.16.249",
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": {