build: keep external provider deps out of core dist · openclaw/openclaw@11017c9
steipete
·
2026-05-14
·
via Recent Commits to openclaw:main
File tree
extensions/anthropic-vertex
| Original file line number | Diff line number | Diff line change |
|---|
@@ -28,7 +28,8 @@
|
28 | 28 | "pluginApi": ">=2026.5.12-beta.1" |
29 | 29 | }, |
30 | 30 | "build": { |
31 | | -"openclawVersion": "2026.5.12-beta.1" |
| 31 | +"openclawVersion": "2026.5.12-beta.1", |
| 32 | +"bundledDist": false |
32 | 33 | }, |
33 | 34 | "release": { |
34 | 35 | "publishToClawHub": true, |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -110,11 +110,11 @@ describe("bundled plugin build entries", () => {
|
110 | 110 | } |
111 | 111 | }); |
112 | 112 | |
113 | | -it("keeps external-only Amazon providers out of bundled dist entries", () => { |
| 113 | +it("keeps external-only providers out of bundled dist entries", () => { |
114 | 114 | const entries = listBundledPluginBuildEntries(); |
115 | 115 | const artifacts = listBundledPluginPackArtifacts(); |
116 | 116 | |
117 | | -for (const pluginId of ["amazon-bedrock", "amazon-bedrock-mantle"]) { |
| 117 | +for (const pluginId of ["amazon-bedrock", "amazon-bedrock-mantle", "anthropic-vertex"]) { |
118 | 118 | expectNoPrefixMatches(Object.keys(entries), `extensions/${pluginId}/`); |
119 | 119 | expectNoPrefixMatches(artifacts, `dist/extensions/${pluginId}/`); |
120 | 120 | } |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -165,6 +165,8 @@ const explicitNeverBundleDependencies = [
|
165 | 165 | "@lancedb/lancedb", |
166 | 166 | "@larksuiteoapi/node-sdk", |
167 | 167 | "@matrix-org/matrix-sdk-crypto-nodejs", |
| 168 | +"@slack/bolt", |
| 169 | +"@slack/web-api", |
168 | 170 | "@vitest/expect", |
169 | 171 | "matrix-js-sdk", |
170 | 172 | "prism-media", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。