@contentful/experience-design-system-cli 2.34.5-dev-build-f8f0b1fa.0 → 2.34.5-dev-build-4a4b9e84.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.
@@ -25,6 +25,10 @@ export declare function initDebugLogger(opts: InitDebugLoggerOptions): DebugLogg
25
25
  export declare function getDebugLogger(): DebugLogger;
26
26
  /** Test-only: reset the singleton. */
27
27
  export declare function __resetDebugLoggerForTest(): void;
28
+ /** Resolve debug mode from an explicit option, environment, or saved settings. */
29
+ export declare function resolveDebugMode(opts: {
30
+ debug?: boolean;
31
+ }, configDebug?: boolean): boolean;
28
32
  /**
29
33
  * Emit the bright-green "debug logs at <path>" banner to stderr.
30
34
  * No-op when debug is disabled or stderr is not a TTY-friendly stream.
@@ -1,6 +1,7 @@
1
1
  import { type DebugLogger } from './debug-logger.js';
2
2
  /**
3
- * Initialize the debug logger from persisted credentials.
4
- * Debug mode can only be configured via setup preferences;
3
+ * Resolve and initialize the debug logger before a top-level command runs.
5
4
  */
6
- export declare function beginCommand(command: string): Promise<DebugLogger>;
5
+ export declare function beginCommand(command: string, opts: {
6
+ debug?: boolean;
7
+ }): Promise<DebugLogger>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.34.5-dev-build-f8f0b1fa.0",
3
+ "version": "2.34.5-dev-build-4a4b9e84.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -41,8 +41,8 @@
41
41
  "svelte": "^5.56.4",
42
42
  "ts-morph": "^27.0.2",
43
43
  "typescript": "^5.9.3",
44
- "@contentful/experience-design-system-cli-v2": "2.34.5-dev-build-f8f0b1fa.0",
45
- "@contentful/experience-design-system-types": "2.34.5-dev-build-f8f0b1fa.0"
44
+ "@contentful/experience-design-system-cli-v2": "2.34.5-dev-build-4a4b9e84.0",
45
+ "@contentful/experience-design-system-types": "2.34.5-dev-build-4a4b9e84.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@tsconfig/node24": "^24.0.4",
@@ -54,9 +54,9 @@
54
54
  "ink-testing-library": "^4.0.0",
55
55
  "typescript-eslint": "^8.67.0",
56
56
  "vitest": "^4.0.16",
57
- "@contentful/experience-design-system-extraction": "2.34.5-dev-build-f8f0b1fa.0",
58
- "@contentful/experience-design-system-client": "2.34.5-dev-build-f8f0b1fa.0",
59
- "@contentful/experience-design-system-generation": "2.34.5-dev-build-f8f0b1fa.0"
57
+ "@contentful/experience-design-system-client": "2.34.5-dev-build-4a4b9e84.0",
58
+ "@contentful/experience-design-system-extraction": "2.34.5-dev-build-4a4b9e84.0",
59
+ "@contentful/experience-design-system-generation": "2.34.5-dev-build-4a4b9e84.0"
60
60
  },
61
61
  "repository": {
62
62
  "type": "git",
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Purpose
4
4
 
5
- Review the extracted React/Next.js component(s) provided below and decide whether each belongs in **Contentful Experience Orchestration** as a Component Type. The input is a JSON array — you may receive 1–N components in a single message. Output one JSON tool call per input component to stdout, named after the component. Tool calls may appear in any order.
5
+ Review the extracted TypeScript component(s) provided below and decide whether each belongs in **Contentful Experience Orchestration** as a Component Type. The input is a JSON array — you may receive 1–N components in a single message. Output one JSON tool call per input component to stdout, named after the component. Tool calls may appear in any order.
6
6
 
7
7
  ---
8
8
 
@@ -1,7 +0,0 @@
1
- import type { Command } from 'commander';
2
- export declare function resolveExtractNoCache(opts: {
3
- cache?: boolean;
4
- noCache?: boolean;
5
- }): boolean;
6
- export declare function collectSourceFiles(directory: string, onProgress?: (scannedCount: number) => void): Promise<string[]>;
7
- export declare function registerInternalExtractCommand(program: Command): void;