@contentful/experience-design-system-cli 2.37.1-dev-build-b65632a0.0 → 2.37.1-dev-build-200af99b.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.37.1-dev-build-b65632a0.0",
3
+ "version": "2.37.1-dev-build-200af99b.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -62,6 +62,7 @@
62
62
  "eslint": "^9.39.5",
63
63
  "eslint-config-prettier": "^10.1.8",
64
64
  "eslint-plugin-prettier": "^5.5.6",
65
+ "ink-testing-library": "^4.0.0",
65
66
  "typescript-eslint": "^8.67.0",
66
67
  "vitest": "^4.0.16"
67
68
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.37.1-dev-build-b65632a0.0",
3
+ "version": "2.37.1-dev-build-200af99b.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -42,7 +42,7 @@
42
42
  "svelte": "^5.56.4",
43
43
  "ts-morph": "^27.0.2",
44
44
  "typescript": "^5.9.3",
45
- "@contentful/experience-design-system-types": "2.37.1-dev-build-b65632a0.0"
45
+ "@contentful/experience-design-system-types": "2.37.1-dev-build-200af99b.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@tsconfig/node24": "^24.0.4",
@@ -53,6 +53,7 @@
53
53
  "eslint": "^9.39.5",
54
54
  "eslint-config-prettier": "^10.1.8",
55
55
  "eslint-plugin-prettier": "^5.5.6",
56
+ "ink-testing-library": "^4.0.0",
56
57
  "typescript-eslint": "^8.67.0",
57
58
  "vitest": "^4.0.16"
58
59
  },
@@ -1,43 +0,0 @@
1
- import React from 'react';
2
- type CredentialsStepProps = {
3
- summary?: string;
4
- error?: string;
5
- initialSpaceId?: string;
6
- initialEnvironmentId?: string;
7
- initialCmaToken?: string;
8
- initialHost?: string;
9
- /**
10
- * When true, the credentials screen stays mounted but locks input and shows
11
- * an inline "Validating credentials..." status. Replaces the previous
12
- * dedicated `validating-credentials` render screen so the operator sees a
13
- * continuous credentials surface instead of a transient loading screen
14
- * (Change 1 of the wizard prefetch refactor).
15
- */
16
- validating?: boolean;
17
- /** Background validation of unchanged prefilled credentials; input remains editable. */
18
- backgroundValidating?: boolean;
19
- /** Inline status describing in-flight background generation prefetch. */
20
- generatePrefetchStatus?: 'idle' | 'running' | 'complete' | 'failed';
21
- /** Error message from a failed generation prefetch (rendered as a banner). */
22
- generatePrefetchError?: string | null;
23
- /** Called when the user submits with any field changed from its initial value */
24
- onConfirm: (spaceId: string, environmentId: string, cmaToken: string, host: string) => void;
25
- onValuesChange?: (spaceId: string, environmentId: string, cmaToken: string, host: string) => void;
26
- /** Called when the user submits without changing any field (use existing creds as-is) */
27
- onContinue?: (spaceId: string, environmentId: string, cmaToken: string, host: string) => void;
28
- onQuit: () => void;
29
- /**
30
- * Optional retry callback wired up when a background generation prefetch
31
- * failed mid-credentials-entry. The operator presses R to re-trigger.
32
- */
33
- onRetryPrefetch?: () => void;
34
- /**
35
- * Skip-credentials escape hatch. When pressed (via `s` keybind, gated
36
- * against text-entry mode), the wizard advances without validating
37
- * credentials and disables push downstream. See dsi-tui-skip-credentials
38
- * spec.
39
- */
40
- onSkip?: () => void;
41
- };
42
- export declare function CredentialsStep({ summary, error: externalError, initialSpaceId, initialEnvironmentId, initialCmaToken, initialHost, validating, backgroundValidating, generatePrefetchStatus, generatePrefetchError, onConfirm, onValuesChange, onContinue, onQuit, onRetryPrefetch, onSkip, }: CredentialsStepProps): React.ReactElement;
43
- export {};