fix: keep runtime schemas in npm package

This commit is contained in:
Affaan Mustafa
2026-04-12 23:56:58 -07:00
parent bd2aec48ed
commit c826305060
2 changed files with 3 additions and 1 deletions

View File

@@ -57,6 +57,7 @@
"manifests/", "manifests/",
"mcp-configs/", "mcp-configs/",
"rules/", "rules/",
"schemas/",
"scripts/catalog.js", "scripts/catalog.js",
"scripts/claw.js", "scripts/claw.js",
"scripts/codex/merge-codex-config.js", "scripts/codex/merge-codex-config.js",

View File

@@ -62,6 +62,7 @@ function buildExpectedPublishPaths(repoRoot) {
".mcp.json", ".mcp.json",
"install.sh", "install.sh",
"install.ps1", "install.ps1",
"schemas",
"agent.yaml", "agent.yaml",
"VERSION", "VERSION",
] ]
@@ -109,6 +110,7 @@ function main() {
".gemini/GEMINI.md", ".gemini/GEMINI.md",
".claude-plugin/plugin.json", ".claude-plugin/plugin.json",
".codex-plugin/plugin.json", ".codex-plugin/plugin.json",
"schemas/install-state.schema.json",
"skills/backend-patterns/SKILL.md", "skills/backend-patterns/SKILL.md",
]) { ]) {
assert.ok( assert.ok(
@@ -121,7 +123,6 @@ function main() {
"contexts/dev.md", "contexts/dev.md",
"examples/CLAUDE.md", "examples/CLAUDE.md",
"plugins/README.md", "plugins/README.md",
"schemas/hooks.schema.json",
"scripts/ci/catalog.js", "scripts/ci/catalog.js",
"skills/skill-comply/SKILL.md", "skills/skill-comply/SKILL.md",
]) { ]) {