mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 23:56:07 +00:00
build(pnpm): restore exotic subdependency blocking
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user