fix(release): scope dependency conflicts to bundled plugins (#113350)

This commit is contained in:
Peter Steinberger
2026-07-24 08:08:55 -07:00
committed by GitHub
parent e430a1beb2
commit 4e9cba2aba
2 changed files with 15 additions and 0 deletions

View File

@@ -50,6 +50,11 @@ export function collectBundledPluginPackageDependencySpecs(bundledPluginsDir) {
for (const packageJsonPath of packageJsonPaths) {
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, "utf8"));
// External official plugins own isolated npm projects, so their dependency
// specs do not need to match packages bundled into the root distribution.
if (packageJson.openclaw?.build?.bundledDist === false) {
continue;
}
const pluginId = path.basename(path.dirname(packageJsonPath));
for (const [name, spec] of collectRuntimeDependencySpecs(packageJson)) {
const existing = specs.get(name);