@contentful/experience-design-system-cli 2.37.1-dev-build-aba8c14a.0 → 2.37.1-dev-build-97678ad0.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/index.js CHANGED
@@ -1959,6 +1959,9 @@ function registerImportCommand(program, openTui) {
1959
1959
  if (watch) {
1960
1960
  process.exit(await runDevWatch(forwarded));
1961
1961
  }
1962
+ if (forwarded.length > 0) {
1963
+ process.exit(await runLegacy(["import", ...forwarded]));
1964
+ }
1962
1965
  await openTui();
1963
1966
  });
1964
1967
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.37.1-dev-build-aba8c14a.0",
3
+ "version": "2.37.1-dev-build-97678ad0.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ type PathValidationStepProps = {
3
+ projectPath: string;
4
+ onConfirm: (projectPath: string) => void;
5
+ onSkipComponents: () => void;
6
+ onChangePath: () => void;
7
+ onQuit: () => void;
8
+ };
9
+ export declare function PathValidationStep({ projectPath, onConfirm, onSkipComponents, onChangePath, onQuit, }: PathValidationStepProps): React.ReactElement;
10
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ type TokenInputStepProps = {
3
+ onConfirm: (rawTokensPath: string) => void;
4
+ onSkip: () => void;
5
+ onQuit: () => void;
6
+ };
7
+ export declare function TokenInputStep({ onConfirm, onSkip, onQuit }: TokenInputStepProps): React.ReactElement;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ type WelcomeStepProps = {
3
+ onContinue: (projectPath: string) => void;
4
+ onQuit: () => void;
5
+ };
6
+ export declare function WelcomeStep({ onContinue, onQuit }: WelcomeStepProps): React.ReactElement;
7
+ export {};