@contentful/experience-design-system-cli 2.33.1-dev-build-f435f9e.0 → 2.33.1-dev-build-5dce9a6.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.33.1-dev-build-f435f9e.0",
3
+ "version": "2.33.1-dev-build-5dce9a6.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,4 +1,4 @@
1
- export type WizardStepAfterScope = 'generating' | 'push-decision-gate' | 'print-gate';
1
+ export type WizardStepAfterScope = 'credentials' | 'generating' | 'push-decision-gate' | 'print-gate';
2
2
  export type WizardStepAfterCredentials = 'generating' | 'push-decision-gate';
3
3
  export declare function nextStepAfterScopeGate(opts: {
4
4
  acceptedCount: number;
package/dist/src/index.js CHANGED
@@ -27921,9 +27921,9 @@ var init_auto_filter_error = __esm({
27921
27921
  // packages/experience-design-system-cli/src/import/tui/wizard-state-transitions.ts
27922
27922
  function nextStepAfterScopeGate(opts) {
27923
27923
  if (opts.acceptedCount > 0) {
27924
- return "generating";
27924
+ return opts.noPush ? "generating" : "credentials";
27925
27925
  }
27926
- return opts.noPush ? "print-gate" : "push-decision-gate";
27926
+ return opts.noPush ? "print-gate" : "credentials";
27927
27927
  }
27928
27928
  function nextStepAfterCredentialsValidated(opts) {
27929
27929
  return opts.acceptedCount > 0 ? "generating" : "push-decision-gate";
@@ -29501,9 +29501,14 @@ If using a custom --host, make sure the space exists on that host.`
29501
29501
  cancelAutoFilter: state.aiFilterStatus === "running" ? cancelAutoFilterAndWait : void 0,
29502
29502
  onAdvanceToGenerate: async ({ sessionId: sid, acceptedCount }) => {
29503
29503
  update({ acceptedCount, autoRejectedCount: 0 });
29504
- if (await runAgentAuthCheck("generating")) {
29505
- void runGenerate(sid, state.tokensPath, acceptedCount);
29504
+ const next = nextStepAfterScopeGate({ acceptedCount, noPush });
29505
+ if (next === "generating") {
29506
+ if (await runAgentAuthCheck("generating")) {
29507
+ void runGenerate(sid, state.tokensPath, acceptedCount);
29508
+ }
29509
+ return;
29506
29510
  }
29511
+ update({ step: "push-decision-gate" });
29507
29512
  },
29508
29513
  onAdvanceToPushFlow: (count) => {
29509
29514
  update({ acceptedCount: count, autoRejectedCount: 0 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.33.1-dev-build-f435f9e.0",
3
+ "version": "2.33.1-dev-build-5dce9a6.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -40,8 +40,8 @@
40
40
  "svelte": "^5.56.4",
41
41
  "ts-morph": "^27.0.2",
42
42
  "typescript": "^5.9.3",
43
- "@contentful/experience-design-system-types": "2.33.1-dev-build-f435f9e.0",
44
- "@contentful/experience-design-system-cli-v2": "2.33.1-dev-build-f435f9e.0"
43
+ "@contentful/experience-design-system-types": "2.33.1-dev-build-5dce9a6.0",
44
+ "@contentful/experience-design-system-cli-v2": "2.33.1-dev-build-5dce9a6.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@tsconfig/node24": "^24.0.4",
@@ -53,9 +53,9 @@
53
53
  "ink-testing-library": "^4.0.0",
54
54
  "typescript-eslint": "^8.67.0",
55
55
  "vitest": "^4.0.16",
56
- "@contentful/experience-design-system-client": "2.33.1-dev-build-f435f9e.0",
57
- "@contentful/experience-design-system-extraction": "2.33.1-dev-build-f435f9e.0",
58
- "@contentful/experience-design-system-generation": "2.33.1-dev-build-f435f9e.0"
56
+ "@contentful/experience-design-system-generation": "2.33.1-dev-build-5dce9a6.0",
57
+ "@contentful/experience-design-system-extraction": "2.33.1-dev-build-5dce9a6.0",
58
+ "@contentful/experience-design-system-client": "2.33.1-dev-build-5dce9a6.0"
59
59
  },
60
60
  "repository": {
61
61
  "type": "git",