@contentful/experience-design-system-cli 2.20.2-dev-build-95dee25.0 → 2.20.2-dev-build-63528e3.0
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/package.json
CHANGED
|
@@ -342,6 +342,26 @@ export function buildVisibleRows(props) {
|
|
|
342
342
|
itemIdx: rec.idx,
|
|
343
343
|
});
|
|
344
344
|
}
|
|
345
|
+
const nodeByName = new Map(subgraph.map((n) => [n.name, n]));
|
|
346
|
+
const sharedLeafNames = [...sharedDeps.keys()]
|
|
347
|
+
.filter((name) => (nodeByName.get(name)?.slots.length ?? 0) === 0)
|
|
348
|
+
.sort();
|
|
349
|
+
const seenStandaloneNames = new Set(standaloneRoots);
|
|
350
|
+
for (const name of sharedLeafNames) {
|
|
351
|
+
if (seenStandaloneNames.has(name))
|
|
352
|
+
continue;
|
|
353
|
+
const rec = itemByKey.get(name);
|
|
354
|
+
if (!rec)
|
|
355
|
+
continue;
|
|
356
|
+
rows.push({
|
|
357
|
+
kind: 'standalone',
|
|
358
|
+
key: `shared-standalone:${name}`,
|
|
359
|
+
label: `${name} (shared)`,
|
|
360
|
+
indent: 0,
|
|
361
|
+
sharedSuffix: true,
|
|
362
|
+
itemIdx: rec.idx,
|
|
363
|
+
});
|
|
364
|
+
}
|
|
345
365
|
if (showFlatTier) {
|
|
346
366
|
const flatNames = otherKeys.slice().sort();
|
|
347
367
|
if (flatNames.length > 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experience-design-system-cli",
|
|
3
|
-
"version": "2.20.2-dev-build-
|
|
3
|
+
"version": "2.20.2-dev-build-63528e3.0",
|
|
4
4
|
"description": "Contentful Experiences design system import CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"react": "^18.3.1",
|
|
34
34
|
"react-devtools-core": "^4.19.1",
|
|
35
35
|
"react-dom": "^18.3.1",
|
|
36
|
-
"@contentful/experience-design-system-client": "2.20.2-dev-build-
|
|
37
|
-
"@contentful/experience-design-system-
|
|
38
|
-
"@contentful/experience-design-system-
|
|
39
|
-
"@contentful/experience-design-system-
|
|
36
|
+
"@contentful/experience-design-system-client": "2.20.2-dev-build-63528e3.0",
|
|
37
|
+
"@contentful/experience-design-system-generation": "2.20.2-dev-build-63528e3.0",
|
|
38
|
+
"@contentful/experience-design-system-types": "2.20.2-dev-build-63528e3.0",
|
|
39
|
+
"@contentful/experience-design-system-extraction": "2.20.2-dev-build-63528e3.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@tsconfig/node24": "^24.0.4",
|