@akanjs/devkit 2.4.1-rc.2 → 2.4.1-rc.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.
@@ -0,0 +1 @@
1
+ process.send?.({ type: "done", value: 42 });
@@ -0,0 +1,11 @@
1
+ const started = Date.now();
2
+ let got: unknown = null;
3
+ const proc = Bun.spawn(["bun", `${import.meta.dir}/child.ts`], {
4
+ stdio: ["ignore", "inherit", "inherit"],
5
+ serialization: "advanced",
6
+ ipc: (m) => { got = m; },
7
+ });
8
+ const timeout = new Promise((r) => setTimeout(() => r("TIMEOUT"), 4000));
9
+ const outcome = await Promise.race([proc.exited, timeout]);
10
+ console.info(JSON.stringify({ outcome, got, ms: Date.now() - started }));
11
+ if (outcome === "TIMEOUT") proc.kill();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/devkit",
3
- "version": "2.4.1-rc.2",
3
+ "version": "2.4.1-rc.4",
4
4
  "sourceType": "module",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -44,7 +44,7 @@
44
44
  "@langchain/openai": "^1.4.6",
45
45
  "@tailwindcss/node": "^4.3.0",
46
46
  "@trapezedev/project": "^7.1.4",
47
- "akanjs": "2.4.1-rc.2",
47
+ "akanjs": "2.4.1-rc.4",
48
48
  "chalk": "^5.6.2",
49
49
  "commander": "^14.0.3",
50
50
  "daisyui": "5.5.23",