@nmtjs/proxy 0.15.0-beta.8 → 1.0.0-alpha.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/package.json +25 -10
- package/Cargo.lock +0 -2681
- package/Cargo.toml +0 -26
- package/LICENSE.md +0 -7
- package/README.md +0 -9
- package/build.rs +0 -3
- package/src/config.rs +0 -199
- package/src/lib.rs +0 -8
- package/src/proxy.rs +0 -147
- package/src/router.rs +0 -406
package/package.json
CHANGED
|
@@ -1,29 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nmtjs/proxy",
|
|
3
|
+
"version": "1.0.0-alpha.0",
|
|
3
4
|
"type": "module",
|
|
4
5
|
"exports": {
|
|
5
6
|
".": "./dist/index.js"
|
|
6
7
|
},
|
|
7
8
|
"napi": {
|
|
8
|
-
"binaryName": "neemata-proxy"
|
|
9
|
+
"binaryName": "neemata-proxy",
|
|
10
|
+
"targets": [
|
|
11
|
+
"x86_64-apple-darwin",
|
|
12
|
+
"aarch64-apple-darwin",
|
|
13
|
+
"x86_64-unknown-linux-gnu",
|
|
14
|
+
"x86_64-unknown-linux-musl",
|
|
15
|
+
"aarch64-unknown-linux-gnu",
|
|
16
|
+
"aarch64-unknown-linux-musl",
|
|
17
|
+
"armv7-unknown-linux-gnueabihf"
|
|
18
|
+
]
|
|
9
19
|
},
|
|
10
20
|
"dependencies": {
|
|
11
21
|
"@napi-rs/cli": "^3.4.1"
|
|
12
22
|
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@biomejs/biome": "^2.3.13",
|
|
25
|
+
"@types/node": "^24.0.0",
|
|
26
|
+
"@types/ws": "^8.18.1",
|
|
27
|
+
"vitest": "^4.0.18",
|
|
28
|
+
"ws": "^8.18.3"
|
|
29
|
+
},
|
|
13
30
|
"files": [
|
|
14
|
-
"
|
|
15
|
-
"build.rs",
|
|
16
|
-
"Cargo.toml",
|
|
17
|
-
"Cargo.lock",
|
|
31
|
+
"dist",
|
|
18
32
|
"LICENSE.md",
|
|
19
33
|
"README.md"
|
|
20
34
|
],
|
|
21
|
-
"version": "0.15.0-beta.8",
|
|
22
35
|
"scripts": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
36
|
+
"fmt": "$npm_execpath biome check --diagnostic-level=error --write . && cargo fmt",
|
|
37
|
+
"lint": "$npm_execpath biome lint --diagnostic-level=error . && cargo clippy",
|
|
38
|
+
"build:artifact": "napi build --release",
|
|
39
|
+
"build:js": "napi build --esm --js index.js --platform --output-dir ./dist",
|
|
26
40
|
"build": "$npm_execpath build:debug --release",
|
|
27
|
-
"build:debug": "napi build --esm --js index.js --platform --output-dir ./dist"
|
|
41
|
+
"build:debug": "napi build --esm --js index.js --platform --output-dir ./dist",
|
|
42
|
+
"test": "cargo test && vitest run"
|
|
28
43
|
}
|
|
29
44
|
}
|