coderaft 0.0.29 → 0.0.31

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/code.mjs CHANGED
@@ -4,7 +4,7 @@ import { tmpdir } from "node:os";
4
4
  import { fileURLToPath } from "node:url";
5
5
 
6
6
  // Auto-updated by scripts/pack.ts
7
- const codeArchiveHash = "84b770cedde29291";
7
+ const codeArchiveHash = "1e825760090ea31b";
8
8
 
9
9
  const archivePath = fileURLToPath(new URL("./code.tar.zst", import.meta.url));
10
10
 
package/code.tar.zst CHANGED
Binary file
@@ -157,6 +157,7 @@ async function createCodeServer(opts = {}) {
157
157
  const baseURL = normalizeBaseURL(opts.baseURL ?? opts.vscode?.["server-base-path"]);
158
158
  const mintKey = randomBytes(32);
159
159
  process.env.CODE_SERVER_PARENT_PID ??= String(process.pid);
160
+ process.env.NODE_EXEC_PATH ??= process.execPath;
160
161
  cleanupStaleLocks(opts.vscode?.["user-data-dir"] ?? join(_os.homedir(), ".vscode-server-oss", "data"));
161
162
  watchChildProcessHealth();
162
163
  const { modulesDir } = await loadCode();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coderaft",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "repository": "pithings/coderaft",
5
5
  "bin": {
6
6
  "coderaft": "./dist/cli.mjs"