@sandblocks/cli 0.5.0-b.3 → 0.5.0-b.30

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.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- // src/runtime.ts
3
+ // packages/libs/cli/src/runtime.ts
4
4
  import { spawn } from "node:child_process";
5
5
  import { access, chmod, mkdir, readdir, rm } from "node:fs/promises";
6
6
  import path from "node:path";
@@ -107,7 +107,7 @@ function option(options, key) {
107
107
  return typeof value === "string" ? value : undefined;
108
108
  }
109
109
 
110
- // src/runtime-bin.ts
110
+ // packages/libs/cli/src/runtime-bin.ts
111
111
  runRuntimeCommand(process.argv.slice(2)).catch((error) => {
112
112
  console.error(`sandblocks-runtime: ${error instanceof Error ? error.message : String(error)}`);
113
113
  process.exitCode = 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sandblocks/cli",
3
- "version": "0.5.0-b.3",
3
+ "version": "0.5.0-b.30",
4
4
  "type": "module",
5
5
  "description": "Sandblocks command-line interface for workspaces, deployments, and agent sandboxes.",
6
6
  "bin": {
@@ -10,12 +10,6 @@
10
10
  "files": [
11
11
  "dist"
12
12
  ],
13
- "scripts": {
14
- "start": "bun src/cli.ts",
15
- "build": "rm -rf dist && bun build src/cli.ts --outdir dist --target=bun --format=esm --sourcemap=external && bun build src/runtime-bin.ts --outfile dist/runtime-bin.js --target=node --format=esm",
16
- "test": "bun test",
17
- "prepack": "bun run build && bun run test"
18
- },
19
13
  "publishConfig": {
20
14
  "access": "public"
21
15
  },
@@ -24,6 +18,6 @@
24
18
  },
25
19
  "devDependencies": {
26
20
  "@sandblocks/manifest": "0.1.0",
27
- "@sandblocks/sdk": "0.4.0-b.0"
21
+ "@sandblocks/sdk": "0.5.0-b.9"
28
22
  }
29
23
  }