()
| 19 | } |
| 20 | |
| 21 | function makeVersionFixture() { |
| 22 | const root = makeTempDir(); |
| 23 | |
| 24 | writeJson(path.join(root, "package.json"), { |
| 25 | name: "@openai/codex-plugin-cc", |
| 26 | version: "1.0.2" |
| 27 | }); |
| 28 | writeJson(path.join(root, "package-lock.json"), { |
| 29 | name: "@openai/codex-plugin-cc", |
| 30 | version: "1.0.2", |
| 31 | lockfileVersion: 3, |
| 32 | packages: { |
| 33 | "": { |
| 34 | name: "@openai/codex-plugin-cc", |
| 35 | version: "1.0.2" |
| 36 | } |
| 37 | } |
| 38 | }); |
| 39 | writeJson(path.join(root, "plugins", "codex", ".claude-plugin", "plugin.json"), { |
| 40 | name: "codex", |
| 41 | version: "1.0.2" |
| 42 | }); |
| 43 | writeJson(path.join(root, ".claude-plugin", "marketplace.json"), { |
| 44 | metadata: { |
| 45 | version: "1.0.2" |
| 46 | }, |
| 47 | plugins: [ |
| 48 | { |
| 49 | name: "codex", |
| 50 | version: "1.0.2" |
| 51 | } |
| 52 | ] |
| 53 | }); |
| 54 | |
| 55 | return root; |
| 56 | } |
| 57 | |
| 58 | test("bump-version updates every release manifest", () => { |
| 59 | const root = makeVersionFixture(); |
no test coverage detected