@ff-labs/fff-bun 0.10.1-nightly.9dee049 → 0.10.1
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 +12 -10
- package/src/platform.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ff-labs/fff-bun",
|
|
3
|
-
"version": "0.10.1
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "High-performance fuzzy file finder for Bun - perfect for LLM agent tools",
|
|
6
6
|
"type": "module",
|
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
"os": [
|
|
28
28
|
"darwin",
|
|
29
29
|
"linux",
|
|
30
|
-
"win32"
|
|
30
|
+
"win32",
|
|
31
|
+
"android"
|
|
31
32
|
],
|
|
32
33
|
"cpu": [
|
|
33
34
|
"x64",
|
|
@@ -58,14 +59,15 @@
|
|
|
58
59
|
},
|
|
59
60
|
"homepage": "https://github.com/dmtrKovalenko/fff#readme",
|
|
60
61
|
"optionalDependencies": {
|
|
61
|
-
"@ff-labs/fff-bin-darwin-arm64": "0.10.1
|
|
62
|
-
"@ff-labs/fff-bin-darwin-x64": "0.10.1
|
|
63
|
-
"@ff-labs/fff-bin-linux-x64-gnu": "0.10.1
|
|
64
|
-
"@ff-labs/fff-bin-linux-arm64-gnu": "0.10.1
|
|
65
|
-
"@ff-labs/fff-bin-linux-x64-musl": "0.10.1
|
|
66
|
-
"@ff-labs/fff-bin-linux-arm64-musl": "0.10.1
|
|
67
|
-
"@ff-labs/fff-bin-win32-x64": "0.10.1
|
|
68
|
-
"@ff-labs/fff-bin-win32-arm64": "0.10.1
|
|
62
|
+
"@ff-labs/fff-bin-darwin-arm64": "0.10.1",
|
|
63
|
+
"@ff-labs/fff-bin-darwin-x64": "0.10.1",
|
|
64
|
+
"@ff-labs/fff-bin-linux-x64-gnu": "0.10.1",
|
|
65
|
+
"@ff-labs/fff-bin-linux-arm64-gnu": "0.10.1",
|
|
66
|
+
"@ff-labs/fff-bin-linux-x64-musl": "0.10.1",
|
|
67
|
+
"@ff-labs/fff-bin-linux-arm64-musl": "0.10.1",
|
|
68
|
+
"@ff-labs/fff-bin-win32-x64": "0.10.1",
|
|
69
|
+
"@ff-labs/fff-bin-win32-arm64": "0.10.1",
|
|
70
|
+
"@ff-labs/fff-bin-android-arm64": "0.10.1"
|
|
69
71
|
},
|
|
70
72
|
"devDependencies": {
|
|
71
73
|
"@types/bun": "^1.3.8",
|
package/src/platform.ts
CHANGED
|
@@ -14,6 +14,8 @@ export function getTriple(): string {
|
|
|
14
14
|
let osName: string;
|
|
15
15
|
if (platform === "darwin") {
|
|
16
16
|
osName = "apple-darwin";
|
|
17
|
+
} else if (platform === "android") {
|
|
18
|
+
osName = "linux-android";
|
|
17
19
|
} else if (platform === "linux") {
|
|
18
20
|
osName = detectLinuxLibc();
|
|
19
21
|
} else if (platform === "win32") {
|
|
@@ -107,6 +109,7 @@ const TRIPLE_TO_NPM_PACKAGE: Record<string, string> = {
|
|
|
107
109
|
"aarch64-unknown-linux-musl": "@ff-labs/fff-bin-linux-arm64-musl",
|
|
108
110
|
"x86_64-pc-windows-msvc": "@ff-labs/fff-bin-win32-x64",
|
|
109
111
|
"aarch64-pc-windows-msvc": "@ff-labs/fff-bin-win32-arm64",
|
|
112
|
+
"aarch64-linux-android": "@ff-labs/fff-bin-android-arm64",
|
|
110
113
|
};
|
|
111
114
|
|
|
112
115
|
/**
|