xynginc 1.0.77 → 1.0.80
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/README.md +1 -1
- package/bin/xynginc +0 -0
- package/package.json +4 -4
- package/scripts/postinstall.js +11 -11
package/README.md
CHANGED
package/bin/xynginc
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xynginc",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.80",
|
|
4
4
|
"description": "XyPriss Nginx Controller - Automatic Nginx & SSL management for XyPriss servers",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"xynginc": "./bin/xynginc"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
|
-
"build": "tsc && xfpm run build:
|
|
11
|
+
"build": "tsc && xfpm run build:multi",
|
|
12
12
|
"build:go": "cd core-go && go build -o xynginc && cp xynginc ../bin/",
|
|
13
13
|
"build:all": "xfpm run build:go && xfpm run build",
|
|
14
14
|
"build:multi": "bash scripts/build.sh",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"plugin"
|
|
28
28
|
],
|
|
29
29
|
"author": "Seth Eleazar - iDevo",
|
|
30
|
-
"license": "
|
|
30
|
+
"license": "NOSL",
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^20.19.37",
|
|
33
33
|
"typescript": "^5.9.3"
|
|
@@ -55,4 +55,4 @@
|
|
|
55
55
|
"xypriss": "^9.3.71",
|
|
56
56
|
"xypriss-security": "^2.1.10"
|
|
57
57
|
}
|
|
58
|
-
}
|
|
58
|
+
}
|
package/scripts/postinstall.js
CHANGED
|
@@ -75,17 +75,17 @@ async function run() {
|
|
|
75
75
|
// Make script executable
|
|
76
76
|
fs.chmodSync(binaryPath, 0o755);
|
|
77
77
|
|
|
78
|
-
// Verify binary
|
|
79
|
-
try {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} catch (vErr) {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
78
|
+
// // Verify binary
|
|
79
|
+
// try {
|
|
80
|
+
// const versionOutput = execSync(`${binaryPath} --version`)
|
|
81
|
+
// .toString()
|
|
82
|
+
// .trim();
|
|
83
|
+
// console.log(`✅ [XyNginC] Binary verified: ${versionOutput}`);
|
|
84
|
+
// } catch (vErr) {
|
|
85
|
+
// throw new Error(
|
|
86
|
+
// `Downloaded file is not a valid executable: ${vErr.message}`,
|
|
87
|
+
// );
|
|
88
|
+
// }
|
|
89
89
|
|
|
90
90
|
console.log(
|
|
91
91
|
"✅ [XyNginC] Latest release downloaded and installed successfully in local bin/ folder!",
|