diff --git a/package.json b/package.json index 3dd20d650..3760bc61f 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "packages/shared-skills/skills", "packages/omo-codex/marketplace.json", "packages/omo-codex/plugin", + "packages/omo-codex/plugin/.codex-plugin", "packages/omo-codex/scripts" ], "exports": { diff --git a/src/cli/install-codex/codex-package-manifest.test.ts b/src/cli/install-codex/codex-package-manifest.test.ts new file mode 100644 index 000000000..eb7a7749c --- /dev/null +++ b/src/cli/install-codex/codex-package-manifest.test.ts @@ -0,0 +1,17 @@ +/// + +import { describe, expect, test } from "bun:test" +import packageJson from "../../../package.json" with { type: "json" } + +describe("Codex package manifest", () => { + test("includes the aggregate Codex plugin manifest in npm packages", () => { + // given + const files = packageJson.files + + // when + const includesCodexManifestDirectory = files.includes("packages/omo-codex/plugin/.codex-plugin") + + // then + expect(includesCodexManifestDirectory).toBe(true) + }) +})