@contentful/experience-design-system-cli 2.11.4-dev-build-3e1df30.0 → 2.11.4-dev-build-7e11bc8.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 +1 -1
- package/dist/src/analyze/command.js +9 -5
- package/package.json +2 -2
package/dist/package.json
CHANGED
|
@@ -200,11 +200,15 @@ export function registerAnalyzeCommand(program) {
|
|
|
200
200
|
// are rendered under that component in the TUI; global ones (retry summaries,
|
|
201
201
|
// non-authorable skips, anything else) are rendered at the top of the warnings panel
|
|
202
202
|
// so they don't disappear into the count.
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
203
|
+
//
|
|
204
|
+
// The matching rule MUST stay aligned with build-analyze-view-rows.ts which
|
|
205
|
+
// attaches per-component warnings via `w.startsWith(c.name + ':')`. Using
|
|
206
|
+
// the same `startsWith(name + ':')` here keeps the two halves symmetric —
|
|
207
|
+
// any warning attached to a component's row is excluded from globals (no
|
|
208
|
+
// double-render), and any warning not attached to any row falls through
|
|
209
|
+
// to globals (no silent drop).
|
|
210
|
+
const componentNames = componentRows.map((r) => r.name);
|
|
211
|
+
const globalWarnings = allWarnings.filter((w) => !componentNames.some((name) => w.startsWith(name + ':')));
|
|
208
212
|
const analyzeResult = {
|
|
209
213
|
sourceDirectory,
|
|
210
214
|
sessionId,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experience-design-system-cli",
|
|
3
|
-
"version": "2.11.4-dev-build-
|
|
3
|
+
"version": "2.11.4-dev-build-7e11bc8.0",
|
|
4
4
|
"description": "Contentful Experiences design system import CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"svelte": "^5.56.4",
|
|
38
38
|
"ts-morph": "^27.0.2",
|
|
39
39
|
"typescript": "^5.9.3",
|
|
40
|
-
"@contentful/experience-design-system-types": "2.11.4-dev-build-
|
|
40
|
+
"@contentful/experience-design-system-types": "2.11.4-dev-build-7e11bc8.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@tsconfig/node24": "^24.0.3",
|