fix: include codex plugin manifest in npm package
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
/// <reference types="bun-types" />
|
||||
|
||||
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)
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user