@contentful/experience-design-system-cli 2.20.2-dev-build-95dee25.0 → 2.20.2-dev-build-c0b498f.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,23 @@ 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
|
+
for (const name of sharedLeafNames) {
|
|
350
|
+
const rec = itemByKey.get(name);
|
|
351
|
+
if (!rec)
|
|
352
|
+
continue;
|
|
353
|
+
rows.push({
|
|
354
|
+
kind: 'standalone',
|
|
355
|
+
key: `shared-standalone:${name}`,
|
|
356
|
+
label: `${name} (shared)`,
|
|
357
|
+
indent: 0,
|
|
358
|
+
sharedSuffix: true,
|
|
359
|
+
itemIdx: rec.idx,
|
|
360
|
+
});
|
|
361
|
+
}
|
|
345
362
|
if (showFlatTier) {
|
|
346
363
|
const flatNames = otherKeys.slice().sort();
|
|
347
364
|
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-c0b498f.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-c0b498f.0",
|
|
37
|
+
"@contentful/experience-design-system-extraction": "2.20.2-dev-build-c0b498f.0",
|
|
38
|
+
"@contentful/experience-design-system-generation": "2.20.2-dev-build-c0b498f.0",
|
|
39
|
+
"@contentful/experience-design-system-types": "2.20.2-dev-build-c0b498f.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@tsconfig/node24": "^24.0.4",
|