monoban 1.14.0 → 1.14.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/dist/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8205,7 +8205,7 @@ function archivedByTime(task, archiveAfterDays, now = Date.now()) {
|
|
|
8205
8205
|
}
|
|
8206
8206
|
// src/version.ts
|
|
8207
8207
|
/** This CLI's version, from package.json (set at build time by tsdown, and by vitest in tests). */
|
|
8208
|
-
const VERSION = "1.14.
|
|
8208
|
+
const VERSION = "1.14.1";
|
|
8209
8209
|
/** Sent as X-Monoban-Client, and shown in Settings › CLI sessions. */
|
|
8210
8210
|
const CLIENT = `cli/${VERSION}`;
|
|
8211
8211
|
// src/api.ts
|
|
@@ -11865,7 +11865,7 @@ async function latestVersion(ctx) {
|
|
|
11865
11865
|
async function upgrade(ctx, options, kind = thisInstall()) {
|
|
11866
11866
|
const latest = await latestVersion(ctx);
|
|
11867
11867
|
const { how, command } = UPGRADE[kind];
|
|
11868
|
-
const outdated = latest !== null && newer(latest, "1.14.
|
|
11868
|
+
const outdated = latest !== null && newer(latest, "1.14.1");
|
|
11869
11869
|
if (options.json) {
|
|
11870
11870
|
ctx.out(JSON.stringify({
|
|
11871
11871
|
version: VERSION,
|
|
@@ -23604,7 +23604,7 @@ function describe({ state, running }, board, now) {
|
|
|
23604
23604
|
const seenAgo = `checked in ${since(board.lastSeenAt, now)} ago (every ${board.pollSeconds}s)`;
|
|
23605
23605
|
row("board", `${board.online ? "online" : "offline"} · ${seenAgo}`);
|
|
23606
23606
|
} else if (!state.runnerId) row("board", "not on the board yet: it's starting");
|
|
23607
|
-
if (state.version !== "1.14.
|
|
23607
|
+
if (state.version !== "1.14.1") {
|
|
23608
23608
|
const again = state.background ? "`monoban runner restart`" : "start it again in its terminal";
|
|
23609
23609
|
row("update", `it runs monoban ${state.version}, this is ${VERSION}: ${again}`);
|
|
23610
23610
|
}
|
|
@@ -24042,7 +24042,7 @@ async function checks(ctx, deps = {}) {
|
|
|
24042
24042
|
const found = [];
|
|
24043
24043
|
const latest = await (deps.latest ?? latestVersion)(ctx);
|
|
24044
24044
|
const upgrade = UPGRADE[thisInstall()].command;
|
|
24045
|
-
found.push(latest && newer(latest, "1.14.
|
|
24045
|
+
found.push(latest && newer(latest, "1.14.1") ? {
|
|
24046
24046
|
name: "monoban",
|
|
24047
24047
|
status: "warn",
|
|
24048
24048
|
detail: `${VERSION}; ${latest} is out`,
|
package/package.json
CHANGED