@contentful/experience-design-system-cli 2.35.1-dev-build-3ab9e99e.0 → 2.35.1-dev-build-7780c1f7.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.35.1-dev-build-3ab9e99e.0",
3
+ "version": "2.35.1-dev-build-7780c1f7.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.35.1-dev-build-3ab9e99e.0",
3
+ "version": "2.35.1-dev-build-7780c1f7.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -41,7 +41,7 @@
41
41
  "svelte": "^5.56.4",
42
42
  "ts-morph": "^27.0.2",
43
43
  "typescript": "^5.9.3",
44
- "@contentful/experience-design-system-types": "2.35.1-dev-build-3ab9e99e.0"
44
+ "@contentful/experience-design-system-types": "2.35.1-dev-build-7780c1f7.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@tsconfig/node24": "^24.0.4",
@@ -1,17 +0,0 @@
1
- import { type CDFDocument } from '@contentful/experience-design-system-types';
2
- export interface DroppedTokenDefault {
3
- component: string;
4
- property: string;
5
- token: string;
6
- }
7
- /**
8
- * Contentful turns a token property's `$default` into a link to a design token and rejects the
9
- * whole component when that token does not exist ("unknown DesignToken ID"). This removes the
10
- * default from any token property whose token is neither defined in the CDF itself nor already in
11
- * the target environment, so the component can still be created. The input is not modified.
12
- */
13
- export declare function dropDanglingTokenDefaults(cdf: CDFDocument, existingTokenIds: ReadonlySet<string>): {
14
- cdf: CDFDocument;
15
- dropped: DroppedTokenDefault[];
16
- };
17
- export declare function describeDroppedTokenDefaults(dropped: DroppedTokenDefault[]): string[];
@@ -1,11 +0,0 @@
1
- export interface FetchExistingTokenIdsParams {
2
- spaceId: string;
3
- environmentId: string;
4
- cmaToken: string;
5
- host?: string;
6
- }
7
- /**
8
- * The ids of every design token in the target environment (for example `color.primary`).
9
- * Only tokens are read, so a component list that the server cannot serialize does not matter.
10
- */
11
- export declare function fetchExistingTokenIds(params: FetchExistingTokenIdsParams): Promise<Set<string>>;
@@ -1,29 +0,0 @@
1
- import type { ServerPreviewResponse } from '@contentful/experience-design-system-types';
2
- export declare const DEBUG_SESSION_DIR_ENV = "EDS_DEBUG_SESSION_DIR";
3
- export type PushOutcome = 'in-progress' | 'pushed' | 'partial' | 'failed' | 'preview-failed' | 'nothing-to-push' | 'skipped' | 'superseded';
4
- export interface PushDebugResult {
5
- outcome: PushOutcome;
6
- /** One plain-English sentence that says what happened and why. */
7
- summary: string;
8
- details?: Record<string, unknown>;
9
- }
10
- export interface PushDebugEventOptions {
11
- note?: string;
12
- data?: Record<string, unknown>;
13
- requestId?: string;
14
- }
15
- export interface PushDebugRun {
16
- event(title: string, options?: PushDebugEventOptions): void;
17
- finish(result: PushDebugResult): void;
18
- }
19
- /** The server's preview, reduced to the names in each group so it is easy to read. */
20
- export declare function summarizePreview(preview: ServerPreviewResponse): Record<string, unknown>;
21
- /** The entries of a CDF that will be sent: name, type and the properties and slots each has. */
22
- export declare function summarizeCdf(cdf: Record<string, unknown>): Array<Record<string, unknown>>;
23
- /**
24
- * Records the push step (preview, confirmation and apply) in the v2 debug session folder.
25
- * The file is rewritten after every event, so a push that dies partway still leaves a log.
26
- * It does nothing unless the v2 CLI set EDS_DEBUG_SESSION_DIR, which it only does when
27
- * Debug Mode is on. Logging never throws.
28
- */
29
- export declare function startPushDebugRun(inputs: Record<string, unknown>): PushDebugRun;