mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 10:59:39 +00:00
build(pnpm): restore exotic subdependency blocking
This commit is contained in:
parent
85f9276624
commit
1e8e004361
2 changed files with 3 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ minimumReleaseAgeExclude:
|
|||
- "sqlite-vec-*"
|
||||
|
||||
nodeLinker: hoisted
|
||||
blockExoticSubdeps: true
|
||||
|
||||
overrides:
|
||||
"@anthropic-ai/sdk": 0.95.1
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ import { parse } from "yaml";
|
|||
|
||||
type PnpmBuildConfig = {
|
||||
allowBuilds?: Record<string, boolean>;
|
||||
blockExoticSubdeps?: boolean;
|
||||
ignoredBuiltDependencies?: string[];
|
||||
onlyBuiltDependencies?: string[];
|
||||
};
|
||||
|
|
@ -25,6 +26,7 @@ describe("package manager build policy", () => {
|
|||
|
||||
expect(packageJson.pnpm).toBeUndefined();
|
||||
expect(workspace.allowBuilds?.["@discordjs/opus"]).toBe(false);
|
||||
expect(workspace.blockExoticSubdeps).toBe(true);
|
||||
expect(workspace.onlyBuiltDependencies).toBeUndefined();
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue