@camox/cli 0.17.1 → 0.17.4

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.
Files changed (2) hide show
  1. package/dist/index.mjs +8 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -782,11 +782,18 @@ src/routeTree.gen.ts
782
782
  }
783
783
  p.outro(`Starting dev server...`);
784
784
  const [cmd, ...args] = devCmd.split(" ");
785
- process.on("SIGINT", () => {});
785
+ let interruptReceived = false;
786
+ process.on("SIGINT", () => {
787
+ interruptReceived = true;
788
+ });
786
789
  spawn(cmd, args, {
787
790
  cwd: targetDir,
788
791
  stdio: "inherit"
789
792
  }).on("close", () => {
793
+ if (interruptReceived) {
794
+ process.exit(0);
795
+ return;
796
+ }
790
797
  dropIntoProject();
791
798
  });
792
799
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camox/cli",
3
- "version": "0.17.1",
3
+ "version": "0.17.4",
4
4
  "bin": {
5
5
  "camox": "./dist/index.mjs"
6
6
  },
@@ -26,7 +26,7 @@
26
26
  "@types/node": "^24.12.2",
27
27
  "@typescript/native-preview": "7.0.0-dev.20260412.1",
28
28
  "vite-plus": "latest",
29
- "@camox/api-contract": "0.17.1"
29
+ "@camox/api-contract": "0.17.4"
30
30
  },
31
31
  "nx": {
32
32
  "tags": [