endform 0.73.0 → 0.74.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.
- package/bin/endform +3 -2
- package/package.json +5 -5
package/bin/endform
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* A simplified launcher for the Endform CLI.
|
|
4
4
|
*
|
|
5
5
|
* This script selects and executes the appropriate platform-specific binary.
|
|
6
|
-
* It supports
|
|
6
|
+
* It supports macOS and Linux on x86 (x64) or arm64.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
const child_process = require("node:child_process");
|
|
@@ -38,7 +38,7 @@ const archSuffix = arch === "x64" ? "x86" : "arm64";
|
|
|
38
38
|
// For example: "endform-darwin-x86" or "endform-linux-arm64"
|
|
39
39
|
const packageName = `endform-${platform}-${archSuffix}`;
|
|
40
40
|
|
|
41
|
-
// The binary is expected to reside
|
|
41
|
+
// The binary is expected to reside in the package's "bin" directory.
|
|
42
42
|
const binaryRelativePath = "bin/endform";
|
|
43
43
|
|
|
44
44
|
// Get version from package.json
|
|
@@ -113,6 +113,7 @@ const downloadBinary = async ({ force } = {}) => {
|
|
|
113
113
|
try {
|
|
114
114
|
fs.renameSync(tmpPath, binaryPath);
|
|
115
115
|
fs.chmodSync(binaryPath, 0o755);
|
|
116
|
+
|
|
116
117
|
return binaryPath;
|
|
117
118
|
} catch (err) {
|
|
118
119
|
fs.unlink(tmpPath, () => {});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "endform",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.74.1",
|
|
4
4
|
"description": "Endform CLI",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": "https://github.com/endformdev/npm",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"optionalDependencies": {
|
|
24
|
-
"endform-darwin-arm64": "0.
|
|
25
|
-
"endform-darwin-x86": "0.
|
|
26
|
-
"endform-linux-arm64": "0.
|
|
27
|
-
"endform-linux-x86": "0.
|
|
24
|
+
"endform-darwin-arm64": "0.74.1",
|
|
25
|
+
"endform-darwin-x86": "0.74.1",
|
|
26
|
+
"endform-linux-arm64": "0.74.1",
|
|
27
|
+
"endform-linux-x86": "0.74.1"
|
|
28
28
|
}
|
|
29
29
|
}
|