mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-24 01:41:42 +02:00
Cover the vendored readiness dependency surface
Include live/index.js in the server dependency inventory now that production configuration probes import that boundary. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
2684979803
commit
b9a0180c1a
1 file changed
+3
-4
@@ -12,7 +12,7 @@
|
||||
// (#13116) -- because nothing enforced it.
|
||||
//
|
||||
// This derives the required set from esbuild's own module-resolution scan
|
||||
// of the two entry points server actually imports (index.js, testing.js),
|
||||
// of the entry points server actually imports (index.js, testing.js, live/index.js),
|
||||
// with `write: false` so nothing is written to disk and `packages:
|
||||
// "external"` so npm imports are reported, not inlined. That is precise:
|
||||
// paperclip-runner declares dependencies (react-markdown, the codex/opencode
|
||||
@@ -43,9 +43,8 @@ const runnerRoot = resolve(serverRoot, "../packages/paperclip-runner");
|
||||
const runnerDist = resolve(runnerRoot, "dist");
|
||||
|
||||
// The only entry points server/src actually imports from the vendored
|
||||
// runner (server/src/**/*.ts import "../vendor/paperclip-runner/index.js"
|
||||
// or ".../testing.js").
|
||||
const ENTRY_POINT_NAMES = ["index.js", "testing.js"];
|
||||
// runner, including the installed-runtime readiness probe surface.
|
||||
const ENTRY_POINT_NAMES = ["index.js", "testing.js", "live/index.js"];
|
||||
|
||||
const NODE_BUILTINS = new Set([
|
||||
...builtinModules,
|
||||
|
||||
Reference in new issue
Block a user