@haakco/hostingctl 1.0.702 → 1.0.706
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 +89 -24
- 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
|
@@ -51465,6 +51465,7 @@ function stated(flags, flag, usage) {
|
|
|
51465
51465
|
var USAGE$24 = [
|
|
51466
51466
|
"Usage: hostingctl environment create --company <slug> --name <name> [--slug <slug>] [--package <key>]",
|
|
51467
51467
|
" hostingctl environment create --client <slug> --name <name> [--slug <slug>] [--package <key>]",
|
|
51468
|
+
" [--storage-classes <volume-type>=<class-uuid>[,<volume-type>=<class-uuid>...]]",
|
|
51468
51469
|
" [--cpu-request <millicores> --cpu-limit <millicores> --memory-request <MiB> --memory-limit <MiB>",
|
|
51469
51470
|
" --storage-limit <MiB>]",
|
|
51470
51471
|
"",
|
|
@@ -51481,8 +51482,15 @@ var USAGE$24 = [
|
|
|
51481
51482
|
"answer rather than a size this command picked.",
|
|
51482
51483
|
"",
|
|
51483
51484
|
"The package is one of the keys this environment's catalog offers; the platform chooses the placement,",
|
|
51484
|
-
"so no cluster is sent or accepted."
|
|
51485
|
+
"so no cluster is sent or accepted.",
|
|
51486
|
+
"Initial storage classes are optional; each is reviewed and recorded before the environment's first reconcile."
|
|
51485
51487
|
].join("\n");
|
|
51488
|
+
var STORAGE_VOLUME_TYPES = [
|
|
51489
|
+
"application-files",
|
|
51490
|
+
"database-data",
|
|
51491
|
+
"redis-data"
|
|
51492
|
+
];
|
|
51493
|
+
var UUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|
|
51486
51494
|
/**
|
|
51487
51495
|
* The flags this command reads, declared once and published by the group's metadata.
|
|
51488
51496
|
*
|
|
@@ -51505,6 +51513,11 @@ var CREATE_FLAG_SPECS = [
|
|
|
51505
51513
|
takesValue: true,
|
|
51506
51514
|
description: "The platform package the environment is created from."
|
|
51507
51515
|
},
|
|
51516
|
+
{
|
|
51517
|
+
name: "--storage-classes",
|
|
51518
|
+
takesValue: true,
|
|
51519
|
+
description: "Initial per-claim-type class choices, each written as `<volume-type>=<class-uuid>` and separated by commas."
|
|
51520
|
+
},
|
|
51508
51521
|
{
|
|
51509
51522
|
name: "--client",
|
|
51510
51523
|
takesValue: true,
|
|
@@ -51522,15 +51535,40 @@ async function create$2(context, rest) {
|
|
|
51522
51535
|
if (name === "") throw new UsageError(`create needs --name.\n\n${USAGE$24}`);
|
|
51523
51536
|
const slug = slugFor(context.flags.get("--slug"), name, USAGE$24);
|
|
51524
51537
|
const slice = sliceFor(context.flags, USAGE$24);
|
|
51538
|
+
const storageSelections = storageSelectionsFor(context.flags, USAGE$24);
|
|
51525
51539
|
const scope = await scopeFor(context.flags);
|
|
51526
51540
|
const chosen = chosenPackage(await catalogFor(scope), context.flags.get("--package")?.trim() ?? "");
|
|
51527
51541
|
const body = {
|
|
51528
51542
|
name,
|
|
51529
51543
|
slug,
|
|
51530
51544
|
resourceProfile: chosen.key,
|
|
51531
|
-
...slice === null ? {} : { budget: slice }
|
|
51532
|
-
|
|
51533
|
-
|
|
51545
|
+
...slice === null ? {} : { budget: slice },
|
|
51546
|
+
...storageSelections === null ? {} : { storageSelections }
|
|
51547
|
+
};
|
|
51548
|
+
return await confirmableWrite(context, describeCreate$1(name, slug, chosen.key, scope, slice, storageSelections), async () => await sendCreate(scope, body));
|
|
51549
|
+
}
|
|
51550
|
+
/** Parse the optional initial per-role class choices before the command reads a catalog or sends a write. */
|
|
51551
|
+
function storageSelectionsFor(flags, usage) {
|
|
51552
|
+
if (!flags.has("--storage-classes")) return null;
|
|
51553
|
+
const value = flags.get("--storage-classes")?.trim() ?? "";
|
|
51554
|
+
if (value === "") throw new UsageError(`--storage-classes needs at least one type=uuid choice.\n\n${usage}`);
|
|
51555
|
+
const seen = /* @__PURE__ */ new Set();
|
|
51556
|
+
const selections = [];
|
|
51557
|
+
for (const entry of value.split(",")) {
|
|
51558
|
+
const separator = entry.indexOf("=");
|
|
51559
|
+
const volumeType = entry.slice(0, separator).trim();
|
|
51560
|
+
const storageClassUuid = entry.slice(separator + 1).trim();
|
|
51561
|
+
if (separator < 1 || entry.indexOf("=", separator + 1) !== -1) throw new UsageError(`Each --storage-classes choice must be <volume-type>=<class-uuid>.\n\n${usage}`);
|
|
51562
|
+
if (!STORAGE_VOLUME_TYPES.includes(volumeType)) throw new UsageError(`--storage-classes volume types are ${STORAGE_VOLUME_TYPES.join(", ")} (got ${volumeType}).\n\n${usage}`);
|
|
51563
|
+
if (seen.has(volumeType)) throw new UsageError(`--storage-classes names ${volumeType} more than once.\n\n${usage}`);
|
|
51564
|
+
if (!UUID_PATTERN.test(storageClassUuid)) throw new UsageError(`--storage-classes needs a UUID for ${volumeType}.\n\n${usage}`);
|
|
51565
|
+
seen.add(volumeType);
|
|
51566
|
+
selections.push({
|
|
51567
|
+
volumeType,
|
|
51568
|
+
storageClassUuid
|
|
51569
|
+
});
|
|
51570
|
+
}
|
|
51571
|
+
return selections;
|
|
51534
51572
|
}
|
|
51535
51573
|
/** Which company or client the create is for, from exactly one of `--company` and `--client`. */
|
|
51536
51574
|
async function scopeFor(flags) {
|
|
@@ -51576,10 +51614,11 @@ async function sendCreate(scope, body) {
|
|
|
51576
51614
|
* The addressee is named in every mode, so an operator who acted for a client sees that in the description and in
|
|
51577
51615
|
* `--json`, rather than reading a receipt that could be their own company's.
|
|
51578
51616
|
*/
|
|
51579
|
-
function describeCreate$1(name, slug, packageKey, scope, slice) {
|
|
51617
|
+
function describeCreate$1(name, slug, packageKey, scope, slice, storageSelections) {
|
|
51580
51618
|
return [
|
|
51581
51619
|
`Create environment "${name}" (${slug}) ${scope.mode === "client" ? `for client ${scope.client} through the platform route (this account holds no membership in it)` : `in company ${scope.company} through the company's own route`}, with the ${packageKey} package.`,
|
|
51582
51620
|
...slice === null ? [] : [describeSlice(slice)],
|
|
51621
|
+
...storageSelections === null ? [] : [" Initial storage classes (recorded before the first reconcile):", ...storageSelections.map((one) => ` ${one.volumeType}: ${one.storageClassUuid}`)],
|
|
51583
51622
|
" The platform chooses the placement from its own configuration: no cluster is sent or accepted, and",
|
|
51584
51623
|
" the package supplies the purchase and the composition, not the cluster or the namespace."
|
|
51585
51624
|
].join("\n");
|
|
@@ -52427,6 +52466,7 @@ var ENVIRONMENT_SUBCOMMANDS = [
|
|
|
52427
52466
|
var ENVIRONMENT_USAGE = [
|
|
52428
52467
|
"Usage: hostingctl environment create --company <slug> --name <name> [--slug <slug>] [--package <key>]",
|
|
52429
52468
|
" hostingctl environment create --client <slug> --name <name> [--slug <slug>] [--package <key>]",
|
|
52469
|
+
" [--storage-classes <volume-type>=<class-uuid>[,<volume-type>=<class-uuid>...]]",
|
|
52430
52470
|
" [--cpu-request <millicores> --cpu-limit <millicores> --memory-request <MiB> --memory-limit <MiB>",
|
|
52431
52471
|
" --storage-limit <MiB>]",
|
|
52432
52472
|
" hostingctl environment show|profile <uuid> --company <slug>",
|
|
@@ -54126,7 +54166,7 @@ var SETUP_USAGE = [
|
|
|
54126
54166
|
"Usage: hostingctl environment setup --company <slug> --file <hosting.yaml> --confirm",
|
|
54127
54167
|
" [--environment <uuid> | --name <name> [--slug <slug>] [--package <key>]",
|
|
54128
54168
|
" [--cpu-request <millicores> --cpu-limit <millicores> --memory-request <MiB> --memory-limit <MiB>",
|
|
54129
|
-
" --storage-limit <MiB>]]",
|
|
54169
|
+
" --storage-limit <MiB>] [--storage-classes <volume-type>=<class-uuid>[,...]]]",
|
|
54130
54170
|
" [--source-dir <repository-root> | --source-archive <project.zip>] [--switch-mode]",
|
|
54131
54171
|
" [--timeout <seconds>] [--dry-run]",
|
|
54132
54172
|
"",
|
|
@@ -54139,6 +54179,8 @@ var SETUP_USAGE = [
|
|
|
54139
54179
|
" --environment An existing environment to configure and serve. Otherwise --name creates one.",
|
|
54140
54180
|
" --name The environment to create when it does not exist yet.",
|
|
54141
54181
|
" --package The package a created environment is sized from; omitted, the API sizes it from the pool.",
|
|
54182
|
+
" --storage-classes Initial per-claim-type class choices, recorded before first reconcile when a new environment is",
|
|
54183
|
+
" created. The command refuses this option for an existing or adopted environment.",
|
|
54142
54184
|
" --cpu-request/--cpu-limit The slice's CPU request and limit, in millicores, for an environment setup",
|
|
54143
54185
|
" creates. They do not resize an environment it adopted.",
|
|
54144
54186
|
" --memory-request/--memory-limit The slice's memory request and limit, in MiB.",
|
|
@@ -54174,10 +54216,16 @@ async function resolveEnvironment(context, company, existing, name) {
|
|
|
54174
54216
|
created: false
|
|
54175
54217
|
};
|
|
54176
54218
|
const found = await findBySlug(company, slugFor(context.flags.get("--slug"), name ?? "", SETUP_USAGE));
|
|
54177
|
-
if (found !== null)
|
|
54178
|
-
environment
|
|
54179
|
-
|
|
54180
|
-
|
|
54219
|
+
if (found !== null) {
|
|
54220
|
+
if (context.flags.has("--storage-classes")) throw new UsageError("--storage-classes applies only when setup creates a new environment; this slug already exists.");
|
|
54221
|
+
return {
|
|
54222
|
+
environment: (await hostingEnvironmentShow({ path: {
|
|
54223
|
+
company,
|
|
54224
|
+
environmentUuid: found.uuid
|
|
54225
|
+
} })).data,
|
|
54226
|
+
created: false
|
|
54227
|
+
};
|
|
54228
|
+
}
|
|
54181
54229
|
const written = await create$2(context, []);
|
|
54182
54230
|
if (!written.sent) throw new UsageError("The environment was not created; nothing else was sent.");
|
|
54183
54231
|
return {
|
|
@@ -54201,10 +54249,7 @@ async function findBySlug(company, slug) {
|
|
|
54201
54249
|
};
|
|
54202
54250
|
}, "environments").then((paged) => paged.items.find((one) => one.slug === slug));
|
|
54203
54251
|
if (listed === void 0) return null;
|
|
54204
|
-
return
|
|
54205
|
-
company,
|
|
54206
|
-
environmentUuid: listed.uuid
|
|
54207
|
-
} })).data;
|
|
54252
|
+
return listed;
|
|
54208
54253
|
}
|
|
54209
54254
|
/**
|
|
54210
54255
|
* The document, applied — and only submitted, not waited for.
|
|
@@ -54703,7 +54748,9 @@ async function setup(context, rest) {
|
|
|
54703
54748
|
if (existing === null === (name === null)) throw new UsageError(`Name the environment to configure (--environment) or the one to create (--name).\n\n${SETUP_USAGE}`);
|
|
54704
54749
|
if (context.flags.has("--wait")) throw new UsageError(`setup always waits for what it starts; --wait belongs to \`configuration apply\`.\n\n${SETUP_USAGE}`);
|
|
54705
54750
|
const slice = sliceFor(context.flags, SETUP_USAGE);
|
|
54706
|
-
const
|
|
54751
|
+
const storageSelections = storageSelectionsFor(context.flags, SETUP_USAGE);
|
|
54752
|
+
if (existing !== null && storageSelections !== null) throw new UsageError(`--storage-classes applies only when setup creates a new environment.\n\n${SETUP_USAGE}`);
|
|
54753
|
+
const plan = setupPlan(name, existing, file, flag$1(context, "--source-dir"), flag$1(context, "--source-archive"), existing === null ? slice : null, storageSelections);
|
|
54707
54754
|
if (context.flags.has("--dry-run")) return {
|
|
54708
54755
|
kind: "environment-setup",
|
|
54709
54756
|
outcome: "planned",
|
|
@@ -54751,12 +54798,17 @@ async function setup(context, rest) {
|
|
|
54751
54798
|
}
|
|
54752
54799
|
}
|
|
54753
54800
|
/** The ordered statement of what this command will do, used by both `--dry-run` and the confirmation refusal. */
|
|
54754
|
-
function setupPlan(name, existing, file, sourceDir, sourceArchive, slice) {
|
|
54801
|
+
function setupPlan(name, existing, file, sourceDir, sourceArchive, slice, storageSelections) {
|
|
54755
54802
|
const environment = existing === null ? `create environment "${name ?? ""}" if it does not exist` : `use environment ${existing}`;
|
|
54756
54803
|
return [
|
|
54757
54804
|
`Set up the environment from ${file}:`,
|
|
54758
54805
|
` ${environment}`,
|
|
54759
54806
|
...slice === null ? [] : [describeSlice(slice)],
|
|
54807
|
+
...storageSelections === null ? [] : [
|
|
54808
|
+
" Initial storage classes (used only if a new environment is created):",
|
|
54809
|
+
...storageSelections.map((one) => ` ${one.volumeType}: ${one.storageClassUuid}`),
|
|
54810
|
+
" If this slug already exists, setup refuses before applying the document."
|
|
54811
|
+
],
|
|
54760
54812
|
" apply the document and wait for the platform to accept it",
|
|
54761
54813
|
` send source from ${sourceDir ?? sourceArchive ?? "no source named"}`,
|
|
54762
54814
|
" build each application that builds from source, deploy its release and see it running",
|
|
@@ -61798,10 +61850,19 @@ var hostingCertificateIssuerEnumSchema = _enum([
|
|
|
61798
61850
|
"letsencrypt-staging",
|
|
61799
61851
|
"zerossl"
|
|
61800
61852
|
]);
|
|
61853
|
+
var hostingVolumeEnumSchema = _enum([
|
|
61854
|
+
"application-files",
|
|
61855
|
+
"database-data",
|
|
61856
|
+
"redis-data"
|
|
61857
|
+
]);
|
|
61801
61858
|
var hostingWorkloadServerModeEnumSchema = _enum(["shared", "dedicated"]).describe("Whether a workload's database server is shared with the rest of its engine, or bought for it alone. An environment runs ONE server per engine, and every database of that engine binds to it. That is the purchase's shape: one server's memory and CPU serve every application on the engine. A second same-engine server splits that purchase between two Pods that each must still clear the engine's own floor — measured on Home 2026-10-19, where such a split left an engine 512Mi and it was OOM-killed on every boot. A second server is therefore a **client capability request** and never a side effect of declaring a workload. `DEDICATED` is that request: the workload pays its own floor out of the environment's budget, and the reconciler binds the databases to it by name rather than by engine. `SHARED` is every workload that did not ask. This is a named mode rather than a boolean because the same field may grow a third value (for example a replica-bearing server) without reinterpreting two call sites.\n| |\n|---|\n| `shared` <br/> The environment's existing server for this engine serves this workload's databases. |\n| `dedicated` <br/> The client asked for a server of this engine for this workload alone. |");
|
|
61802
61859
|
var createHostingEnvironmentRequestSchema = object({
|
|
61803
61860
|
certificateIssuer: hostingCertificateIssuerEnumSchema.optional(),
|
|
61804
61861
|
applicationLayout: _enum(["dedicated"]).optional().describe("How an environment's web applications are served. `DEDICATED` preserves existing environments and initial Node workload sets: one Pod per application, each with its own CPU and memory limits. Existing layouts never change merely because a new creation default is released. `SHARED_WORDPRESS` is plan 40's layout: one Apache/mod_php container serves every WordPress application in the environment, and each member keeps its own tree, Service, Ingress, certificate and database identity. The container carries the SUM of its members' limits. `SHARED_APPLICATIONS` is plan 48's layout and a superset of the WordPress case: one Pod holds the WordPress container AND one container per Moodle application, with the aggregate CPU/memory ceiling on the POD and no per-container limit, so WordPress may borrow capacity Moodle is not using and the reverse. It is a separate value rather than a reinterpretation of `SHARED_WORDPRESS`, because an environment that adopted WordPress sharing never consented to moving its Moodle applications into that Pod. `SHARED_ENVIRONMENT` is the new PHP environment default: web, cron, Redis and tools share one parent cap with requests-only containers. MariaDB remains separate. Component settings are persisted at creation or explicit adoption and read from PostgreSQL thereafter. `SHARED_PHP` is the shared environment with **one** PHP container instead of one container per PHP application: the same web, cron, Redis and tools Pod, but the Apache/PHP container serves every WordPress AND Moodle member as vhosts. N PHP applications then cost about one runtime's memory instead of N runtimes'. It is a value of its own rather than a change to `SHARED_APPLICATIONS` or `SHARED_ENVIRONMENT`, because an environment already composing those layouts keeps composing them exactly as before; a member joins the one container only in an environment that selected this. The stored value is this case's name, so a layout is a value the platform declares and validates rather than a branch keyed by a string somewhere.\n"),
|
|
61862
|
+
storageSelections: array(object({
|
|
61863
|
+
volumeType: hostingVolumeEnumSchema,
|
|
61864
|
+
storageClassUuid: uuid()
|
|
61865
|
+
})).max(3).refine((items) => new Set(items).size === items.length, { message: "Array entries must be unique" }).optional(),
|
|
61805
61866
|
resourceProfile: _enum([
|
|
61806
61867
|
"small_sites",
|
|
61807
61868
|
"small_sites_2x",
|
|
@@ -66038,11 +66099,6 @@ object({
|
|
|
66038
66099
|
pause: hostingUpdatePauseDataSchema,
|
|
66039
66100
|
capabilities: hostingUpdateSurfaceCapabilitiesDataSchema
|
|
66040
66101
|
});
|
|
66041
|
-
var hostingVolumeEnumSchema = _enum([
|
|
66042
|
-
"application-files",
|
|
66043
|
-
"database-data",
|
|
66044
|
-
"redis-data"
|
|
66045
|
-
]);
|
|
66046
66102
|
var hostingVolumeMigrationPhaseEnumSchema = _enum([
|
|
66047
66103
|
"review",
|
|
66048
66104
|
"writers-hold",
|
|
@@ -67325,6 +67381,10 @@ var storePlatformCompanyRequestSchema = object({
|
|
|
67325
67381
|
var storePlatformHostingEnvironmentRequestSchema = object({
|
|
67326
67382
|
certificateIssuer: hostingCertificateIssuerEnumSchema.optional(),
|
|
67327
67383
|
applicationLayout: _enum(["dedicated"]).optional().describe("How an environment's web applications are served. `DEDICATED` preserves existing environments and initial Node workload sets: one Pod per application, each with its own CPU and memory limits. Existing layouts never change merely because a new creation default is released. `SHARED_WORDPRESS` is plan 40's layout: one Apache/mod_php container serves every WordPress application in the environment, and each member keeps its own tree, Service, Ingress, certificate and database identity. The container carries the SUM of its members' limits. `SHARED_APPLICATIONS` is plan 48's layout and a superset of the WordPress case: one Pod holds the WordPress container AND one container per Moodle application, with the aggregate CPU/memory ceiling on the POD and no per-container limit, so WordPress may borrow capacity Moodle is not using and the reverse. It is a separate value rather than a reinterpretation of `SHARED_WORDPRESS`, because an environment that adopted WordPress sharing never consented to moving its Moodle applications into that Pod. `SHARED_ENVIRONMENT` is the new PHP environment default: web, cron, Redis and tools share one parent cap with requests-only containers. MariaDB remains separate. Component settings are persisted at creation or explicit adoption and read from PostgreSQL thereafter. `SHARED_PHP` is the shared environment with **one** PHP container instead of one container per PHP application: the same web, cron, Redis and tools Pod, but the Apache/PHP container serves every WordPress AND Moodle member as vhosts. N PHP applications then cost about one runtime's memory instead of N runtimes'. It is a value of its own rather than a change to `SHARED_APPLICATIONS` or `SHARED_ENVIRONMENT`, because an environment already composing those layouts keeps composing them exactly as before; a member joins the one container only in an environment that selected this. The stored value is this case's name, so a layout is a value the platform declares and validates rather than a branch keyed by a string somewhere.\n"),
|
|
67384
|
+
storageSelections: array(object({
|
|
67385
|
+
volumeType: hostingVolumeEnumSchema,
|
|
67386
|
+
storageClassUuid: uuid()
|
|
67387
|
+
})).max(3).refine((items) => new Set(items).size === items.length, { message: "Array entries must be unique" }).optional(),
|
|
67328
67388
|
resourceProfile: _enum([
|
|
67329
67389
|
"small_sites",
|
|
67330
67390
|
"small_sites_2x",
|
|
@@ -69900,6 +69960,11 @@ union([
|
|
|
69900
69960
|
})
|
|
69901
69961
|
]);
|
|
69902
69962
|
storeHostingSeedPlacementRequestSchema.describe("Record one seed version's desired state on one cluster.\n\nA caller supplies the cluster, the per-placement execution mode and the smallest claim the storage\nclass can provision. Resource names and observed readiness are deliberately not accepted: those are\nwritten by construction and by a real observation, and never fabricated from a request.");
|
|
69963
|
+
union([
|
|
69964
|
+
unknown(),
|
|
69965
|
+
object({ message: string().describe("Error overview.").meta({ examples: [""] }) }),
|
|
69966
|
+
object({ message: string().describe("Error overview.").meta({ examples: [""] }) })
|
|
69967
|
+
]);
|
|
69903
69968
|
union([
|
|
69904
69969
|
object({ message: string().describe("Error overview.") }),
|
|
69905
69970
|
object({ message: string().describe("Error overview.") }),
|
|
@@ -80107,7 +80172,7 @@ function writeUpdateState(state, env = process.env) {
|
|
|
80107
80172
|
}
|
|
80108
80173
|
//#endregion
|
|
80109
80174
|
//#region src/version.ts
|
|
80110
|
-
var VERSION = "1.0.
|
|
80175
|
+
var VERSION = "1.0.706";
|
|
80111
80176
|
//#endregion
|
|
80112
80177
|
//#region src/commands/update.ts
|
|
80113
80178
|
/**
|
|
@@ -80182,7 +80247,7 @@ var update = {
|
|
|
80182
80247
|
}, process.env);
|
|
80183
80248
|
return {
|
|
80184
80249
|
...known,
|
|
80185
|
-
current: after ?? "1.0.
|
|
80250
|
+
current: after ?? "1.0.706",
|
|
80186
80251
|
latest: after ?? latest,
|
|
80187
80252
|
upToDate: after !== null && (latest === null || !isNewerVersion(latest, after)),
|
|
80188
80253
|
action: "run",
|
|
@@ -80464,7 +80529,7 @@ async function printUpdateNotice(options) {
|
|
|
80464
80529
|
}, env, { waitMs: NOTICE_LOCK_WAIT_MS });
|
|
80465
80530
|
} catch {}
|
|
80466
80531
|
if (latest === null) return;
|
|
80467
|
-
if (!isNewerVersion(latest, "1.0.
|
|
80532
|
+
if (!isNewerVersion(latest, "1.0.706")) return;
|
|
80468
80533
|
process.stderr.write(`A newer hostingctl is published: ${latest} (this copy is ${VERSION}). Run \`hostingctl update\` to update.\n`);
|
|
80469
80534
|
}
|
|
80470
80535
|
/** Whether an environment variable is set to something, which is how CI and the opt-out are read. */
|