@ohos-ports/esbuild-openharmony-arm64 0.28.1-beta.1 → 0.28.2-beta.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.
Files changed (3) hide show
  1. package/README.md +16 -0
  2. package/bin/esbuild +0 -0
  3. package/package.json +15 -5
package/README.md ADDED
@@ -0,0 +1,16 @@
1
+ # @ohos-ports/esbuild-openharmony-arm64
2
+
3
+ The OpenHarmony arm64 binary for esbuild, a JavaScript bundler and minifier.
4
+
5
+ This is a port of [@esbuild/linux-x64](https://www.npmjs.com/package/@esbuild/linux-x64) for OpenHarmony arm64 platforms.
6
+
7
+ ## Source
8
+
9
+ Compiled from Go source at https://github.com/evanw/esbuild (tag v0.28.2) with:
10
+ ```
11
+ GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o bin/esbuild ./cmd/esbuild
12
+ ```
13
+
14
+ ## License
15
+
16
+ MIT
package/bin/esbuild CHANGED
Binary file
package/package.json CHANGED
@@ -1,18 +1,28 @@
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.2-beta.0",
4
+ "description": "The OpenHarmony 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/@esbuild+linux-x64/0.28.2"
9
9
  },
10
10
  "license": "MIT",
11
11
  "preferUnplugged": true,
12
12
  "engines": {
13
13
  "node": ">=18"
14
14
  },
15
+ "os": [
16
+ "openharmony"
17
+ ],
18
+ "cpu": [
19
+ "arm64"
20
+ ],
21
+ "bin": {
22
+ "esbuild": "bin/esbuild"
23
+ },
15
24
  "files": [
16
- "bin/**"
25
+ "bin/esbuild",
26
+ "README.md"
17
27
  ]
18
28
  }