@okuanb/fab 0.1.0-rc.5 → 0.1.0-rc.7

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.5",
3
+ "version": "0.1.0-rc.7",
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.5",
4
- "tag": "v0.1.0-rc.5",
5
- "sourceSha": "4f6ce6fcf60de8442af79d3afa909e06d55a86f8",
3
+ "version": "0.1.0-rc.7",
4
+ "tag": "v0.1.0-rc.7",
5
+ "sourceSha": "b9e6a10c539a089b51528282a2004cf03e6dd01c",
6
6
  "assets": {
7
7
  "fab-linux-x64": {
8
8
  "filename": "fab-linux-x64",
9
- "sha256": "abf319a33d5c9a87b8d7a858bd0746295619659ea72932ab64aa2783b2b8bc27",
10
- "bytes": 95004800
9
+ "sha256": "74e4c2f71c3dc317abd63cca9780ad445c834a04dd79153fc3da7140fc22c7f2",
10
+ "bytes": 95025280
11
11
  },
12
12
  "fab-linux-arm64": {
13
13
  "filename": "fab-linux-arm64",
14
- "sha256": "898b63fb0a630899f76643c70bf2bdf24d12ac82c9dbf9346067311175f14352",
14
+ "sha256": "20e094c6316ec5f61a740cdeb9bb0637d2cf1a7c276f5de26ff1973c478a755d",
15
15
  "bytes": 94152848
16
16
  },
17
17
  "fab-darwin-x64": {
18
18
  "filename": "fab-darwin-x64",
19
- "sha256": "767d76f35de1fae60ba436b564dfa6f62ca25b2c7682646ac0b2677d762a97ef",
20
- "bytes": 79626320
19
+ "sha256": "6fc7fe0ca0d7affa700be44abb2f1654ad4c2259606e73203118cc8e49f51aca",
20
+ "bytes": 79642704
21
21
  },
22
22
  "fab-darwin-arm64": {
23
23
  "filename": "fab-darwin-arm64",
24
- "sha256": "422e3a5a34a4188680ec0bf148ec4be0c1528c3a3fc22f612cddfbfc0f0db065",
25
- "bytes": 69340898
24
+ "sha256": "1a17ea25b159730ebbf401e782babdafaa4f3cb04bbd9e15952b43db1d7dd75a",
25
+ "bytes": 69373922
26
26
  }
27
27
  }
28
28
  }