From 9d849711f16694ed985dd09e4b99af36d534c4b4 Mon Sep 17 00:00:00 2001 From: Affaan Mustafa Date: Sun, 12 Apr 2026 02:50:14 -0700 Subject: [PATCH] fix: ship all versioned release metadata --- package.json | 5 ++++- tests/scripts/build-opencode.test.js | 12 ++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1a569589..e34903d0 100644 --- a/package.json +++ b/package.json @@ -90,14 +90,17 @@ "scripts/uninstall.js", "skills/", "AGENTS.md", + "agent.yaml", ".claude-plugin/plugin.json", + ".claude-plugin/marketplace.json", ".claude-plugin/README.md", ".codex-plugin/plugin.json", ".codex-plugin/README.md", ".mcp.json", "install.sh", "install.ps1", - "llms.txt" + "llms.txt", + "VERSION" ], "bin": { "ecc": "scripts/ecc.js", diff --git a/tests/scripts/build-opencode.test.js b/tests/scripts/build-opencode.test.js index 56b30f43..b53fabaa 100644 --- a/tests/scripts/build-opencode.test.js +++ b/tests/scripts/build-opencode.test.js @@ -67,6 +67,18 @@ function main() { packagedPaths.has(".opencode/dist/tools/index.js"), "npm pack should include compiled OpenCode tool output" ) + assert.ok( + packagedPaths.has(".claude-plugin/marketplace.json"), + "npm pack should include .claude-plugin/marketplace.json" + ) + assert.ok( + packagedPaths.has("agent.yaml"), + "npm pack should include agent.yaml" + ) + assert.ok( + packagedPaths.has("VERSION"), + "npm pack should include VERSION" + ) }], ]