@lizard-build/cli 4.0.97 → 4.0.99

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/src/index.ts CHANGED
@@ -87,6 +87,7 @@ import { registerPause } from "./commands/pause.js";
87
87
  import { registerRestart } from "./commands/restart.js";
88
88
  import { registerRun } from "./commands/run.js";
89
89
  import { registerS3 } from "./commands/s3.js";
90
+ import { registerFn } from "./commands/fn.js";
90
91
  import { registerSandbox } from "./commands/sandbox.js";
91
92
  import { registerAgents } from "./commands/agents.js";
92
93
  import { registerScale } from "./commands/scale.js";
@@ -188,6 +189,7 @@ registerPause(program);
188
189
  registerRestart(program);
189
190
  registerRun(program);
190
191
  registerS3(program);
192
+ registerFn(program);
191
193
  registerSandbox(program);
192
194
  registerAgents(program);
193
195
  registerScale(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 = "4.0.97";
8
+ export const CURRENT_VERSION = "4.0.99";
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
 
@@ -15,8 +15,8 @@ describe("the core skill", () => {
15
15
  expect(Object.keys(EMBEDDED_SKILLS)).toEqual(["core"]);
16
16
  });
17
17
 
18
- test("ships the sandboxes, deploys and sdk references, and names each one", () => {
19
- expect(Object.keys(core.references).sort()).toEqual(["deploys", "sandboxes", "sdk"]);
18
+ test("ships the sandboxes, deploys, functions and sdk references, and names each one", () => {
19
+ expect(Object.keys(core.references).sort()).toEqual(["deploys", "functions", "sandboxes", "sdk"]);
20
20
  for (const ref of Object.keys(core.references)) {
21
21
  expect(core.content).toContain(`--ref ${ref}`);
22
22
  }