@contentful/experience-design-system-cli 2.34.2-dev-build-a06e747.0 → 2.34.2-dev-build-3cd48dd.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/README.md +27 -88
- package/bin/cli.js +5 -13
- package/dist/package.json +1 -1
- package/dist/src/analytics/types.d.ts +1 -1
- package/dist/src/generate/command.d.ts +1 -1
- package/dist/src/import/orchestrator.d.ts +0 -7
- package/dist/src/import/tui/WizardApp.d.ts +1 -2
- package/dist/src/index.js +1568 -2245
- package/dist/src/lib/command-options.d.ts +0 -1
- package/dist/src/lib/contentful-urls.d.ts +1 -1
- package/dist/src/session/db.d.ts +1 -1
- package/package.json +6 -6
- package/dist/src/apply/tui/SelectView.d.ts +0 -18
- package/dist/src/generate/edit/command.d.ts +0 -2
|
@@ -2,5 +2,4 @@ import type { Command } from 'commander';
|
|
|
2
2
|
export declare function addArtifactInputOptions(cmd: Command): Command;
|
|
3
3
|
export declare function addContentfulTargetOptions(cmd: Command): Command;
|
|
4
4
|
export declare function addCompositionOptions(cmd: Command): Command;
|
|
5
|
-
export declare function addSelectionOptions(cmd: Command): Command;
|
|
6
5
|
export declare function addAllowDeletionsOption(cmd: Command): Command;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* The wizard's `done` step and the `experiences import` orchestrator both used
|
|
5
5
|
* to inline the same post-push URL formatter. This module centralizes that
|
|
6
|
-
* formatter so the wizard
|
|
6
|
+
* formatter so the wizard and `apply push` emit the same
|
|
7
7
|
* URL shape.
|
|
8
8
|
*/
|
|
9
9
|
type PostPushView = 'components' | 'design_tokens';
|
package/dist/src/session/db.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export { storeDtcgTokens as storeDTCGTokens } from './services/tokens/store-dtcg
|
|
|
16
16
|
export { applyTokenToolCalls, type ApplyTokenToolCallsResult } from './services/tokens/apply-tool-calls.js';
|
|
17
17
|
export { replaceRawTokenNamePaths } from './services/tokens/replace-raw-token-name-paths.js';
|
|
18
18
|
export { replaceRawPropTokenPaths } from './services/tokens/replace-raw-prop-token-paths.js';
|
|
19
|
-
export type CommandName = 'analyze extract' | 'analyze select' | 'generate components' | 'generate tokens' | 'generate edit' | 'apply
|
|
19
|
+
export type CommandName = 'analyze extract' | 'analyze select' | 'generate components' | 'generate tokens' | 'generate edit' | 'apply push' | 'print components' | 'print tokens' | 'map tokens' | 'fetch existing entities' | 'import';
|
|
20
20
|
export declare function getPipelineDbPath(): string;
|
|
21
21
|
export declare function openPipelineDb(dbPath?: string): DatabaseSync;
|
|
22
22
|
export interface ApplyToolCallsResult {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experience-design-system-cli",
|
|
3
|
-
"version": "2.34.2-dev-build-
|
|
3
|
+
"version": "2.34.2-dev-build-3cd48dd.0",
|
|
4
4
|
"description": "Contentful Experiences design system import CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"svelte": "^5.56.4",
|
|
40
40
|
"ts-morph": "^27.0.2",
|
|
41
41
|
"typescript": "^5.9.3",
|
|
42
|
-
"@contentful/experience-design-system-cli-v2": "2.34.2-dev-build-
|
|
43
|
-
"@contentful/experience-design-system-types": "2.34.2-dev-build-
|
|
42
|
+
"@contentful/experience-design-system-cli-v2": "2.34.2-dev-build-3cd48dd.0",
|
|
43
|
+
"@contentful/experience-design-system-types": "2.34.2-dev-build-3cd48dd.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@tsconfig/node24": "^24.0.4",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"ink-testing-library": "^4.0.0",
|
|
53
53
|
"typescript-eslint": "^8.67.0",
|
|
54
54
|
"vitest": "^4.0.16",
|
|
55
|
-
"@contentful/experience-design-system-
|
|
56
|
-
"@contentful/experience-design-system-
|
|
57
|
-
"@contentful/experience-design-system-extraction": "2.34.2-dev-build-
|
|
55
|
+
"@contentful/experience-design-system-generation": "2.34.2-dev-build-3cd48dd.0",
|
|
56
|
+
"@contentful/experience-design-system-client": "2.34.2-dev-build-3cd48dd.0",
|
|
57
|
+
"@contentful/experience-design-system-extraction": "2.34.2-dev-build-3cd48dd.0"
|
|
58
58
|
},
|
|
59
59
|
"repository": {
|
|
60
60
|
"type": "git",
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface SelectableEntity {
|
|
3
|
-
id: string;
|
|
4
|
-
kind: 'token' | 'component';
|
|
5
|
-
status: 'new' | 'changed';
|
|
6
|
-
isBreaking?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare function makeSelectKey(kind: 'token' | 'component', id: string): string;
|
|
9
|
-
interface SelectViewProps {
|
|
10
|
-
entities: SelectableEntity[];
|
|
11
|
-
spaceId: string;
|
|
12
|
-
environmentId: string;
|
|
13
|
-
selectedIndex: number;
|
|
14
|
-
selected: Set<string>;
|
|
15
|
-
importing: boolean;
|
|
16
|
-
}
|
|
17
|
-
export declare function SelectView({ entities, spaceId, environmentId, selectedIndex, selected, importing, }: SelectViewProps): React.ReactElement;
|
|
18
|
-
export {};
|