@akanjs/cli 0.9.24 → 0.9.26

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/cjs/index.js CHANGED
@@ -3775,9 +3775,6 @@ var Start = ({ appName, bcp, fcp, csr, onExit, maxLength = 100 }) => {
3775
3775
  exit();
3776
3776
  process.exit(0);
3777
3777
  };
3778
- process.on("SIGINT", async () => {
3779
- await destroy();
3780
- });
3781
3778
  return () => {
3782
3779
  void destroy();
3783
3780
  };
@@ -3993,7 +3990,7 @@ var ApplicationRunner = class {
3993
3990
  setTimeout(() => (0, import_open.default)("http://localhost:8080/backend/graphql"), 3e3);
3994
3991
  return app.dist.spawnSync("node", ["--watch", "main.js"], {
3995
3992
  env,
3996
- stdio: withInk ? ["inherit", "pipe", "pipe"] : "inherit",
3993
+ stdio: withInk ? ["ignore", "pipe", "pipe"] : "inherit",
3997
3994
  cwd: `${app.dist.cwdPath}/backend`
3998
3995
  });
3999
3996
  }
@@ -4041,7 +4038,7 @@ var ApplicationRunner = class {
4041
4038
  onStart?.();
4042
4039
  return app.spawnSync("npx", ["next", "dev", "-p", "4200", ...turbo ? ["--turbo"] : []], {
4043
4040
  env,
4044
- stdio: withInk ? ["inherit", "pipe", "pipe"] : "inherit"
4041
+ stdio: withInk ? ["ignore", "pipe", "pipe"] : "inherit"
4045
4042
  });
4046
4043
  }
4047
4044
  async #getViteConfig(app, command, viteConfig = {}) {
package/esm/index.js CHANGED
@@ -3757,9 +3757,6 @@ var Start = ({ appName, bcp, fcp, csr, onExit, maxLength = 100 }) => {
3757
3757
  exit();
3758
3758
  process.exit(0);
3759
3759
  };
3760
- process.on("SIGINT", async () => {
3761
- await destroy();
3762
- });
3763
3760
  return () => {
3764
3761
  void destroy();
3765
3762
  };
@@ -3975,7 +3972,7 @@ var ApplicationRunner = class {
3975
3972
  setTimeout(() => openBrowser("http://localhost:8080/backend/graphql"), 3e3);
3976
3973
  return app.dist.spawnSync("node", ["--watch", "main.js"], {
3977
3974
  env,
3978
- stdio: withInk ? ["inherit", "pipe", "pipe"] : "inherit",
3975
+ stdio: withInk ? ["ignore", "pipe", "pipe"] : "inherit",
3979
3976
  cwd: `${app.dist.cwdPath}/backend`
3980
3977
  });
3981
3978
  }
@@ -4023,7 +4020,7 @@ var ApplicationRunner = class {
4023
4020
  onStart?.();
4024
4021
  return app.spawnSync("npx", ["next", "dev", "-p", "4200", ...turbo ? ["--turbo"] : []], {
4025
4022
  env,
4026
- stdio: withInk ? ["inherit", "pipe", "pipe"] : "inherit"
4023
+ stdio: withInk ? ["ignore", "pipe", "pipe"] : "inherit"
4027
4024
  });
4028
4025
  }
4029
4026
  async #getViteConfig(app, command, viteConfig = {}) {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "type": "module",
3
3
  "sourceType": "module",
4
4
  "name": "@akanjs/cli",
5
- "version": "0.9.24",
5
+ "version": "0.9.26",
6
6
  "bin": {
7
7
  "akan": "esm/index.js"
8
8
  },