@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 CHANGED
@@ -85,7 +85,7 @@ arguments, options, defaults, subcommands and exit codes.
85
85
 
86
86
  ## Links
87
87
 
88
- - Docs — https://docs.lizard.build
88
+ - Docs — https://lizard.build/docs
89
89
  - Source — https://github.com/lizard-build/lizard-cli
90
90
 
91
91
  ## License
@@ -1,6 +1,9 @@
1
1
  import open from "open";
2
2
  import { success, isJSONMode, printJSON } from "../lib/format.js";
3
- const DOCS_URL = "https://docs.lizard.build";
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"}
@@ -1,4 +1,4 @@
1
- export declare const CURRENT_VERSION = "0.3.89";
1
+ export declare const CURRENT_VERSION = "0.3.90";
2
2
  /**
3
3
  * True only when running as the Bun-compiled standalone binary. Under
4
4
  * npm/node, `process.execPath` is the *node* executable — self-update would
@@ -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.89";
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.89",
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": {
@@ -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
- const DOCS_URL = "https://docs.lizard.build";
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
@@ -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.89";
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
 
@@ -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
- expect(out.url).toContain("docs.lizard.build");
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
  });