@enactprotocol/enact-darwin-x64 2.0.5

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/bin/enact.js +7 -0
  2. package/index.js +9 -0
  3. package/package.json +15 -0
package/bin/enact.js ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+
3
+ // Development shim.
4
+ // In release builds, replace this file with the real compiled binary.
5
+ const path = require("node:path");
6
+
7
+ require(path.join(__dirname, "..", "..", "cli", "dist", "index.js"));
package/index.js ADDED
@@ -0,0 +1,9 @@
1
+ const fs = require("node:fs");
2
+ const path = require("node:path");
3
+
4
+ const bin = path.join(__dirname, "bin", "enact");
5
+ const devShim = path.join(__dirname, "bin", "enact.js");
6
+
7
+ module.exports = {
8
+ binPath: fs.existsSync(bin) ? bin : devShim,
9
+ };
package/package.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "@enactprotocol/enact-darwin-x64",
3
+ "version": "2.0.5",
4
+ "description": "Enact prebuilt binary for darwin-x64",
5
+ "license": "Apache-2.0",
6
+ "os": ["darwin"],
7
+ "cpu": ["x64"],
8
+ "main": "./index.js",
9
+ "files": ["bin", "index.js"],
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/EnactProtocol/enact.git",
13
+ "directory": "packages/enact-darwin-x64"
14
+ }
15
+ }