From 4a4a9588603e9e2d164fe3fbd0720afbad5ba604 Mon Sep 17 00:00:00 2001 From: sickn33 Date: Sun, 29 Mar 2026 18:37:02 +0200 Subject: [PATCH] fix(release): Stage Claude plugin manifests explicitly Replace the derived .claude-plugin directory entry with the concrete\nplugin manifest files so release:prepare can git-add them without\ntripping over the ignore rule for the directory itself.\n\nAdd matching test updates for the workflow contract. --- tools/config/generated-files.json | 3 ++- tools/scripts/tests/automation_workflows.test.js | 3 ++- tools/scripts/tests/workflow_contracts.test.js | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/config/generated-files.json b/tools/config/generated-files.json index e9d17032..ab6969bb 100644 --- a/tools/config/generated-files.json +++ b/tools/config/generated-files.json @@ -10,7 +10,8 @@ "apps/web-app/public/sitemap.xml", "apps/web-app/public/skills.json.backup", ".agents/plugins/", - ".claude-plugin/", + ".claude-plugin/plugin.json", + ".claude-plugin/marketplace.json", "plugins/" ], "mixedFiles": [ diff --git a/tools/scripts/tests/automation_workflows.test.js b/tools/scripts/tests/automation_workflows.test.js index d44eddc1..89538287 100644 --- a/tools/scripts/tests/automation_workflows.test.js +++ b/tools/scripts/tests/automation_workflows.test.js @@ -62,7 +62,8 @@ for (const filePath of [ "apps/web-app/public/skills.json.backup", "data/plugin-compatibility.json", ".agents/plugins/", - ".claude-plugin/", + ".claude-plugin/plugin.json", + ".claude-plugin/marketplace.json", "plugins/", ]) { assert.ok( diff --git a/tools/scripts/tests/workflow_contracts.test.js b/tools/scripts/tests/workflow_contracts.test.js index 0318e46d..f53afe73 100644 --- a/tools/scripts/tests/workflow_contracts.test.js +++ b/tools/scripts/tests/workflow_contracts.test.js @@ -19,7 +19,8 @@ const contract = { "data/plugin-compatibility.json", "data/aliases.json", ".agents/plugins/", - ".claude-plugin/", + ".claude-plugin/plugin.json", + ".claude-plugin/marketplace.json", "plugins/", ], mixedFiles: ["README.md"],