fix: add cursor-marketplace as release-please component (#315)

This commit is contained in:
Trevin Chow
2026-03-18 18:47:00 -07:00
committed by GitHub
parent 88c89bc204
commit 838aeb79d0
10 changed files with 89 additions and 6 deletions

View File

@@ -34,9 +34,18 @@ describe("release component detection", () => {
])
})
test("maps marketplace metadata without bumping plugin components", () => {
test("maps claude marketplace metadata without bumping plugin components", () => {
const components = detectComponentsFromFiles([".claude-plugin/marketplace.json"])
expect(components.get("marketplace")).toEqual([".claude-plugin/marketplace.json"])
expect(components.get("cursor-marketplace")).toEqual([])
expect(components.get("compound-engineering")).toEqual([])
expect(components.get("coding-tutor")).toEqual([])
})
test("maps cursor marketplace metadata to cursor-marketplace component", () => {
const components = detectComponentsFromFiles([".cursor-plugin/marketplace.json"])
expect(components.get("cursor-marketplace")).toEqual([".cursor-plugin/marketplace.json"])
expect(components.get("marketplace")).toEqual([])
expect(components.get("compound-engineering")).toEqual([])
expect(components.get("coding-tutor")).toEqual([])
})