@ohos-ports/rspack-binding 1.7.11-beta.0 → 1.7.11-beta.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/README.md +14 -14
- package/package.json +37 -75
- package/rspack.linux-arm64-ohos.node +0 -0
package/README.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
<img alt="Rspack Banner" src="https://assets.rspack.rs/rspack/rspack-banner.png">
|
|
3
|
-
</picture>
|
|
1
|
+
# @ohos-ports/rspack-binding
|
|
4
2
|
|
|
5
|
-
|
|
3
|
+
OpenHarmony ARM64 native build for [@rspack/binding](https://www.npmjs.com/package/@rspack/binding).
|
|
6
4
|
|
|
7
|
-
|
|
5
|
+
This package contains a pre-compiled `rspack.linux-arm64-ohos.node` native binary for HarmonyOS (OpenHarmony) ARM64 platform.
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
## Installation
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
```bash
|
|
10
|
+
npm install @ohos-ports/rspack-binding
|
|
11
|
+
```
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
This is a platform-specific package and is intended to be used as an optional dependency by packages that depend on `@rspack/binding`.
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## Build Information
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
- **Source**: [rspack v1.7.11](https://github.com/web-infra-dev/rspack)
|
|
18
|
+
- **Target**: `aarch64-unknown-linux-ohos`
|
|
19
|
+
- **Toolchain**: OHOS Rust 1.95.0 (stable) + clang 15.0.4 + LLD 15.0.4
|
|
20
|
+
- **Binary size**: ~47MB (stripped ELF64 AArch64)
|
|
21
|
+
- **Exports**: 67 (49 functions + 18 constants/enums)
|
package/package.json
CHANGED
|
@@ -1,77 +1,39 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"aarch64-apple-darwin",
|
|
40
|
-
"aarch64-unknown-linux-musl",
|
|
41
|
-
"aarch64-pc-windows-msvc"
|
|
42
|
-
],
|
|
43
|
-
"wasm": {
|
|
44
|
-
"initialMemory": 16384,
|
|
45
|
-
"browser": {
|
|
46
|
-
"fs": true,
|
|
47
|
-
"asyncInit": true,
|
|
48
|
-
"buffer": true
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"optionalDependencies": {
|
|
53
|
-
"@rspack/binding-darwin-arm64": "1.7.11",
|
|
54
|
-
"@rspack/binding-win32-arm64-msvc": "1.7.11",
|
|
55
|
-
"@rspack/binding-linux-arm64-musl": "1.7.11",
|
|
56
|
-
"@rspack/binding-linux-arm64-gnu": "1.7.11",
|
|
57
|
-
"@rspack/binding-win32-ia32-msvc": "1.7.11",
|
|
58
|
-
"@rspack/binding-darwin-x64": "1.7.11",
|
|
59
|
-
"@rspack/binding-win32-x64-msvc": "1.7.11",
|
|
60
|
-
"@rspack/binding-wasm32-wasi": "1.7.11",
|
|
61
|
-
"@rspack/binding-linux-x64-gnu": "1.7.11",
|
|
62
|
-
"@rspack/binding-linux-x64-musl": "1.7.11"
|
|
63
|
-
},
|
|
64
|
-
"scripts": {
|
|
65
|
-
"build:dev": "node scripts/build.js",
|
|
66
|
-
"build:debug": "node scripts/build.js --profile release-debug",
|
|
67
|
-
"build:ci": "node scripts/build.js --profile ci",
|
|
68
|
-
"build:profiling": "node scripts/build.js --profile profiling",
|
|
69
|
-
"build:release": "node scripts/build.js --profile release",
|
|
70
|
-
"build:dev:wasm": "DISABLE_PLUGIN=1 RUST_TARGET=wasm32-wasip1-threads node scripts/build.js",
|
|
71
|
-
"build:release:wasm": "DISABLE_PLUGIN=1 RUST_TARGET=wasm32-wasip1-threads node scripts/build.js --profile release-wasi",
|
|
72
|
-
"build:dev:browser": "DISABLE_PLUGIN=1 RUST_TARGET=wasm32-wasip1-threads RSPACK_TARGET_BROWSER=1 node scripts/build.js",
|
|
73
|
-
"build:release:browser": "DISABLE_PLUGIN=1 RUST_TARGET=wasm32-wasip1-threads RSPACK_TARGET_BROWSER=1 node scripts/build.js --profile release-wasi",
|
|
74
|
-
"move-binding": "node scripts/move-binding",
|
|
75
|
-
"test": "tsc -p tsconfig.type-test.json"
|
|
76
|
-
}
|
|
2
|
+
"name": "@ohos-ports/rspack-binding",
|
|
3
|
+
"version": "1.7.11-beta.1",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"description": "Node binding for rspack — OpenHarmony ARM64 native build",
|
|
6
|
+
"main": "binding.js",
|
|
7
|
+
"types": "binding.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"binding.js",
|
|
10
|
+
"binding.d.ts",
|
|
11
|
+
"napi-binding.d.ts",
|
|
12
|
+
"webcontainer-fallback.cjs",
|
|
13
|
+
"rspack.linux-arm64-ohos.node",
|
|
14
|
+
"LICENSE",
|
|
15
|
+
"README.md"
|
|
16
|
+
],
|
|
17
|
+
"os": [
|
|
18
|
+
"openharmony"
|
|
19
|
+
],
|
|
20
|
+
"cpu": [
|
|
21
|
+
"arm64"
|
|
22
|
+
],
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"homepage": "https://rspack.rs",
|
|
27
|
+
"bugs": "https://github.com/web-infra-dev/rspack/issues",
|
|
28
|
+
"repository": {
|
|
29
|
+
"type": "git",
|
|
30
|
+
"url": "https://github.com/web-infra-dev/rspack"
|
|
31
|
+
},
|
|
32
|
+
"napi": {
|
|
33
|
+
"binaryName": "rspack",
|
|
34
|
+
"packageName": "@ohos-ports/rspack-binding",
|
|
35
|
+
"targets": [
|
|
36
|
+
"aarch64-unknown-linux-ohos"
|
|
37
|
+
]
|
|
38
|
+
}
|
|
77
39
|
}
|
|
Binary file
|