mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
build: keep external provider deps out of core dist
This commit is contained in:
@@ -28,7 +28,8 @@
|
||||
"pluginApi": ">=2026.5.12-beta.1"
|
||||
},
|
||||
"build": {
|
||||
"openclawVersion": "2026.5.12-beta.1"
|
||||
"openclawVersion": "2026.5.12-beta.1",
|
||||
"bundledDist": false
|
||||
},
|
||||
"release": {
|
||||
"publishToClawHub": true,
|
||||
|
||||
@@ -110,11 +110,11 @@ describe("bundled plugin build entries", () => {
|
||||
}
|
||||
});
|
||||
|
||||
it("keeps external-only Amazon providers out of bundled dist entries", () => {
|
||||
it("keeps external-only providers out of bundled dist entries", () => {
|
||||
const entries = listBundledPluginBuildEntries();
|
||||
const artifacts = listBundledPluginPackArtifacts();
|
||||
|
||||
for (const pluginId of ["amazon-bedrock", "amazon-bedrock-mantle"]) {
|
||||
for (const pluginId of ["amazon-bedrock", "amazon-bedrock-mantle", "anthropic-vertex"]) {
|
||||
expectNoPrefixMatches(Object.keys(entries), `extensions/${pluginId}/`);
|
||||
expectNoPrefixMatches(artifacts, `dist/extensions/${pluginId}/`);
|
||||
}
|
||||
|
||||
@@ -165,6 +165,8 @@ const explicitNeverBundleDependencies = [
|
||||
"@lancedb/lancedb",
|
||||
"@larksuiteoapi/node-sdk",
|
||||
"@matrix-org/matrix-sdk-crypto-nodejs",
|
||||
"@slack/bolt",
|
||||
"@slack/web-api",
|
||||
"@vitest/expect",
|
||||
"matrix-js-sdk",
|
||||
"prism-media",
|
||||
|
||||
Reference in New Issue
Block a user