cmx-sdk 0.1.21 → 0.1.22

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/cli.js CHANGED
@@ -1658,11 +1658,11 @@ config();
1658
1658
  var program = new Command();
1659
1659
  program.name("cmx-sdk").description("CMX SDK - CLI tool for managing CMX schemas and content").version("0.1.13");
1660
1660
  program.action(async () => {
1661
- const { interactiveMenu } = await import("./interactive-menu-HMKKC57H.js");
1661
+ const { interactiveMenu } = await import("./interactive-menu-LW7F3QJC.js");
1662
1662
  await interactiveMenu();
1663
1663
  });
1664
1664
  program.command("init [project-name]").description("\u65B0\u898F CMX \u30B5\u30A4\u30C8\u3092\u4F5C\u6210").option("--no-studio", "CMX Studio \u3092\u30B9\u30AD\u30C3\u30D7").option("--pm <manager>", "\u30D1\u30C3\u30B1\u30FC\u30B8\u30DE\u30CD\u30FC\u30B8\u30E3\u30FC (npm, pnpm, yarn)").action(async (projectName, options) => {
1665
- const { init } = await import("./init-37BFTU52.js");
1665
+ const { init } = await import("./init-GME5QGF6.js");
1666
1666
  await init(projectName, options);
1667
1667
  });
1668
1668
  program.command("studio").description("\u30B5\u30A4\u30C8 + CMX Studio \u3092\u8D77\u52D5").option("--only", "Studio \u306E\u307F\u8D77\u52D5\uFF08\u30B5\u30A4\u30C8\u306F\u8D77\u52D5\u3057\u306A\u3044\uFF09").action(async (options) => {
@@ -163,6 +163,7 @@ async function init(projectName, options) {
163
163
  \u{1F4D6} \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8: https://cmx-ai.org/docs
164
164
  \u{1F3A8} CMX Admin: https://app.cmx-ai.org
165
165
  `);
166
+ process.exit(0);
166
167
  }
167
168
  export {
168
169
  init
@@ -16,7 +16,7 @@ async function interactiveMenu() {
16
16
  });
17
17
  switch (action) {
18
18
  case "init": {
19
- const { init } = await import("./init-37BFTU52.js");
19
+ const { init } = await import("./init-GME5QGF6.js");
20
20
  return init(void 0, {});
21
21
  }
22
22
  case "studio": {
@@ -25,10 +25,12 @@ async function interactiveMenu() {
25
25
  }
26
26
  case "generate": {
27
27
  console.log("\n npx cmx-sdk generate \u3092\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\n");
28
+ process.exit(0);
28
29
  break;
29
30
  }
30
31
  case "scaffold": {
31
32
  console.log("\n npx cmx-sdk scaffold \u3092\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\n");
33
+ process.exit(0);
32
34
  break;
33
35
  }
34
36
  case "help": {
@@ -41,6 +43,7 @@ async function interactiveMenu() {
41
43
  npx cmx-sdk scaffold Next.js \u30DA\u30FC\u30B8\u3092\u751F\u6210
42
44
  npx cmx-sdk --help \u5168\u30B3\u30DE\u30F3\u30C9\u3092\u8868\u793A
43
45
  `);
46
+ process.exit(0);
44
47
  break;
45
48
  }
46
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmx-sdk",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "CMX SDK - Official SDK for building content-driven websites with CMX",
5
5
  "type": "module",
6
6
  "license": "MIT",