@haakco/hostingctl 1.0.756 → 1.0.762
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/dist/main.js +25 -6
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
- package/platform/darwin-arm64/hostingctl +0 -0
- package/platform/darwin-x64/hostingctl +0 -0
- package/platform/linux-arm64/hostingctl +0 -0
- package/platform/linux-x64/hostingctl +0 -0
- package/platform/windows-x64/hostingctl.exe +0 -0
package/dist/main.js
CHANGED
|
@@ -62519,7 +62519,8 @@ var complianceScanKindEnumSchema = _enum([
|
|
|
62519
62519
|
"tls_certificate",
|
|
62520
62520
|
"http_security_headers",
|
|
62521
62521
|
"email_domain",
|
|
62522
|
-
"image_vulnerabilities"
|
|
62522
|
+
"image_vulnerabilities",
|
|
62523
|
+
"exposed_ports"
|
|
62523
62524
|
]);
|
|
62524
62525
|
var complianceScanOutcomeEnumSchema = _enum([
|
|
62525
62526
|
"passed",
|
|
@@ -64112,7 +64113,8 @@ var hostingApplicationAddressDataSchema = object({
|
|
|
64112
64113
|
routePending: boolean(),
|
|
64113
64114
|
additionalAddresses: array(hostingApplicationAdditionalAddressDataSchema),
|
|
64114
64115
|
publishedUrl: string().nullable(),
|
|
64115
|
-
temporaryLoginSupported: boolean()
|
|
64116
|
+
temporaryLoginSupported: boolean(),
|
|
64117
|
+
resolves: boolean()
|
|
64116
64118
|
});
|
|
64117
64119
|
var hostingCuratedComponentOutputDataSchema = object({
|
|
64118
64120
|
name: string(),
|
|
@@ -65049,7 +65051,8 @@ var hostingConfigurationApplicationPreviewDataSchema = object({
|
|
|
65049
65051
|
createsApplication: boolean(),
|
|
65050
65052
|
adoptsApplication: boolean(),
|
|
65051
65053
|
addsDatabase: boolean(),
|
|
65052
|
-
resources: union([hostingResourceDataSchema, _null()])
|
|
65054
|
+
resources: union([hostingResourceDataSchema, _null()]),
|
|
65055
|
+
unappliedDeclaredResources: union([hostingResourceDataSchema, _null()])
|
|
65053
65056
|
});
|
|
65054
65057
|
var hostingConfigurationBucketDataSchema = object({
|
|
65055
65058
|
key: string(),
|
|
@@ -66239,6 +66242,16 @@ var hostingRepositoryConnectionDataSchema = object({
|
|
|
66239
66242
|
repositories: array(hostingRepositorySelectionDataSchema),
|
|
66240
66243
|
lastDelivery: union([hostingRepositoryDeliveryDataSchema, _null()])
|
|
66241
66244
|
});
|
|
66245
|
+
object({
|
|
66246
|
+
commitSha: string().describe("The commit the folder was read at."),
|
|
66247
|
+
configPath: string().nullable().describe("The configuration document found in the folder, which the client can import instead."),
|
|
66248
|
+
kind: string().nullable().describe("`static`, `frontend`, `node`, `python` or `php`; null when no standard kind matched."),
|
|
66249
|
+
reason: string().describe("The files that decided the kind, in the client's words."),
|
|
66250
|
+
documentRoot: string().nullable(),
|
|
66251
|
+
buildCommand: string().nullable(),
|
|
66252
|
+
command: string().nullable(),
|
|
66253
|
+
port: int().nullable()
|
|
66254
|
+
});
|
|
66242
66255
|
var hostingRetentionCapabilitiesDataSchema = object({
|
|
66243
66256
|
view: boolean(),
|
|
66244
66257
|
request: boolean()
|
|
@@ -70894,6 +70907,12 @@ union([
|
|
|
70894
70907
|
hostingRepositoryConnectionSelectStatus422Schema
|
|
70895
70908
|
]);
|
|
70896
70909
|
selectGitHubRepositoryRequestSchema.describe("One repository selected from a bound installation, by GitHub's numeric id.\n\nThe name is deliberately not accepted: a rename would otherwise silently stop matching,\nand the id is what the provider's own repository list is keyed on.");
|
|
70910
|
+
string().max(256).regex(/^(?:\.|(?!\.{1,2}(?:\/|$))[A-Za-z0-9_.-]+(?:\/(?!\.{1,2}(?:\/|$))[A-Za-z0-9_.-]+)*)$/).nullish();
|
|
70911
|
+
union([
|
|
70912
|
+
object({ message: string().describe("Error overview.") }),
|
|
70913
|
+
object({ message: string().describe("Error overview.") }),
|
|
70914
|
+
messageDataSchema
|
|
70915
|
+
]);
|
|
70897
70916
|
var hostingRepositoryConnectionStartStatus200Schema = gitHubConnectionStartDataSchema;
|
|
70898
70917
|
var hostingRepositoryConnectionStartStatus201Schema = gitHubConnectionStartDataSchema;
|
|
70899
70918
|
var hostingRepositoryConnectionStartStatus401Schema = object({ message: string().describe("Error overview.") });
|
|
@@ -81262,7 +81281,7 @@ function writeUpdateState(state, env = process.env) {
|
|
|
81262
81281
|
}
|
|
81263
81282
|
//#endregion
|
|
81264
81283
|
//#region src/version.ts
|
|
81265
|
-
var VERSION = "1.0.
|
|
81284
|
+
var VERSION = "1.0.762";
|
|
81266
81285
|
//#endregion
|
|
81267
81286
|
//#region src/commands/update.ts
|
|
81268
81287
|
/**
|
|
@@ -81337,7 +81356,7 @@ var update = {
|
|
|
81337
81356
|
}, process.env);
|
|
81338
81357
|
return {
|
|
81339
81358
|
...known,
|
|
81340
|
-
current: after ?? "1.0.
|
|
81359
|
+
current: after ?? "1.0.762",
|
|
81341
81360
|
latest: after ?? latest,
|
|
81342
81361
|
upToDate: after !== null && (latest === null || !isNewerVersion(latest, after)),
|
|
81343
81362
|
action: "run",
|
|
@@ -81621,7 +81640,7 @@ async function printUpdateNotice(options) {
|
|
|
81621
81640
|
}, env, { waitMs: NOTICE_LOCK_WAIT_MS });
|
|
81622
81641
|
} catch {}
|
|
81623
81642
|
if (latest === null) return;
|
|
81624
|
-
if (!isNewerVersion(latest, "1.0.
|
|
81643
|
+
if (!isNewerVersion(latest, "1.0.762")) return;
|
|
81625
81644
|
process.stderr.write(`A newer hostingctl is published: ${latest} (this copy is ${VERSION}). Run \`hostingctl update\` to update.\n`);
|
|
81626
81645
|
}
|
|
81627
81646
|
/** Whether an environment variable is set to something, which is how CI and the opt-out are read. */
|