@forkline/cli 0.37.2-rc.3 → 0.38.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/forkline.js +7 -1
- package/package.json +10 -10
package/bin/forkline.js
CHANGED
|
@@ -33,11 +33,17 @@ function detectLinuxLibc() {
|
|
|
33
33
|
if (output.toLowerCase().includes('musl')) {
|
|
34
34
|
return 'musl';
|
|
35
35
|
}
|
|
36
|
+
if (output.toLowerCase().includes('gnu') || output.toLowerCase().includes('glibc')) {
|
|
37
|
+
return 'glibc';
|
|
38
|
+
}
|
|
36
39
|
} catch (e) {
|
|
37
40
|
// ldd not available or failed
|
|
38
41
|
}
|
|
39
42
|
|
|
40
|
-
|
|
43
|
+
throw new Error(
|
|
44
|
+
'Could not detect libc (neither glibc nor musl). ' +
|
|
45
|
+
'Set FORKLINE_BINARY to point to the correct binary for your system.'
|
|
46
|
+
);
|
|
41
47
|
}
|
|
42
48
|
|
|
43
49
|
function resolvePlatform() {
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forkline/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.0",
|
|
4
4
|
"description": "Forkline CLI - OpenCode runner management",
|
|
5
5
|
"bin": {
|
|
6
6
|
"forkline": "./bin/forkline.js"
|
|
7
7
|
},
|
|
8
8
|
"optionalDependencies": {
|
|
9
|
-
"@forkline/cli-darwin-arm64": "0.
|
|
10
|
-
"@forkline/cli-darwin-x64": "0.
|
|
11
|
-
"@forkline/cli-linux-arm64-gnu": "0.
|
|
12
|
-
"@forkline/cli-linux-arm64-musl": "0.
|
|
13
|
-
"@forkline/cli-linux-x64-gnu": "0.
|
|
14
|
-
"@forkline/cli-linux-x64-musl": "0.
|
|
15
|
-
"@forkline/cli-win32-arm64": "0.
|
|
16
|
-
"@forkline/cli-win32-x64": "0.
|
|
9
|
+
"@forkline/cli-darwin-arm64": "0.38.0",
|
|
10
|
+
"@forkline/cli-darwin-x64": "0.38.0",
|
|
11
|
+
"@forkline/cli-linux-arm64-gnu": "0.38.0",
|
|
12
|
+
"@forkline/cli-linux-arm64-musl": "0.38.0",
|
|
13
|
+
"@forkline/cli-linux-x64-gnu": "0.38.0",
|
|
14
|
+
"@forkline/cli-linux-x64-musl": "0.38.0",
|
|
15
|
+
"@forkline/cli-win32-arm64": "0.38.0",
|
|
16
|
+
"@forkline/cli-win32-x64": "0.38.0"
|
|
17
17
|
},
|
|
18
18
|
"engines": {
|
|
19
19
|
"node": ">=18"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"repository": {
|
|
32
32
|
"type": "git",
|
|
33
|
-
"url": "https://github.com/forkline/cli"
|
|
33
|
+
"url": "git+https://github.com/forkline/cli.git"
|
|
34
34
|
},
|
|
35
35
|
"homepage": "https://github.com/forkline/cli#readme",
|
|
36
36
|
"bugs": {
|