@contentful/experience-design-system-cli 2.34.5-dev-build-956ddba.0 → 2.34.5-dev-build-3ce6f03.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.34.5-dev-build-956ddba.0",
3
+ "version": "2.34.5-dev-build-3ce6f03.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/dist/src/index.js CHANGED
@@ -30857,12 +30857,21 @@ function resolveBedrockFromAncestors(actionCommand) {
30857
30857
  return false;
30858
30858
  }
30859
30859
  function registerImportV2Command(program) {
30860
- program.command("importv2").description("Launch the v2 import TUI (experience-design-system-cli-v2)").action(async () => {
30861
- const { render: render5 } = await import("ink");
30862
- const { createElement: createElement6 } = await import("react");
30863
- const { App } = await import("@contentful/experience-design-system-cli-v2/app");
30864
- const { waitUntilExit } = render5(createElement6(App));
30865
- await waitUntilExit();
30860
+ program.command("importv2").description("Launch the v2 import").action(async () => {
30861
+ const v2Path = join26(
30862
+ dirname13(fileURLToPath4(import.meta.url)),
30863
+ "..",
30864
+ "..",
30865
+ "..",
30866
+ "experience-design-system-cli-v2",
30867
+ "bin",
30868
+ "cli-v2.js"
30869
+ );
30870
+ const child = spawn5("node", [v2Path], { stdio: "inherit" });
30871
+ await new Promise((resolve21) => {
30872
+ child.on("exit", () => resolve21());
30873
+ child.on("error", () => resolve21());
30874
+ });
30866
30875
  });
30867
30876
  }
30868
30877
  function registerBuildCommand(program) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-cli",
3
- "version": "2.34.5-dev-build-956ddba.0",
3
+ "version": "2.34.5-dev-build-3ce6f03.0",
4
4
  "description": "Contentful Experiences design system import CLI",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -41,8 +41,8 @@
41
41
  "svelte": "^5.56.4",
42
42
  "ts-morph": "^27.0.2",
43
43
  "typescript": "^5.9.3",
44
- "@contentful/experience-design-system-types": "2.34.5-dev-build-956ddba.0",
45
- "@contentful/experience-design-system-cli-v2": "2.34.5-dev-build-956ddba.0"
44
+ "@contentful/experience-design-system-types": "2.34.5-dev-build-3ce6f03.0",
45
+ "@contentful/experience-design-system-cli-v2": "2.34.5-dev-build-3ce6f03.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@tsconfig/node24": "^24.0.4",
@@ -54,9 +54,9 @@
54
54
  "ink-testing-library": "^4.0.0",
55
55
  "typescript-eslint": "^8.67.0",
56
56
  "vitest": "^4.0.16",
57
- "@contentful/experience-design-system-generation": "2.34.5-dev-build-956ddba.0",
58
- "@contentful/experience-design-system-extraction": "2.34.5-dev-build-956ddba.0",
59
- "@contentful/experience-design-system-client": "2.34.5-dev-build-956ddba.0"
57
+ "@contentful/experience-design-system-client": "2.34.5-dev-build-3ce6f03.0",
58
+ "@contentful/experience-design-system-extraction": "2.34.5-dev-build-3ce6f03.0",
59
+ "@contentful/experience-design-system-generation": "2.34.5-dev-build-3ce6f03.0"
60
60
  },
61
61
  "repository": {
62
62
  "type": "git",