@contentful/experience-design-system-cli 2.27.2-dev-build-d9f331e.0 → 2.27.2-dev-build-b8a1978.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/index.js +15 -1
- package/package.json +5 -5
package/dist/package.json
CHANGED
package/dist/src/index.js
CHANGED
|
@@ -16303,7 +16303,8 @@ function pushStatus(run) {
|
|
|
16303
16303
|
function runLine(run, label) {
|
|
16304
16304
|
const when = formatRelativeTime(run.createdAt);
|
|
16305
16305
|
const count = `${run.componentCount} component${run.componentCount === 1 ? "" : "s"}`;
|
|
16306
|
-
|
|
16306
|
+
const agent = run.agent ? ` ${run.agent}` : "";
|
|
16307
|
+
return `${label} ${when} ${count} ${pushStatus(run)}${agent}`;
|
|
16307
16308
|
}
|
|
16308
16309
|
function ActionScreen({
|
|
16309
16310
|
runId,
|
|
@@ -27557,6 +27558,19 @@ If using a custom --host, make sure the space exists on that host.`
|
|
|
27557
27558
|
summary
|
|
27558
27559
|
};
|
|
27559
27560
|
}
|
|
27561
|
+
const pushSucceeded = pushResult.componentTypes.failed === 0 && pushResult.designTokens.failed === 0 && operation.sys.status !== "failed";
|
|
27562
|
+
if (pushSucceeded && state.lastRunId) {
|
|
27563
|
+
try {
|
|
27564
|
+
await updateRun(state.lastRunId, {
|
|
27565
|
+
pushedTo: { spaceId, environmentId, host: resolvedHost }
|
|
27566
|
+
});
|
|
27567
|
+
} catch (err) {
|
|
27568
|
+
process.stderr.write(
|
|
27569
|
+
`Warning: failed to record push target on run: ${err instanceof Error ? err.message : String(err)}
|
|
27570
|
+
`
|
|
27571
|
+
);
|
|
27572
|
+
}
|
|
27573
|
+
}
|
|
27560
27574
|
update({ step: "done", pushResult });
|
|
27561
27575
|
} catch (e) {
|
|
27562
27576
|
let msg;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experience-design-system-cli",
|
|
3
|
-
"version": "2.27.2-dev-build-
|
|
3
|
+
"version": "2.27.2-dev-build-b8a1978.0",
|
|
4
4
|
"description": "Contentful Experiences design system import CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"svelte": "^5.56.4",
|
|
40
40
|
"ts-morph": "^27.0.2",
|
|
41
41
|
"typescript": "^5.9.3",
|
|
42
|
-
"@contentful/experience-design-system-types": "2.27.2-dev-build-
|
|
42
|
+
"@contentful/experience-design-system-types": "2.27.2-dev-build-b8a1978.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@tsconfig/node24": "^24.0.4",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"ink-testing-library": "^4.0.0",
|
|
52
52
|
"typescript-eslint": "^8.67.0",
|
|
53
53
|
"vitest": "^4.0.16",
|
|
54
|
-
"@contentful/experience-design-system-
|
|
55
|
-
"@contentful/experience-design-system-generation": "2.27.2-dev-build-
|
|
56
|
-
"@contentful/experience-design-system-
|
|
54
|
+
"@contentful/experience-design-system-client": "2.27.2-dev-build-b8a1978.0",
|
|
55
|
+
"@contentful/experience-design-system-generation": "2.27.2-dev-build-b8a1978.0",
|
|
56
|
+
"@contentful/experience-design-system-extraction": "2.27.2-dev-build-b8a1978.0"
|
|
57
57
|
},
|
|
58
58
|
"repository": {
|
|
59
59
|
"type": "git",
|