@okuanb/fab 0.1.0-rc.6 → 0.1.0-rc.8

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/bin/fab.mjs CHANGED
@@ -1,9 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import { spawn } from 'node:child_process';
3
3
  import { ensureBinary } from '../runtime.mjs';
4
+ import { fileURLToPath } from 'node:url';
4
5
  try {
5
6
  const binary = await ensureBinary();
6
- const child = spawn(binary, process.argv.slice(2), { stdio: 'inherit', env: process.env });
7
+ const child = spawn(binary, process.argv.slice(2), { stdio: 'inherit', env: { ...process.env, FAB_NPM_PACKAGE_ROOT: fileURLToPath(new URL('../', import.meta.url)) } });
7
8
  const forward = signal => () => child.kill(signal);
8
9
  const interrupt = forward('SIGINT'), terminate = forward('SIGTERM');
9
10
  process.on('SIGINT', interrupt); process.on('SIGTERM', terminate);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okuanb/fab",
3
- "version": "0.1.0-rc.6",
3
+ "version": "0.1.0-rc.8",
4
4
  "type": "module",
5
5
  "description": "FAB: agente y fábrica de software con runtime propio",
6
6
  "bin": {
@@ -1,28 +1,28 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "version": "0.1.0-rc.6",
4
- "tag": "v0.1.0-rc.6",
5
- "sourceSha": "6539564f71accedf6379b45891de2ecd38fa197e",
3
+ "version": "0.1.0-rc.8",
4
+ "tag": "v0.1.0-rc.8",
5
+ "sourceSha": "fc6fc84b8a14fd647d4c6a8c412356dcf8566a3b",
6
6
  "assets": {
7
7
  "fab-linux-x64": {
8
8
  "filename": "fab-linux-x64",
9
- "sha256": "e5b64b490eca9566cf14f2f6cc7c0a3820950fd85a9909bd0e8c4ae50e0319d4",
10
- "bytes": 95004800
9
+ "sha256": "70acf258042a9bbae256c6531ebc14d823fca3f166af2b0ce77f312811db02f9",
10
+ "bytes": 95033472
11
11
  },
12
12
  "fab-linux-arm64": {
13
13
  "filename": "fab-linux-arm64",
14
- "sha256": "3b73ff9116f53d13ed593e9fce6775bbc829ccaaf1105da4161544e007449c2a",
14
+ "sha256": "d76d7196f00a23dcceb953d9a3492a174099d72fc4148a0050d308d9bba3fb06",
15
15
  "bytes": 94152848
16
16
  },
17
17
  "fab-darwin-x64": {
18
18
  "filename": "fab-darwin-x64",
19
- "sha256": "3197aef44146a4fa07685c749863e63d48a939a5bf494fffe18268b1c7e4616e",
20
- "bytes": 79626320
19
+ "sha256": "eb277eaec68b6e495012a775f3c68d5ce4bbcc90500cfaf61c877dd82ec904e4",
20
+ "bytes": 79659088
21
21
  },
22
22
  "fab-darwin-arm64": {
23
23
  "filename": "fab-darwin-arm64",
24
- "sha256": "3b9557622a137a8f3b23a0ad3a40427570c1e8b20b1bc12f768481bbd39b92bf",
25
- "bytes": 69340898
24
+ "sha256": "aaa79407c859e7b828c63786729696314284061d2fd4a0b10da6751d0334ef9d",
25
+ "bytes": 69373922
26
26
  }
27
27
  }
28
28
  }