@ohos-ports/sst-linux-x86 4.17.1-beta.0 → 4.17.1-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.
Files changed (2) hide show
  1. package/index.js +18 -0
  2. package/package.json +6 -4
package/index.js ADDED
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+
3
+ // @ohos-ports/sst-linux-x86 — OpenHarmony arm64 migration
4
+ // Ships a real compiled binary at bin/sst. This entry exposes
5
+ // the binary path for programmatic use (require + spawn), matching
6
+ // the entry pattern of successfully migrated @ohos-ports packages.
7
+
8
+ var path = require('path');
9
+
10
+ module.exports = {
11
+ name: '@ohos-ports/sst-linux-x86',
12
+ version: '4.17.1-beta.0',
13
+ platform: process.platform,
14
+ arch: process.arch,
15
+ isSupported: process.platform === 'openharmony' && process.arch === 'arm64',
16
+ binPath: path.join(__dirname, 'bin/sst'),
17
+ bin: path.join(__dirname, 'bin/sst'),
18
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohos-ports/sst-linux-x86",
3
- "version": "4.17.1-beta.0",
3
+ "version": "4.17.1-beta.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,6 +17,8 @@
17
17
  ],
18
18
  "files": [
19
19
  "bin",
20
- "bin/sst"
21
- ]
22
- }
20
+ "bin/sst",
21
+ "index.js"
22
+ ],
23
+ "main": "index.js"
24
+ }