@ohos-ports/esbuild-openharmony-arm64 0.28.1-beta.1 → 0.28.1-beta.2

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.
Files changed (3) hide show
  1. package/README.md +26 -0
  2. package/bin/esbuild +0 -0
  3. package/package.json +9 -6
package/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # @ohos-ports/esbuild-openharmony-arm64
2
+
3
+ This is the HarmonyOS arm64 binary package for [esbuild](https://github.com/evanw/esbuild), a fast JavaScript bundler and minifier.
4
+
5
+ ## Overview
6
+
7
+ This package provides the native esbuild binary compiled for HarmonyOS (OpenHarmony) on arm64 architecture. It is part of the `@ohos-ports` initiative to bring Node.js ecosystem packages to HarmonyOS.
8
+
9
+ - **Platform**: openharmony / arm64
10
+ - **Binary format**: ELF 64-bit LSB arm64, static, stripped
11
+ - **Version**: 0.28.1 (matches upstream esbuild v0.28.1)
12
+ - **Source**: Compiled from Go source at https://github.com/evanw/esbuild tag v0.28.1
13
+
14
+ ## Build
15
+
16
+ The binary is compiled from esbuild's Go source code using:
17
+
18
+ ```bash
19
+ GOOS=linux GOARCH=arm64 CGO_ENABLED=0 make esbuild GO_FLAGS="-ldflags '-s -w'"
20
+ ```
21
+
22
+ The resulting binary is signed for HarmonyOS.
23
+
24
+ ## License
25
+
26
+ MIT - see the [esbuild LICENSE](https://github.com/evanw/esbuild/blob/main/LICENSE.md) for details.
package/bin/esbuild CHANGED
Binary file
package/package.json CHANGED
@@ -1,18 +1,21 @@
1
1
  {
2
2
  "name": "@ohos-ports/esbuild-openharmony-arm64",
3
- "version": "0.28.1-beta.1",
4
- "description": "The OpenHarmony arm64 native binary for esbuild, statically compiled from evanw/esbuild v0.28.1 Go source on HarmonyOS (replaces the WASM-based beta.0).",
3
+ "version": "0.28.1-beta.2",
4
+ "description": "The HarmonyOS arm64 binary for esbuild, a JavaScript bundler.",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "https://github.com/ohos-ports/ohos-ports.git",
8
- "directory": "ports/esbuild-openharmony-arm64/0.28.1"
7
+ "url": "git+https://github.com/ohos-ports/ohos-ports.git",
8
+ "directory": "ports/@ohos-ports/esbuild-openharmony-arm64/0.28.1"
9
9
  },
10
10
  "license": "MIT",
11
11
  "preferUnplugged": true,
12
12
  "engines": {
13
13
  "node": ">=18"
14
14
  },
15
- "files": [
16
- "bin/**"
15
+ "os": [
16
+ "openharmony"
17
+ ],
18
+ "cpu": [
19
+ "arm64"
17
20
  ]
18
21
  }