@contentful/experience-design-system-cli 2.37.1-dev-build-979aba4b.0 → 2.37.1-dev-build-eeb53912.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 +2939 -717
- package/dist/index.js +4604 -243
- package/dist/package.json +5 -2
- package/dist/src/tui/home/home.theme.d.ts +1 -2
- package/dist/src/tui/import/steps/04-credentials/logic.d.ts +0 -3
- package/dist/src/tui/import/steps/04-credentials/validate.d.ts +1 -1
- package/legacy/dist/src/analyze/select/tui/components/ScrollablePanel.d.ts +2 -2
- package/legacy/dist/src/analyze/select/tui/theme.d.ts +1 -1
- package/legacy/dist/src/index.js +378 -389
- package/legacy/package.json +5 -2
- package/package.json +5 -2
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experience-design-system-cli",
|
|
3
|
-
"version": "2.37.1-dev-build-
|
|
3
|
+
"version": "2.37.1-dev-build-eeb53912.0",
|
|
4
4
|
"description": "Contentful Experiences design system import CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -37,10 +37,12 @@
|
|
|
37
37
|
"dev": "node scripts/dev.mjs"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
+
"@contentful/experience-design-system-backend-pipeline": "workspace:*",
|
|
40
41
|
"@contentful/experience-design-system-types": "workspace:*",
|
|
41
42
|
"@inkjs/ui": "^2.0.0",
|
|
42
43
|
"@segment/analytics-node": "^3.0.0",
|
|
43
44
|
"@vue/compiler-sfc": "^3.5.31",
|
|
45
|
+
"ajv": "^8.18.0",
|
|
44
46
|
"commander": "^13.1.0",
|
|
45
47
|
"contentful-management": "^12.17.0",
|
|
46
48
|
"figures": "6.1.0",
|
|
@@ -51,7 +53,8 @@
|
|
|
51
53
|
"semver": "^7.7.2",
|
|
52
54
|
"svelte": "^5.56.4",
|
|
53
55
|
"ts-morph": "^27.0.2",
|
|
54
|
-
"typescript": "^5.9.3"
|
|
56
|
+
"typescript": "^5.9.3",
|
|
57
|
+
"zod": "^4.6.5"
|
|
55
58
|
},
|
|
56
59
|
"devDependencies": {
|
|
57
60
|
"@tsconfig/node24": "^24.0.4",
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export declare const PALETTE: {
|
|
2
2
|
readonly accent: "#1773EB";
|
|
3
|
-
readonly heading: "#FFFFFF";
|
|
4
3
|
readonly success: "#00C459";
|
|
5
4
|
readonly error: "#E44F20";
|
|
6
5
|
readonly warning: "#FFDA00";
|
|
7
|
-
readonly muted: "#
|
|
6
|
+
readonly muted: "#8B8D91";
|
|
8
7
|
readonly border: "#C4D1DE";
|
|
9
8
|
};
|
|
10
9
|
export declare function brandBar(width: number, ramp?: readonly string[]): {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export declare const FIELDS: readonly ["spaceId", "environmentId", "cmaToken", "host"];
|
|
2
2
|
export type CredentialField = (typeof FIELDS)[number];
|
|
3
3
|
export type CredentialValues = Record<CredentialField, string>;
|
|
4
|
-
export declare const DEFAULT_HOST = "api.contentful.com";
|
|
5
4
|
interface Key {
|
|
6
5
|
escape: boolean;
|
|
7
6
|
tab: boolean;
|
|
@@ -10,8 +9,6 @@ interface Key {
|
|
|
10
9
|
export type KeyAction = 'back' | 'next-field' | 'skip' | null;
|
|
11
10
|
export declare function keyAction(input: string, key: Key): KeyAction;
|
|
12
11
|
export declare function nextField(field: CredentialField): CredentialField;
|
|
13
|
-
export declare function toConfiguredHost(host: string | undefined): string;
|
|
14
|
-
export declare function toApiHost(host: string): string;
|
|
15
12
|
export declare function normalize(values: CredentialValues): CredentialValues;
|
|
16
13
|
export declare function missingField(values: CredentialValues): boolean;
|
|
17
14
|
export declare function isUnchanged(current: CredentialValues, initial: CredentialValues): boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
type ScrollablePanelProps = {
|
|
3
|
-
|
|
3
|
+
title: string;
|
|
4
4
|
width: number;
|
|
5
5
|
height: number;
|
|
6
6
|
active: boolean;
|
|
@@ -10,5 +10,5 @@ type ScrollablePanelProps = {
|
|
|
10
10
|
borderColor?: string;
|
|
11
11
|
children: React.ReactNode;
|
|
12
12
|
};
|
|
13
|
-
export declare function ScrollablePanel({
|
|
13
|
+
export declare function ScrollablePanel({ title, width, height, active, totalLines, visibleStart, visibleEnd, borderColor, children, }: ScrollablePanelProps): React.ReactElement;
|
|
14
14
|
export {};
|
|
@@ -7,7 +7,7 @@ export declare const PALETTE: {
|
|
|
7
7
|
readonly warning: "#FFDA00";
|
|
8
8
|
readonly fg: "#000000";
|
|
9
9
|
readonly inverse: "#FFFFFF";
|
|
10
|
-
readonly muted: "#
|
|
10
|
+
readonly muted: "#8B8D91";
|
|
11
11
|
readonly border: "#C4D1DE";
|
|
12
12
|
readonly subtle: "#DDE5EC";
|
|
13
13
|
readonly bg: "#EFF2F6";
|