@package-pal/cli 0.0.10 → 0.0.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@package-pal/cli",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "CLI tool exposing core PackagePal functionality.",
5
5
  "keywords": [
6
6
  "package",
@@ -18,9 +18,10 @@ export const getPathInfo = (platform, targetPackage) => {
18
18
  throw new Error('Expected bin name.');
19
19
  }
20
20
 
21
- const outputBinDir = resolve(
22
- __dirname, '..', 'bin',
21
+ const packageRootDir = resolve(
22
+ __dirname, '..', '..', '..',
23
23
  );
24
+ const outputBinDir = join(packageRootDir, 'bin');
24
25
  const outputBinTargetBasePath = join(outputBinDir, binName);
25
26
  const binExecutableName = platform === 'win32' ? `${binName}.exe` : binName;
26
27
 
@@ -35,6 +36,7 @@ export const getPathInfo = (platform, targetPackage) => {
35
36
  }
36
37
 
37
38
  return {
39
+ packageRootDir,
38
40
  outputBinDir,
39
41
  binName,
40
42
  binExecutableName,