fix(dev): build Runner D before server startup

Extend the existing workspace build-dependency guard so fresh test and CLI processes create the private Runner D dist before resolving the server shim.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-08-18 17:18:17 +00:00
1 parent aa14c9f01f
commit a268a56503
1 file changed
+6
+6
View File
@@ -25,6 +25,12 @@ const buildTargets = [
sourceDir: path.join(rootDir, "packages/plugins/sdk/src"),
tsconfig: path.join(rootDir, "packages/plugins/sdk/tsconfig.json"),
},
{
name: "@paperclipai/paperclip-runner",
output: path.join(rootDir, "packages/paperclip-runner/dist/index.js"),
sourceDir: path.join(rootDir, "packages/paperclip-runner/src"),
tsconfig: path.join(rootDir, "packages/paperclip-runner/tsconfig.json"),
},
];
if (!fs.existsSync(tscCliPath)) {