@jarkkojs/goosedump 0.9.11 → 0.9.13
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/goosedump.js +6 -6
- package/package.json +4 -4
package/bin/goosedump.js
CHANGED
|
@@ -7,24 +7,24 @@ const fs = require('node:fs');
|
|
|
7
7
|
const path = require('node:path');
|
|
8
8
|
|
|
9
9
|
function resolveBinary() {
|
|
10
|
-
const
|
|
10
|
+
const target = `${process.platform}-${process.arch}`;
|
|
11
11
|
|
|
12
12
|
let packageName;
|
|
13
13
|
let binaryName = 'goosedump';
|
|
14
14
|
|
|
15
|
-
switch (
|
|
16
|
-
case 'linux':
|
|
15
|
+
switch (target) {
|
|
16
|
+
case 'linux-x64':
|
|
17
17
|
packageName = '@jarkkojs/goosedump-linux-x64';
|
|
18
18
|
break;
|
|
19
|
-
case 'darwin':
|
|
19
|
+
case 'darwin-arm64':
|
|
20
20
|
packageName = '@jarkkojs/goosedump-darwin-arm64';
|
|
21
21
|
break;
|
|
22
|
-
case 'win32':
|
|
22
|
+
case 'win32-x64':
|
|
23
23
|
packageName = '@jarkkojs/goosedump-win32-x64';
|
|
24
24
|
binaryName = 'goosedump.exe';
|
|
25
25
|
break;
|
|
26
26
|
default:
|
|
27
|
-
throw new Error(`unsupported platform: ${
|
|
27
|
+
throw new Error(`unsupported platform architecture: ${target}`);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
let packageDir;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jarkkojs/goosedump",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.13",
|
|
4
4
|
"description": "Coding agent context data browser",
|
|
5
5
|
"license": "Apache-2.0 AND LGPL-2.1-or-later",
|
|
6
6
|
"homepage": "https://github.com/jarkkojs/goosedump#readme",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"LICENSE-LGPL-2.1"
|
|
22
22
|
],
|
|
23
23
|
"optionalDependencies": {
|
|
24
|
-
"@jarkkojs/goosedump-darwin-arm64": "0.9.
|
|
25
|
-
"@jarkkojs/goosedump-linux-x64": "0.9.
|
|
26
|
-
"@jarkkojs/goosedump-win32-x64": "0.9.
|
|
24
|
+
"@jarkkojs/goosedump-darwin-arm64": "0.9.13",
|
|
25
|
+
"@jarkkojs/goosedump-linux-x64": "0.9.13",
|
|
26
|
+
"@jarkkojs/goosedump-win32-x64": "0.9.13"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|