@contentful/experience-design-system-cli 2.28.0 → 2.28.1-dev-build-0662050.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/package.json +2 -1
- package/dist/src/index.js +10 -0
- package/package.json +6 -5
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experience-design-system-cli",
|
|
3
|
-
"version": "2.28.0",
|
|
3
|
+
"version": "2.28.1-dev-build-0662050.0",
|
|
4
4
|
"description": "Contentful Experiences design system import CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"lint:fix": "nx lint:fix experience-design-system-cli"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
+
"@contentful/experience-design-system-cli-v2": "workspace:*",
|
|
41
42
|
"@contentful/experience-design-system-types": "workspace:*",
|
|
42
43
|
"@segment/analytics-node": "^3.0.0",
|
|
43
44
|
"@vue/compiler-sfc": "^3.5.31",
|
package/dist/src/index.js
CHANGED
|
@@ -36824,6 +36824,15 @@ async function runBuild(opts) {
|
|
|
36824
36824
|
child.on("exit", (code) => settle(code ?? 1));
|
|
36825
36825
|
});
|
|
36826
36826
|
}
|
|
36827
|
+
function registerImportV2Command(program) {
|
|
36828
|
+
program.command("importv2").description("Launch the v2 import TUI (experience-design-system-cli-v2)").action(async () => {
|
|
36829
|
+
const { render: render7 } = await import("ink");
|
|
36830
|
+
const { createElement: createElement7 } = await import("react");
|
|
36831
|
+
const { App: App2 } = await import("@contentful/experience-design-system-cli-v2/app");
|
|
36832
|
+
const { waitUntilExit } = render7(createElement7(App2));
|
|
36833
|
+
await waitUntilExit();
|
|
36834
|
+
});
|
|
36835
|
+
}
|
|
36827
36836
|
function registerBuildCommand(program) {
|
|
36828
36837
|
program.command("build").description("Rebuild from source and re-link exo/experiences binaries to this build").action(async () => {
|
|
36829
36838
|
const pkgRoot = resolve26(dirname14(fileURLToPath5(import.meta.url)), "..", "..");
|
|
@@ -36844,6 +36853,7 @@ function createProgram() {
|
|
|
36844
36853
|
registerApplyCommand(program);
|
|
36845
36854
|
registerSessionCommand(program);
|
|
36846
36855
|
registerImportCommand(program);
|
|
36856
|
+
registerImportV2Command(program);
|
|
36847
36857
|
registerSetupCommand(program);
|
|
36848
36858
|
registerRunsCommand(program);
|
|
36849
36859
|
registerBuildCommand(program);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experience-design-system-cli",
|
|
3
|
-
"version": "2.28.0",
|
|
3
|
+
"version": "2.28.1-dev-build-0662050.0",
|
|
4
4
|
"description": "Contentful Experiences design system import CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
"svelte": "^5.56.4",
|
|
40
40
|
"ts-morph": "^27.0.2",
|
|
41
41
|
"typescript": "^5.9.3",
|
|
42
|
-
"@contentful/experience-design-system-
|
|
42
|
+
"@contentful/experience-design-system-cli-v2": "2.28.1-dev-build-0662050.0",
|
|
43
|
+
"@contentful/experience-design-system-types": "2.28.1-dev-build-0662050.0"
|
|
43
44
|
},
|
|
44
45
|
"devDependencies": {
|
|
45
46
|
"@tsconfig/node24": "^24.0.4",
|
|
@@ -51,9 +52,9 @@
|
|
|
51
52
|
"ink-testing-library": "^4.0.0",
|
|
52
53
|
"typescript-eslint": "^8.67.0",
|
|
53
54
|
"vitest": "^4.0.16",
|
|
54
|
-
"@contentful/experience-design-system-
|
|
55
|
-
"@contentful/experience-design-system-
|
|
56
|
-
"@contentful/experience-design-system-
|
|
55
|
+
"@contentful/experience-design-system-extraction": "2.28.1-dev-build-0662050.0",
|
|
56
|
+
"@contentful/experience-design-system-generation": "2.28.1-dev-build-0662050.0",
|
|
57
|
+
"@contentful/experience-design-system-client": "2.28.1-dev-build-0662050.0"
|
|
57
58
|
},
|
|
58
59
|
"repository": {
|
|
59
60
|
"type": "git",
|