Skip to content

Commit 11017c9

Browse files
committed
build: keep external provider deps out of core dist
1 parent 643dea2 commit 11017c9

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

extensions/anthropic-vertex/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
"pluginApi": ">=2026.5.12-beta.1"
2929
},
3030
"build": {
31-
"openclawVersion": "2026.5.12-beta.1"
31+
"openclawVersion": "2026.5.12-beta.1",
32+
"bundledDist": false
3233
},
3334
"release": {
3435
"publishToClawHub": true,

test/scripts/bundled-plugin-build-entries.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ describe("bundled plugin build entries", () => {
110110
}
111111
});
112112

113-
it("keeps external-only Amazon providers out of bundled dist entries", () => {
113+
it("keeps external-only providers out of bundled dist entries", () => {
114114
const entries = listBundledPluginBuildEntries();
115115
const artifacts = listBundledPluginPackArtifacts();
116116

117-
for (const pluginId of ["amazon-bedrock", "amazon-bedrock-mantle"]) {
117+
for (const pluginId of ["amazon-bedrock", "amazon-bedrock-mantle", "anthropic-vertex"]) {
118118
expectNoPrefixMatches(Object.keys(entries), `extensions/${pluginId}/`);
119119
expectNoPrefixMatches(artifacts, `dist/extensions/${pluginId}/`);
120120
}

tsdown.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ const explicitNeverBundleDependencies = [
165165
"@lancedb/lancedb",
166166
"@larksuiteoapi/node-sdk",
167167
"@matrix-org/matrix-sdk-crypto-nodejs",
168+
"@slack/bolt",
169+
"@slack/web-api",
168170
"@vitest/expect",
169171
"matrix-js-sdk",
170172
"prism-media",

0 commit comments

Comments
 (0)