@514labs/moose-cli 0.3.74 → 0.3.76

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.js +4 -0
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -36,6 +36,10 @@ function getExePath() {
36
36
  function run() {
37
37
  var _a;
38
38
  var args = process.argv.slice(2);
39
+ // ignore sigint in the node parent process
40
+ // so that we can wait until we have processResult when the rust process returns
41
+ // instead of prematurely exiting
42
+ process.on('SIGINT', function () { });
39
43
  var processResult = (0, child_process_1.spawnSync)(getExePath(), args, { stdio: "inherit" });
40
44
  process.exit((_a = processResult.status) !== null && _a !== void 0 ? _a : 0);
41
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@514labs/moose-cli",
3
- "version": "0.3.74",
3
+ "version": "0.3.76",
4
4
  "bin": {
5
5
  "moose": "dist/index.js",
6
6
  "moose-cli": "dist/index.js"
@@ -17,10 +17,10 @@
17
17
  "typescript": "^4.9.5"
18
18
  },
19
19
  "optionalDependencies": {
20
- "@514labs/moose-cli-darwin-arm64": "0.3.74",
21
- "@514labs/moose-cli-darwin-x64": "0.3.74",
22
- "@514labs/moose-cli-linux-arm64": "0.3.74",
23
- "@514labs/moose-cli-linux-x64": "0.3.74"
20
+ "@514labs/moose-cli-darwin-arm64": "0.3.76",
21
+ "@514labs/moose-cli-darwin-x64": "0.3.76",
22
+ "@514labs/moose-cli-linux-arm64": "0.3.76",
23
+ "@514labs/moose-cli-linux-x64": "0.3.76"
24
24
  },
25
25
  "scripts": {
26
26
  "typecheck": "tsc --noEmit",