@linxiraos/pi-natives 1.0.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/README.md +80 -0
- package/native/clipboard.d.ts +9 -0
- package/native/clipboard.js +11 -0
- package/native/desktop.d.ts +4 -0
- package/native/desktop.js +10 -0
- package/native/embedded-addon.js +31 -0
- package/native/index.d.ts +2013 -0
- package/native/index.js +142 -0
- package/native/loader-state.d.ts +129 -0
- package/native/loader-state.js +869 -0
- package/package.json +89 -0
package/package.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@linxiraos/pi-natives",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Native Rust bindings for audio, WebRTC, grep, clipboard, image processing, syntax highlighting, PTY, and shell operations via N-API",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"homepage": "https://linxira-os.github.io",
|
|
7
|
+
"author": "Can Boluk",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/Linxira-OS/linxira-zeta.git",
|
|
12
|
+
"directory": "packages/natives"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/can1357/oh-my-pi/issues"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"napi",
|
|
19
|
+
"rust",
|
|
20
|
+
"native",
|
|
21
|
+
"grep",
|
|
22
|
+
"text-processing",
|
|
23
|
+
"clipboard",
|
|
24
|
+
"image",
|
|
25
|
+
"pty",
|
|
26
|
+
"shell",
|
|
27
|
+
"syntax-highlighting"
|
|
28
|
+
],
|
|
29
|
+
"main": "./native/index.js",
|
|
30
|
+
"types": "./native/index.d.ts",
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "bun ../../scripts/bazel-natives.ts host --dest native",
|
|
33
|
+
"build:bindings": "bun scripts/build-bindings.ts",
|
|
34
|
+
"check": "biome check . && bun run check:types",
|
|
35
|
+
"check:types": "tsgo -p tsconfig.json --noEmit",
|
|
36
|
+
"lint": "biome lint .",
|
|
37
|
+
"test": "bun test --parallel",
|
|
38
|
+
"fix": "biome check --write --unsafe .",
|
|
39
|
+
"fmt": "biome format --write .",
|
|
40
|
+
"gen:native": "bun scripts/embed-native.ts",
|
|
41
|
+
"gen:native:reset": "bun scripts/embed-native.ts --reset",
|
|
42
|
+
"gen:npm": "bun scripts/gen-npm-packages.ts",
|
|
43
|
+
"bench": "bun bench/grep.ts"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@napi-rs/cli": "3.7.2",
|
|
47
|
+
"@types/bun": "^1.3.14"
|
|
48
|
+
},
|
|
49
|
+
"engines": {
|
|
50
|
+
"bun": ">=1.3.14"
|
|
51
|
+
},
|
|
52
|
+
"napi": {
|
|
53
|
+
"binaryName": "pi_natives",
|
|
54
|
+
"triples": {}
|
|
55
|
+
},
|
|
56
|
+
"files": [
|
|
57
|
+
"native/index.js",
|
|
58
|
+
"native/index.d.ts",
|
|
59
|
+
"native/clipboard.js",
|
|
60
|
+
"native/clipboard.d.ts",
|
|
61
|
+
"native/desktop.js",
|
|
62
|
+
"native/desktop.d.ts",
|
|
63
|
+
"native/loader-state.js",
|
|
64
|
+
"native/loader-state.d.ts",
|
|
65
|
+
"native/embedded-addon.js",
|
|
66
|
+
"README.md"
|
|
67
|
+
],
|
|
68
|
+
"exports": {
|
|
69
|
+
".": {
|
|
70
|
+
"types": "./native/index.d.ts",
|
|
71
|
+
"import": "./native/index.js"
|
|
72
|
+
},
|
|
73
|
+
"./desktop": {
|
|
74
|
+
"types": "./native/desktop.d.ts",
|
|
75
|
+
"import": "./native/desktop.js"
|
|
76
|
+
},
|
|
77
|
+
"./clipboard": {
|
|
78
|
+
"types": "./native/clipboard.d.ts",
|
|
79
|
+
"import": "./native/clipboard.js"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"optionalDependencies": {
|
|
83
|
+
"@linxiraos/pi-natives-linux-x64": "1.0.0",
|
|
84
|
+
"@linxiraos/pi-natives-linux-arm64": "1.0.0",
|
|
85
|
+
"@linxiraos/pi-natives-darwin-x64": "1.0.0",
|
|
86
|
+
"@linxiraos/pi-natives-darwin-arm64": "1.0.0",
|
|
87
|
+
"@linxiraos/pi-natives-win32-x64": "1.0.0"
|
|
88
|
+
}
|
|
89
|
+
}
|