synthesisui 0.16.41 → 0.16.42

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.
@@ -65,9 +65,16 @@ skippedProjects) {
65
65
  if (e.isDirectory()) {
66
66
  if (SKIP.has(e.name))
67
67
  continue;
68
- // A CHILD directory carrying its own _synthesisui is a separately
68
+ // A CHILD directory carrying its own INSTALLED SYSTEM is a separately
69
69
  // governed project - its record, its doctor, its numbers.
70
- const governed = await readdir(join(full, "_synthesisui")).then(() => true, () => false);
70
+ //
71
+ // The test used to be "does `_synthesisui/` exist", and that folder holds
72
+ // more than a system: `import --dry` writes a census into it. So the
73
+ // recommended sequence defeated itself (dono, 30/07) - importing from
74
+ // `packages/ui` left a census there, and the next `doctor apps/…` skipped
75
+ // the shared package as if it governed itself, taking its 92 tokens with
76
+ // it. Governance means an installed system, which is `ds/`.
77
+ const governed = await readdir(join(full, "_synthesisui", "ds")).then((entries) => entries.length > 0, () => false);
71
78
  if (governed) {
72
79
  skippedProjects?.push(full);
73
80
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synthesisui",
3
- "version": "0.16.41",
3
+ "version": "0.16.42",
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": {