@lpm-registry/cli 0.62.0 → 0.63.0

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/lpm ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ import { runNativeCommand } from "./native.js";
3
+
4
+ runNativeCommand("lpm");
package/bin/lpx ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ import { runNativeCommand } from "./native.js";
3
+
4
+ runNativeCommand("lpx");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lpm-registry/cli",
3
- "version": "0.62.0",
3
+ "version": "0.63.0",
4
4
  "description": "LPM CLI native binary installer for npm",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,8 +17,8 @@
17
17
  "private-packages"
18
18
  ],
19
19
  "bin": {
20
- "lpm": "bin/lpm.js",
21
- "lpx": "bin/lpx.js"
20
+ "lpm": "bin/lpm",
21
+ "lpx": "bin/lpx"
22
22
  },
23
23
  "files": [
24
24
  "bin",
@@ -26,11 +26,11 @@
26
26
  "README.md"
27
27
  ],
28
28
  "optionalDependencies": {
29
- "@lpm-registry/cli-darwin-arm64": "0.62.0",
30
- "@lpm-registry/cli-darwin-x64": "0.62.0",
31
- "@lpm-registry/cli-linux-arm64": "0.62.0",
32
- "@lpm-registry/cli-linux-x64": "0.62.0",
33
- "@lpm-registry/cli-win32-x64": "0.62.0"
29
+ "@lpm-registry/cli-darwin-arm64": "0.63.0",
30
+ "@lpm-registry/cli-darwin-x64": "0.63.0",
31
+ "@lpm-registry/cli-linux-arm64": "0.63.0",
32
+ "@lpm-registry/cli-linux-x64": "0.63.0",
33
+ "@lpm-registry/cli-win32-x64": "0.63.0"
34
34
  },
35
35
  "type": "module",
36
36
  "engines": {
@@ -160,7 +160,7 @@ export function stageOptimizedBinary({ source, target, platform, fsModule = fs }
160
160
  }
161
161
 
162
162
  function optimizedTargetPath(wrapperRoot, platform, command) {
163
- const filename = platform === "win32" ? `${command}.exe` : `${command}.js`;
163
+ const filename = platform === "win32" ? `${command}.exe` : command;
164
164
  return path.join(wrapperRoot, "bin", filename);
165
165
  }
166
166