gtx-cli 2.5.29-bin.2 → 2.5.29-bin.3

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.
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -4,6 +4,7 @@ import { spawn } from 'child_process';
4
4
  import { fileURLToPath } from 'url';
5
5
  import { dirname, join } from 'path';
6
6
  import { existsSync, chmodSync, statSync } from 'fs';
7
+ console.log('Running bin-main.ts');
7
8
  const __filename = fileURLToPath(import.meta.url);
8
9
  const __dirname = dirname(__filename);
9
10
  function detectPlatform() {
@@ -30,7 +31,7 @@ function routeToBinary() {
30
31
  if (!binaryName) {
31
32
  return;
32
33
  }
33
- const binaryPath = join(__dirname, '..', 'binaries', binaryName);
34
+ const binaryPath = join(__dirname, '../..', 'binaries', binaryName);
34
35
  if (!existsSync(binaryPath)) {
35
36
  return;
36
37
  }
@@ -64,4 +65,5 @@ function routeToBinary() {
64
65
  return;
65
66
  }
66
67
  // Entry point
68
+ console.log('Entry point');
67
69
  routeToBinary();
@@ -1 +1 @@
1
- export declare const PACKAGE_VERSION = "2.5.29-bin.2";
1
+ export declare const PACKAGE_VERSION = "2.5.29-bin.3";
@@ -1,2 +1,2 @@
1
1
  // This file is auto-generated. Do not edit manually.
2
- export const PACKAGE_VERSION = '2.5.29-bin.2';
2
+ export const PACKAGE_VERSION = '2.5.29-bin.3';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gtx-cli",
3
- "version": "2.5.29-bin.2",
3
+ "version": "2.5.29-bin.3",
4
4
  "main": "dist/index.js",
5
5
  "bin": "dist/bin/bin-main.js",
6
6
  "files": [
@@ -151,6 +151,7 @@
151
151
  "release:alpha": "pnpm run build:clean && pnpm publish --tag alpha",
152
152
  "release:beta": "pnpm run build:clean && pnpm publish --tag beta",
153
153
  "release:latest": "pnpm run build:clean && pnpm publish --tag latest",
154
+ "pack:bin": "pnpm run prep-bin-release && pnpm run build:bin:clean && pnpm pack && pnpm run restore-bin-release && pnpm run build:clean",
154
155
  "prep-bin-release": "node scripts/prepare-binary-release.js",
155
156
  "restore-bin-release": "node scripts/restore-package-json.js"
156
157
  }