Skip to content

Commit fbb1eab

Browse files
committed
fix(release): raise package scan headroom
1 parent 5d2eb3c commit fbb1eab

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎scripts/openclaw-npm-postpublish-verify.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ const PUBLISHED_BUNDLED_RUNTIME_SIDECAR_PATHS = BUNDLED_RUNTIME_SIDECAR_PATHS.fi
6060
const NODE_BUILTIN_MODULES = new Set(builtinModules.map((name) => name.replace(/^node:/u, "")));
6161
const MAX_INSTALLED_ROOT_PACKAGE_JSON_BYTES = 1024 * 1024;
6262
const MAX_INSTALLED_ROOT_DIST_JS_BYTES = 6 * 1024 * 1024;
63-
const MAX_INSTALLED_ROOT_DIST_JS_FILES = 5000;
63+
// Keep the dependency scan bounded while allowing headroom for generated root chunks.
64+
const MAX_INSTALLED_ROOT_DIST_JS_FILES = 10_000;
6465
const ROOT_DIST_JAVASCRIPT_MODULE_FILE_RE = /\.(?:c|m)?js$/u;
6566
const OPTIONAL_OR_EXTERNALIZED_RUNTIME_IMPORTS = new Set([
6667
// Optional A2UI markdown renderer. The Canvas host bundle catches the missing

0 commit comments

Comments
 (0)