@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 +3 -0
- package/dist/package.json +1 -1
- package/legacy/dist/src/import/tui/steps/PathValidationStep.d.ts +10 -0
- package/legacy/dist/src/import/tui/steps/TokenInputStep.d.ts +8 -0
- package/legacy/dist/src/import/tui/steps/WelcomeStep.d.ts +7 -0
- package/legacy/dist/src/index.js +1593 -1106
- package/legacy/package.json +1 -1
- package/package.json +2 -2
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
|
@@ -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 {};
|