@contentful/experience-design-system-cli 2.35.1-dev-build-3ab9e99e.0 → 2.35.1-dev-build-a963233a.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/app.js +245 -174
- package/dist/index.js +284 -190
- package/dist/package.json +2 -1
- package/dist/src/tui/debug-store.d.ts +0 -1
- package/dist/src/tui/import/steps/01-welcome/controls.d.ts +8 -0
- package/dist/src/tui/import/steps/01-welcome/logic.d.ts +8 -0
- package/dist/src/tui/import/steps/01-welcome/screen.d.ts +7 -0
- package/dist/src/tui/import/steps/index.d.ts +1 -0
- package/legacy/dist/src/import/tui/steps/WizardPreviewStep.d.ts +1 -2
- package/legacy/dist/src/index.js +7858 -7281
- package/legacy/package.json +2 -1
- package/package.json +3 -2
- package/legacy/dist/src/apply/dangling-token-defaults.d.ts +0 -17
- package/legacy/dist/src/helpers/fetch-existing-token-ids.d.ts +0 -11
- package/legacy/dist/src/lib/push-debug-log.d.ts +0 -29
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experience-design-system-cli",
|
|
3
|
-
"version": "2.35.1-dev-build-
|
|
3
|
+
"version": "2.35.1-dev-build-a963233a.0",
|
|
4
4
|
"description": "Contentful Experiences design system import CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"contentful-management": "^12.17.0",
|
|
45
45
|
"figures": "6.1.0",
|
|
46
46
|
"ink": "^5.2.1",
|
|
47
|
+
"ink-text-input": "^6.0.0",
|
|
47
48
|
"react": "^18.3.1",
|
|
48
49
|
"react-devtools-core": "^4.19.1",
|
|
49
50
|
"semver": "^7.7.2",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
type Status = 'success' | 'error';
|
|
2
2
|
type ExitMethod = 'saved' | 'discarded' | 'crashed';
|
|
3
|
-
export declare function debugSessionDirIfEnabled(): Promise<string | undefined>;
|
|
4
3
|
export declare function startDebugRun({ flow, step, menuOption, inputs, }: {
|
|
5
4
|
flow: string;
|
|
6
5
|
step: string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const WELCOME_CONTROLS: readonly [{
|
|
2
|
+
readonly keys: "Enter";
|
|
3
|
+
readonly label: "Continue";
|
|
4
|
+
}, {
|
|
5
|
+
readonly keys: "Esc/q";
|
|
6
|
+
readonly label: "Back to menu";
|
|
7
|
+
}];
|
|
8
|
+
export declare function useWelcomeControls(projectPath: string, onQuit: () => void): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { WelcomeScreen } from './01-welcome/screen.js';
|
|
@@ -13,10 +13,9 @@ type WizardPreviewStepProps = {
|
|
|
13
13
|
environmentId: string;
|
|
14
14
|
stepNumber: number;
|
|
15
15
|
totalSteps: number;
|
|
16
|
-
droppedTokenDefaults?: string[];
|
|
17
16
|
onConfirm: (acknowledge: boolean) => void;
|
|
18
17
|
onEdit?: () => void;
|
|
19
18
|
onQuit: () => void;
|
|
20
19
|
};
|
|
21
|
-
export declare function WizardPreviewStep({ preview, spaceId, environmentId, stepNumber, totalSteps,
|
|
20
|
+
export declare function WizardPreviewStep({ preview, spaceId, environmentId, stepNumber, totalSteps, onConfirm, onEdit, onQuit, }: WizardPreviewStepProps): React.ReactElement;
|
|
22
21
|
export {};
|