@isograph/compiler 0.0.0-main-275c374f → 0.0.0-main-b54c14e2
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/cli.js +0 -0
- package/index.js +5 -5
- package/package.json +8 -2
package/cli.js
CHANGED
File without changes
|
package/index.js
CHANGED
@@ -4,18 +4,18 @@ const path = require("path");
|
|
4
4
|
|
5
5
|
let binary;
|
6
6
|
if (process.platform === "darwin" && process.arch === "x64") {
|
7
|
-
binary = path.join(__dirname, "macos-x64", "isograph_cli");
|
7
|
+
binary = path.join(__dirname, "artifacts", "macos-x64", "isograph_cli");
|
8
8
|
} else if (process.platform === "darwin" && process.arch === "arm64") {
|
9
|
-
binary = path.join(__dirname, "macos-arm64", "isograph_cli");
|
9
|
+
binary = path.join(__dirname, "artifacts", "macos-arm64", "isograph_cli");
|
10
10
|
} else if (process.platform === "linux" && process.arch === "x64") {
|
11
11
|
throw new Error("Platform not supported yet");
|
12
|
-
// binary = path.join(__dirname, "linux-x64", "isograph_cli");
|
12
|
+
// binary = path.join(__dirname, "artifacts", "linux-x64", "isograph_cli");
|
13
13
|
} else if (process.platform === "linux" && process.arch === "arm64") {
|
14
14
|
throw new Error("Platform not supported yet");
|
15
|
-
// binary = path.join(__dirname, "linux-arm64", "isograph_cli");
|
15
|
+
// binary = path.join(__dirname, "artifacts", "linux-arm64", "isograph_cli");
|
16
16
|
} else if (process.platform === "win32" && process.arch === "x64") {
|
17
17
|
throw new Error("Platform not supported yet");
|
18
|
-
// binary = path.join(__dirname, "win-x64", "isograph_cli.exe");
|
18
|
+
// binary = path.join(__dirname, "artifacts", "win-x64", "isograph_cli.exe");
|
19
19
|
} else {
|
20
20
|
throw new Error("Platform not supported yet");
|
21
21
|
// binary = null;
|
package/package.json
CHANGED
@@ -1,9 +1,15 @@
|
|
1
1
|
{
|
2
2
|
"name": "@isograph/compiler",
|
3
|
-
"version": "0.0.0-main-
|
3
|
+
"version": "0.0.0-main-b54c14e2",
|
4
4
|
"description": "Isograph compiler",
|
5
5
|
"main": "index.js",
|
6
|
+
"bin": "cli.js",
|
6
7
|
"author": "Isograph Labs",
|
7
8
|
"license": "MIT",
|
8
|
-
"scripts": {}
|
9
|
+
"scripts": {},
|
10
|
+
"repository": {
|
11
|
+
"type": "git",
|
12
|
+
"url": "https://github.com/isographlabs/isograph",
|
13
|
+
"directory": "libs/babel-plugin-isograph"
|
14
|
+
}
|
9
15
|
}
|