gtx-cli 2.5.29-bin.2 → 2.5.29-bin.5
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/binaries/gtx-cli-darwin-arm64 +0 -0
- package/binaries/gtx-cli-darwin-x64 +0 -0
- package/binaries/gtx-cli-linux-arm64 +0 -0
- package/binaries/gtx-cli-linux-x64 +0 -0
- package/binaries/gtx-cli-win32-x64.exe +0 -0
- package/dist/bin/bin-main.js +2 -5
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/package.json +2 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/bin/bin-main.js
CHANGED
|
@@ -30,7 +30,7 @@ function routeToBinary() {
|
|
|
30
30
|
if (!binaryName) {
|
|
31
31
|
return;
|
|
32
32
|
}
|
|
33
|
-
const binaryPath = join(__dirname, '..', 'binaries', binaryName);
|
|
33
|
+
const binaryPath = join(__dirname, '..', '..', 'binaries', binaryName);
|
|
34
34
|
if (!existsSync(binaryPath)) {
|
|
35
35
|
return;
|
|
36
36
|
}
|
|
@@ -49,16 +49,13 @@ function routeToBinary() {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
// Spawn the appropriate binary with all arguments
|
|
52
|
-
console.log('Spawning binary:', binaryPath, process.argv.slice(2));
|
|
53
52
|
const child = spawn(binaryPath, process.argv.slice(2), {
|
|
54
53
|
stdio: 'inherit',
|
|
55
54
|
});
|
|
56
55
|
child.on('close', (code) => {
|
|
57
|
-
console.log('Binary closed with code:', code);
|
|
58
56
|
process.exit(code);
|
|
59
57
|
});
|
|
60
|
-
child.on('error', (
|
|
61
|
-
console.error('Error spawning binary:', error);
|
|
58
|
+
child.on('error', () => {
|
|
62
59
|
process.exit(1);
|
|
63
60
|
});
|
|
64
61
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "2.5.29-bin.
|
|
1
|
+
export declare const PACKAGE_VERSION = "2.5.29-bin.5";
|
|
@@ -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
|
+
export const PACKAGE_VERSION = '2.5.29-bin.5';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gtx-cli",
|
|
3
|
-
"version": "2.5.29-bin.
|
|
3
|
+
"version": "2.5.29-bin.5",
|
|
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
|
}
|