@lizard-build/cli 0.3.89 → 0.3.90
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/dist/commands/docs.js +4 -1
- package/dist/commands/docs.js.map +1 -1
- package/dist/lib/updater.d.ts +1 -1
- package/dist/lib/updater.js +1 -1
- package/package.json +1 -1
- package/src/commands/docs.ts +4 -1
- package/src/lib/updater.ts +1 -1
- package/test/unit/json.test.ts +3 -1
package/README.md
CHANGED
package/dist/commands/docs.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import open from "open";
|
|
2
2
|
import { success, isJSONMode, printJSON } from "../lib/format.js";
|
|
3
|
-
|
|
3
|
+
// Docs are served from the main host under /docs. The docs.lizard.build
|
|
4
|
+
// subdomain resolves but has no valid certificate, so opening it dumps the
|
|
5
|
+
// user on a TLS error page — don't switch back to it without checking.
|
|
6
|
+
const DOCS_URL = "https://lizard.build/docs";
|
|
4
7
|
export function registerDocs(program) {
|
|
5
8
|
program
|
|
6
9
|
.command("docs")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../../src/commands/docs.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElE,MAAM,QAAQ,GAAG,2BAA2B,CAAC;AAE7C,MAAM,UAAU,YAAY,CAAC,OAAgB;IAC3C,OAAO;SACJ,OAAO,CAAC,MAAM,CAAC;SACf,WAAW,CAAC,sCAAsC,CAAC;SACnD,MAAM,CAAC,KAAK,IAAI,EAAE;QACjB,oEAAoE;QACpE,IAAI,UAAU,EAAE,EAAE,CAAC;YACjB,SAAS,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;YAC5C,OAAO;QACT,CAAC;QACD,MAAM,IAAI,CAAC,QAAQ,CAAC,CAAC;QACrB,OAAO,CAAC,UAAU,QAAQ,EAAE,CAAC,CAAC;IAChC,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
1
|
+
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../../src/commands/docs.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElE,wEAAwE;AACxE,2EAA2E;AAC3E,uEAAuE;AACvE,MAAM,QAAQ,GAAG,2BAA2B,CAAC;AAE7C,MAAM,UAAU,YAAY,CAAC,OAAgB;IAC3C,OAAO;SACJ,OAAO,CAAC,MAAM,CAAC;SACf,WAAW,CAAC,sCAAsC,CAAC;SACnD,MAAM,CAAC,KAAK,IAAI,EAAE;QACjB,oEAAoE;QACpE,IAAI,UAAU,EAAE,EAAE,CAAC;YACjB,SAAS,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;YAC5C,OAAO;QACT,CAAC;QACD,MAAM,IAAI,CAAC,QAAQ,CAAC,CAAC;QACrB,OAAO,CAAC,UAAU,QAAQ,EAAE,CAAC,CAAC;IAChC,CAAC,CAAC,CAAC;AACP,CAAC"}
|
package/dist/lib/updater.d.ts
CHANGED
package/dist/lib/updater.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Readable } from "node:stream";
|
|
|
4
4
|
import { join, dirname } from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import { spawn } from "node:child_process";
|
|
7
|
-
export const CURRENT_VERSION = "0.3.
|
|
7
|
+
export const CURRENT_VERSION = "0.3.90";
|
|
8
8
|
const RELEASES_API = "https://api.github.com/repos/lizard-build/lizard-cli/releases/latest";
|
|
9
9
|
const RELEASE_BASE = "https://github.com/lizard-build/lizard-cli/releases/latest/download";
|
|
10
10
|
/** Minimum gap between background update checks. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lizard-build/cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.90",
|
|
4
4
|
"description": "Lizard CLI — deploy apps, databases and sandboxes to Lizard (lizard.build) from your terminal or your coding agent. Detects Node, Python, Go, Rust, Ruby, PHP and Java; adds Managed Postgres, Managed Redis and Managed Object Storage in one command.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/src/commands/docs.ts
CHANGED
|
@@ -2,7 +2,10 @@ import { Command } from "commander";
|
|
|
2
2
|
import open from "open";
|
|
3
3
|
import { success, isJSONMode, printJSON } from "../lib/format.js";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// Docs are served from the main host under /docs. The docs.lizard.build
|
|
6
|
+
// subdomain resolves but has no valid certificate, so opening it dumps the
|
|
7
|
+
// user on a TLS error page — don't switch back to it without checking.
|
|
8
|
+
const DOCS_URL = "https://lizard.build/docs";
|
|
6
9
|
|
|
7
10
|
export function registerDocs(program: Command) {
|
|
8
11
|
program
|
package/src/lib/updater.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { join, dirname } from "node:path";
|
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import { spawn } from "node:child_process";
|
|
7
7
|
|
|
8
|
-
export const CURRENT_VERSION = "0.3.
|
|
8
|
+
export const CURRENT_VERSION = "0.3.90";
|
|
9
9
|
const RELEASES_API = "https://api.github.com/repos/lizard-build/lizard-cli/releases/latest";
|
|
10
10
|
const RELEASE_BASE = "https://github.com/lizard-build/lizard-cli/releases/latest/download";
|
|
11
11
|
|
package/test/unit/json.test.ts
CHANGED
|
@@ -286,7 +286,9 @@ describe("docs --json", () => {
|
|
|
286
286
|
const { stdout, exitCode } = await run(["docs", "--json"]);
|
|
287
287
|
expect(exitCode).toBe(0);
|
|
288
288
|
const out = parseJSON(stdout);
|
|
289
|
-
|
|
289
|
+
// Pin the exact URL: this assertion previously matched a substring and
|
|
290
|
+
// happily passed against docs.lizard.build, which serves no valid cert.
|
|
291
|
+
expect(out.url).toBe("https://lizard.build/docs");
|
|
290
292
|
expect(out.opened).toBe(false);
|
|
291
293
|
});
|
|
292
294
|
});
|