@contentful/experience-design-system-cli 2.35.1-dev-build-215f38d1.0 → 2.35.1-dev-build-fa950e44.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 CHANGED
@@ -451,9 +451,6 @@ function buildArgs(options) {
451
451
  if (options.tokens) {
452
452
  args.push("--tokens", options.tokens);
453
453
  }
454
- if (options.skipTokenPrompt) {
455
- args.push("--skip-token-prompt");
456
- }
457
454
  return args;
458
455
  }
459
456
  async function spawnV1Import(options = {}) {
@@ -1143,7 +1140,7 @@ function App({ onLaunchImport, importExitCode }) {
1143
1140
  TokenInputScreen,
1144
1141
  {
1145
1142
  onConfirm: (tokens) => onLaunchImport?.({ project: projectPath, tokens }),
1146
- onSkip: () => onLaunchImport?.({ project: projectPath, skipTokenPrompt: true }),
1143
+ onSkip: () => onLaunchImport?.({ project: projectPath }),
1147
1144
  onBack: () => setProjectPath(void 0)
1148
1145
  }
1149
1146
  );
package/dist/index.js CHANGED
@@ -546,9 +546,6 @@ function buildArgs(options) {
546
546
  if (options.tokens) {
547
547
  args.push("--tokens", options.tokens);
548
548
  }
549
- if (options.skipTokenPrompt) {
550
- args.push("--skip-token-prompt");
551
- }
552
549
  return args;
553
550
  }
554
551
  async function spawnV1Import(options = {}) {
@@ -1324,7 +1321,7 @@ function App({ onLaunchImport, importExitCode }) {
1324
1321
  TokenInputScreen,
1325
1322
  {
1326
1323
  onConfirm: (tokens) => onLaunchImport?.({ project: projectPath, tokens }),
1327
- onSkip: () => onLaunchImport?.({ project: projectPath, skipTokenPrompt: true }),
1324
+ onSkip: () => onLaunchImport?.({ project: projectPath }),
1328
1325
  onBack: () => setProjectPath(void 0)
1329
1326
  }
1330
1327
  );
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.35.1-dev-build-215f38d1.0",
3
+ "version": "2.35.1-dev-build-fa950e44.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -17,7 +17,6 @@ interface PipelineResult {
17
17
  export interface SpawnV1ImportOptions {
18
18
  project?: string;
19
19
  tokens?: string;
20
- skipTokenPrompt?: boolean;
21
20
  onProgress?: (line: string) => void;
22
21
  }
23
22
  export interface SpawnV1ImportResult {
@@ -1,2 +1,2 @@
1
- import { type Command } from 'commander';
1
+ import type { Command } from 'commander';
2
2
  export declare function registerImportCommand(program: Command): void;
@@ -62,7 +62,6 @@ export type WizardAppProps = {
62
62
  generatePromptPath?: string;
63
63
  skipMapTokens?: boolean;
64
64
  initialRawTokensPath?: string;
65
- skipTokenPrompt?: boolean;
66
65
  initialAgentAuth?: Promise<AgentAuthStatus>;
67
66
  };
68
- export declare function WizardApp({ initialSpaceId, initialEnvironmentId, initialCmaToken, initialHost, initialAgent, initialModel, bedrock, initialProjectPath, host, promptOverrides, noCache, livePreview, generatePromptPath, skipMapTokens, initialRawTokensPath, skipTokenPrompt, initialAgentAuth, }?: WizardAppProps): React.ReactElement;
67
+ export declare function WizardApp({ initialSpaceId, initialEnvironmentId, initialCmaToken, initialHost, initialAgent, initialModel, bedrock, initialProjectPath, host, promptOverrides, noCache, livePreview, generatePromptPath, skipMapTokens, initialRawTokensPath, initialAgentAuth, }?: WizardAppProps): React.ReactElement;
@@ -28240,7 +28240,6 @@ function WizardApp({
28240
28240
  generatePromptPath,
28241
28241
  skipMapTokens = false,
28242
28242
  initialRawTokensPath,
28243
- skipTokenPrompt = false,
28244
28243
  initialAgentAuth
28245
28244
  } = {}) {
28246
28245
  const defaultConfiguredHost = toConfiguredHost(host || process.env["EDS_HOST"]) ?? DEFAULT_CONFIGURED_HOST;
@@ -28277,7 +28276,7 @@ function WizardApp({
28277
28276
  const generatePromiseRef = useRef10(null);
28278
28277
  const rawTokensEntryReady = !!initialRawTokensPath;
28279
28278
  const effectiveNoCache = resolveNoCacheForGenerate({ cliNoCache: noCache });
28280
- const initialStepResolved = rawTokensEntryReady ? initialProjectPath ? "path-validation" : "credentials" : initialProjectPath ? skipTokenPrompt ? "path-validation" : "token-input" : "welcome";
28279
+ const initialStepResolved = rawTokensEntryReady ? initialProjectPath ? "path-validation" : "credentials" : initialProjectPath ? "token-input" : "welcome";
28281
28280
  const initialOutDir = initialProjectPath ? join23(resolve18(initialProjectPath), ".contentful") : "";
28282
28281
  const [state, setState] = useState23({
28283
28282
  step: initialStepResolved,
@@ -30345,7 +30344,6 @@ var init_WizardApp = __esm({
30345
30344
  });
30346
30345
 
30347
30346
  // packages/experience-design-system-cli-legacy/src/import/command.ts
30348
- import { Option } from "commander";
30349
30347
  function registerImportCommand(program) {
30350
30348
  const cmd = program.command("import").description("Run the full pipeline: analyze \u2192 select \u2192 generate \u2192 push").option("--project <path>", "Path to the project root to analyze", ".");
30351
30349
  cmd.option(
@@ -30362,9 +30360,7 @@ function registerImportCommand(program) {
30362
30360
  "Override a composition, selection, token, generation, or token-mapping prompt (repeatable). value is a file path or literal text, e.g. --prompt select=./p.md",
30363
30361
  (v, acc) => [...acc, v],
30364
30362
  []
30365
- ).option("--no-cache", "Re-run all steps even if output already exists").addOption(
30366
- new Option("--skip-token-prompt", "Start after the token prompt, as if the token step was skipped").hideHelp()
30367
- ).action(async (opts) => {
30363
+ ).option("--no-cache", "Re-run all steps even if output already exists").action(async (opts) => {
30368
30364
  const interactiveTerminalSupported = getInteractiveTerminalSupport().supported;
30369
30365
  if (opts.tokens !== void 0) {
30370
30366
  const { access: access9 } = await import("node:fs/promises");
@@ -30406,7 +30402,6 @@ function registerImportCommand(program) {
30406
30402
  livePreview: true,
30407
30403
  generatePromptPath: creds.generatePromptPath,
30408
30404
  ...opts.tokens ? { initialRawTokensPath: normalizePath(opts.tokens) } : {},
30409
- ...opts.skipTokenPrompt ? { skipTokenPrompt: true } : {},
30410
30405
  initialAgentAuth
30411
30406
  })
30412
30407
  );
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.35.1-dev-build-215f38d1.0",
3
+ "version": "2.35.1-dev-build-fa950e44.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-215f38d1.0",
3
+ "version": "2.35.1-dev-build-fa950e44.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -42,7 +42,7 @@
42
42
  "svelte": "^5.56.4",
43
43
  "ts-morph": "^27.0.2",
44
44
  "typescript": "^5.9.3",
45
- "@contentful/experience-design-system-types": "2.35.1-dev-build-215f38d1.0"
45
+ "@contentful/experience-design-system-types": "2.35.1-dev-build-fa950e44.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@tsconfig/node24": "^24.0.4",