@zitadel/server 1.0.0-alpha.24 → 1.0.0-alpha.25
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/zitadel-server.js +9 -4
- package/package.json +6 -6
package/bin/zitadel-server.js
CHANGED
|
@@ -23,7 +23,9 @@ export function platformPackageName(platform = process.platform, arch = process.
|
|
|
23
23
|
const supported = supportedPlatforms
|
|
24
24
|
.map((candidate) => `${candidate.platform}/${candidate.arch}`)
|
|
25
25
|
.join(", ");
|
|
26
|
-
throw new Error(
|
|
26
|
+
throw new Error(
|
|
27
|
+
`Unsupported platform for @zitadel/server: ${platform}/${arch}. Supported: ${supported}.`,
|
|
28
|
+
);
|
|
27
29
|
}
|
|
28
30
|
return match.packageName;
|
|
29
31
|
}
|
|
@@ -56,9 +58,12 @@ export function ensureExecutable(binaryPath, platform = process.platform) {
|
|
|
56
58
|
try {
|
|
57
59
|
chmodSync(binaryPath, 0o755);
|
|
58
60
|
} catch (error) {
|
|
59
|
-
throw new Error(
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
throw new Error(
|
|
62
|
+
`Zitadel server binary at ${binaryPath} is not executable and could not be fixed.`,
|
|
63
|
+
{
|
|
64
|
+
cause: error,
|
|
65
|
+
},
|
|
66
|
+
);
|
|
62
67
|
}
|
|
63
68
|
}
|
|
64
69
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zitadel/server",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.25",
|
|
4
4
|
"description": "Zitadel server binary launcher.",
|
|
5
5
|
"homepage": "https://github.com/zitadel/nextgen#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
25
|
"optionalDependencies": {
|
|
26
|
-
"@zitadel/server-darwin-arm64": "1.0.0-alpha.
|
|
27
|
-
"@zitadel/server-
|
|
28
|
-
"@zitadel/server-
|
|
29
|
-
"@zitadel/server-win32-x64": "1.0.0-alpha.
|
|
30
|
-
"@zitadel/server-linux-x64": "1.0.0-alpha.
|
|
26
|
+
"@zitadel/server-darwin-arm64": "1.0.0-alpha.25",
|
|
27
|
+
"@zitadel/server-linux-arm64": "1.0.0-alpha.25",
|
|
28
|
+
"@zitadel/server-darwin-x64": "1.0.0-alpha.25",
|
|
29
|
+
"@zitadel/server-win32-x64": "1.0.0-alpha.25",
|
|
30
|
+
"@zitadel/server-linux-x64": "1.0.0-alpha.25"
|
|
31
31
|
}
|
|
32
32
|
}
|