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.
- package/dist/commands/doctor.js +9 -2
- package/package.json +1 -1
package/dist/commands/doctor.js
CHANGED
|
@@ -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
|
|
68
|
+
// A CHILD directory carrying its own INSTALLED SYSTEM is a separately
|
|
69
69
|
// governed project - its record, its doctor, its numbers.
|
|
70
|
-
|
|
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