@package-pal/cli 0.0.47 → 0.0.49

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/ppal CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
  // Fallback, for Windows OR if the post-install script did not execute.
4
4
  // Adds more overhead due to launching a Node process which launches the CLI process.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@package-pal/cli",
3
- "version": "0.0.47",
3
+ "version": "0.0.49",
4
4
  "description": "CLI tool exposing core PackagePal functionality.",
5
5
  "keywords": [
6
6
  "package",
@@ -18,22 +18,22 @@
18
18
  "devDependencies": {
19
19
  "@clack/prompts": "^1.5.1",
20
20
  "@stricli/core": "^1.2.7",
21
- "@package-pal/core": "0.0.11",
22
- "@package-pal/util": "0.0.11",
23
- "@package-pal/adapter-package-json": "0.0.1",
24
- "@package-pal/adapter-msbuild": "0.0.1",
21
+ "@package-pal/core": "0.0.12",
22
+ "@package-pal/util": "0.0.12",
23
+ "@package-pal/adapter-package-json": "0.0.2",
24
+ "@package-pal/adapter-msbuild": "0.0.2",
25
25
  "@types/bun": "^1.3.14",
26
26
  "typescript": "^6.0.3",
27
- "@types/node": "^25.9.2"
27
+ "@types/node": "^25.9.3"
28
28
  },
29
29
  "optionalDependencies": {
30
- "@package-pal/cli-linux-x64": "0.0.18",
31
- "@package-pal/cli-linux-x64-musl": "0.0.18",
32
- "@package-pal/cli-linux-arm64": "0.0.18",
33
- "@package-pal/cli-linux-arm64-musl": "0.0.18",
34
- "@package-pal/cli-darwin-arm64": "0.0.18",
35
- "@package-pal/cli-darwin-x64": "0.0.18",
36
- "@package-pal/cli-windows-x64": "0.0.18"
30
+ "@package-pal/cli-linux-x64": "0.0.19",
31
+ "@package-pal/cli-linux-x64-musl": "0.0.19",
32
+ "@package-pal/cli-linux-arm64": "0.0.19",
33
+ "@package-pal/cli-linux-arm64-musl": "0.0.19",
34
+ "@package-pal/cli-darwin-arm64": "0.0.19",
35
+ "@package-pal/cli-darwin-x64": "0.0.19",
36
+ "@package-pal/cli-windows-x64": "0.0.19"
37
37
  },
38
38
  "engines": {
39
39
  "node": ">=18"
@@ -1,5 +1,4 @@
1
1
  import { execFileSync } from 'child_process';
2
- import { isDefined } from '@package-pal/util';
3
2
 
4
3
  /**
5
4
  * @param {string} binPath
@@ -22,7 +21,7 @@ export const exec = (
22
21
  && typeof error.status === 'number')
23
22
  ? error.status
24
23
  : undefined;
25
- if (isDefined(exitError)) {
24
+ if (exitError !== undefined) {
26
25
  process.exit(exitError);
27
26
  }
28
27