@contentful/experience-design-system-cli 2.37.1-dev-build-df3fca68.0 → 2.37.1-dev-build-a3cb19fa.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 +159 -1983
- package/dist/index.js +278 -4237
- package/dist/package.json +2 -5
- package/dist/src/tui/import/spawn-v1-import.d.ts +1 -2
- package/dist/src/tui/import/steps/03-path-validation/loader.d.ts +2 -0
- package/dist/src/tui/import/steps/03-path-validation/logic.d.ts +1 -2
- package/dist/src/tui/import/steps/03-path-validation/screen.d.ts +1 -4
- package/legacy/package.json +2 -5
- package/package.json +2 -5
- package/dist/src/tui/import/steps/03-path-validation/helpers/scan-files.d.ts +0 -10
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-
|
|
3
|
+
"version": "2.37.1-dev-build-a3cb19fa.0",
|
|
4
4
|
"description": "Contentful Experiences design system import CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -37,12 +37,10 @@
|
|
|
37
37
|
"dev": "node scripts/dev.mjs"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@contentful/experience-design-system-backend-pipeline": "workspace:*",
|
|
41
40
|
"@contentful/experience-design-system-types": "workspace:*",
|
|
42
41
|
"@inkjs/ui": "^2.0.0",
|
|
43
42
|
"@segment/analytics-node": "^3.0.0",
|
|
44
43
|
"@vue/compiler-sfc": "^3.5.31",
|
|
45
|
-
"ajv": "^8.18.0",
|
|
46
44
|
"commander": "^13.1.0",
|
|
47
45
|
"contentful-management": "^12.17.0",
|
|
48
46
|
"figures": "6.1.0",
|
|
@@ -53,8 +51,7 @@
|
|
|
53
51
|
"semver": "^7.7.2",
|
|
54
52
|
"svelte": "^5.56.4",
|
|
55
53
|
"ts-morph": "^27.0.2",
|
|
56
|
-
"typescript": "^5.9.3"
|
|
57
|
-
"zod": "^4.6.5"
|
|
54
|
+
"typescript": "^5.9.3"
|
|
58
55
|
},
|
|
59
56
|
"devDependencies": {
|
|
60
57
|
"@tsconfig/node24": "^24.0.4",
|
|
@@ -6,8 +6,6 @@ export type ScanFailureCode = 'not-found' | 'permission-denied' | 'is-file' | 'n
|
|
|
6
6
|
export type ScanResult = {
|
|
7
7
|
ok: true;
|
|
8
8
|
counts: FileCounts;
|
|
9
|
-
filePaths: string[];
|
|
10
|
-
warnings: string[];
|
|
11
9
|
} | {
|
|
12
10
|
ok: false;
|
|
13
11
|
failure: ScanFailureCode;
|
|
@@ -32,6 +30,7 @@ interface Key {
|
|
|
32
30
|
escape: boolean;
|
|
33
31
|
return: boolean;
|
|
34
32
|
}
|
|
33
|
+
export declare const IGNORED_DIRECTORIES: Set<string>;
|
|
35
34
|
export declare function emptyCounts(): FileCounts;
|
|
36
35
|
export declare function addFile(counts: FileCounts, fileName: string): FileCounts;
|
|
37
36
|
export declare function mergeCounts(a: FileCounts, b: FileCounts): FileCounts;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface PathValidationScreenProps {
|
|
3
3
|
projectPath: string;
|
|
4
|
-
onConfirm: (
|
|
5
|
-
projectPath: string;
|
|
6
|
-
filePaths: string[];
|
|
7
|
-
}) => void;
|
|
4
|
+
onConfirm: (projectPath: string) => void;
|
|
8
5
|
onChangePath: () => void;
|
|
9
6
|
onBack: () => void;
|
|
10
7
|
}
|
package/legacy/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experience-design-system-cli",
|
|
3
|
-
"version": "2.37.1-dev-build-
|
|
3
|
+
"version": "2.37.1-dev-build-a3cb19fa.0",
|
|
4
4
|
"description": "Contentful Experiences design system import CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -37,12 +37,10 @@
|
|
|
37
37
|
"dev": "node scripts/dev.mjs"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@contentful/experience-design-system-backend-pipeline": "workspace:*",
|
|
41
40
|
"@contentful/experience-design-system-types": "workspace:*",
|
|
42
41
|
"@inkjs/ui": "^2.0.0",
|
|
43
42
|
"@segment/analytics-node": "^3.0.0",
|
|
44
43
|
"@vue/compiler-sfc": "^3.5.31",
|
|
45
|
-
"ajv": "^8.18.0",
|
|
46
44
|
"commander": "^13.1.0",
|
|
47
45
|
"contentful-management": "^12.17.0",
|
|
48
46
|
"figures": "6.1.0",
|
|
@@ -53,8 +51,7 @@
|
|
|
53
51
|
"semver": "^7.7.2",
|
|
54
52
|
"svelte": "^5.56.4",
|
|
55
53
|
"ts-morph": "^27.0.2",
|
|
56
|
-
"typescript": "^5.9.3"
|
|
57
|
-
"zod": "^4.6.5"
|
|
54
|
+
"typescript": "^5.9.3"
|
|
58
55
|
},
|
|
59
56
|
"devDependencies": {
|
|
60
57
|
"@tsconfig/node24": "^24.0.4",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experience-design-system-cli",
|
|
3
|
-
"version": "2.37.1-dev-build-
|
|
3
|
+
"version": "2.37.1-dev-build-a3cb19fa.0",
|
|
4
4
|
"description": "Contentful Experiences design system import CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
"@inkjs/ui": "^2.0.0",
|
|
32
32
|
"@segment/analytics-node": "^3.0.0",
|
|
33
33
|
"@vue/compiler-sfc": "^3.5.31",
|
|
34
|
-
"ajv": "^8.18.0",
|
|
35
34
|
"commander": "^13.1.0",
|
|
36
35
|
"contentful-management": "^12.17.0",
|
|
37
36
|
"figures": "6.1.0",
|
|
@@ -43,9 +42,7 @@
|
|
|
43
42
|
"svelte": "^5.56.4",
|
|
44
43
|
"ts-morph": "^27.0.2",
|
|
45
44
|
"typescript": "^5.9.3",
|
|
46
|
-
"
|
|
47
|
-
"@contentful/experience-design-system-backend-pipeline": "2.37.1-dev-build-df3fca68.0",
|
|
48
|
-
"@contentful/experience-design-system-types": "2.37.1-dev-build-df3fca68.0"
|
|
45
|
+
"@contentful/experience-design-system-types": "2.37.1-dev-build-a3cb19fa.0"
|
|
49
46
|
},
|
|
50
47
|
"devDependencies": {
|
|
51
48
|
"@tsconfig/node24": "^24.0.4",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { collectFiles } from '@contentful/experience-design-system-backend-pipeline';
|
|
2
|
-
import type { FileCounts as LocalFileCounts, ScanResult } from '../logic.js';
|
|
3
|
-
type CollectedFilesOutcome = ReturnType<typeof collectFiles>;
|
|
4
|
-
type PipelineFileCounts = Extract<CollectedFilesOutcome, {
|
|
5
|
-
ok: true;
|
|
6
|
-
}>['result']['counts'];
|
|
7
|
-
export declare function scanFiles(directory: string): ScanResult;
|
|
8
|
-
export declare function toScanResult(outcome: CollectedFilesOutcome): ScanResult;
|
|
9
|
-
export declare function foldSvelteAndMdIntoOther(counts: PipelineFileCounts): LocalFileCounts;
|
|
10
|
-
export {};
|