build(pnpm): restore exotic subdependency blocking · openclaw/openclaw@1e8e004
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -36,6 +36,7 @@ minimumReleaseAgeExclude:
|
36 | 36 | - "sqlite-vec-*" |
37 | 37 | |
38 | 38 | nodeLinker: hoisted |
| 39 | +blockExoticSubdeps: true |
39 | 40 | |
40 | 41 | overrides: |
41 | 42 | "@anthropic-ai/sdk": 0.95.1 |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -4,6 +4,7 @@ import { parse } from "yaml";
|
4 | 4 | |
5 | 5 | type PnpmBuildConfig = { |
6 | 6 | allowBuilds?: Record<string, boolean>; |
| 7 | +blockExoticSubdeps?: boolean; |
7 | 8 | ignoredBuiltDependencies?: string[]; |
8 | 9 | onlyBuiltDependencies?: string[]; |
9 | 10 | }; |
@@ -25,6 +26,7 @@ describe("package manager build policy", () => {
|
25 | 26 | |
26 | 27 | expect(packageJson.pnpm).toBeUndefined(); |
27 | 28 | expect(workspace.allowBuilds?.["@discordjs/opus"]).toBe(false); |
| 29 | +expect(workspace.blockExoticSubdeps).toBe(true); |
28 | 30 | expect(workspace.onlyBuiltDependencies).toBeUndefined(); |
29 | 31 | }); |
30 | 32 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。