@contentful/experience-design-system-cli 2.34.5-dev-build-b5c12a6.0 → 2.34.5-dev-build-d42cd1ad.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,18 +25,6 @@ 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
- /**
29
- * Resolve effective debug-mode setting from three sources.
30
- *
31
- * Precedence (highest first):
32
- * 1. `--debug` / `--no-debug` CLI flag
33
- * 2. `EDSI_DEBUG` env var (truthy: 1, true, yes, on)
34
- * 3. Persisted `debug` field in credentials.json
35
- * 4. Default: OFF
36
- */
37
- export declare function resolveDebugMode(opts: {
38
- debug?: boolean;
39
- }, configDebug?: boolean): boolean;
40
28
  /**
41
29
  * Emit the bright-green "debug logs at <path>" banner to stderr.
42
30
  * No-op when debug is disabled or stderr is not a TTY-friendly stream.
@@ -1,14 +1,6 @@
1
1
  import { type DebugLogger } from './debug-logger.js';
2
2
  /**
3
- * Preamble every top-level command action should call before doing work.
4
- *
5
- * Resolves the effective debug decision (flag > env > persisted config),
6
- * initializes the singleton, and prints the bright-green start banner.
7
- * Registers a process-exit handler that prints the end banner once.
8
- *
9
- * Returns the logger so the caller can emit events without a second import.
10
- * When debug is disabled, the returned logger is a no-op.
3
+ * Initialize the debug logger from persisted credentials.
4
+ * Debug mode can only be configured via setup preferences;
11
5
  */
12
- export declare function beginCommand(command: string, opts: {
13
- debug?: boolean;
14
- }): Promise<DebugLogger>;
6
+ export declare function beginCommand(command: string): Promise<DebugLogger>;
@@ -16,9 +16,9 @@ export declare function runBuild(opts: {
16
16
  exitCode: number;
17
17
  }>;
18
18
  /**
19
- * Walks `actionCommand` and its ancestors for a truthy `--bedrock`. --bedrock
20
- * is registered per-subcommand (not at program scope, unlike --debug), so a
21
- * root-level or subcommand-level setting can each carry it.
19
+ * Walks `actionCommand` and its ancestors for a truthy `--bedrock`.
20
+ * --bedrock is registered per-subcommand, so a root-level or
21
+ * subcommand-level setting can each carry it.
22
22
  */
23
23
  export declare function resolveBedrockFromAncestors(actionCommand: Command): boolean;
24
24
  export declare function createProgram(): Command;
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-b5c12a6.0",
3
+ "version": "2.34.5-dev-build-d42cd1ad.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-b5c12a6.0",
45
- "@contentful/experience-design-system-types": "2.34.5-dev-build-b5c12a6.0"
44
+ "@contentful/experience-design-system-cli-v2": "2.34.5-dev-build-d42cd1ad.0",
45
+ "@contentful/experience-design-system-types": "2.34.5-dev-build-d42cd1ad.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-b5c12a6.0",
58
- "@contentful/experience-design-system-generation": "2.34.5-dev-build-b5c12a6.0",
59
- "@contentful/experience-design-system-client": "2.34.5-dev-build-b5c12a6.0"
57
+ "@contentful/experience-design-system-client": "2.34.5-dev-build-d42cd1ad.0",
58
+ "@contentful/experience-design-system-generation": "2.34.5-dev-build-d42cd1ad.0",
59
+ "@contentful/experience-design-system-extraction": "2.34.5-dev-build-d42cd1ad.0"
60
60
  },
61
61
  "repository": {
62
62
  "type": "git",