From c826305060bfe6968220ff852974f56ce5efdf4c Mon Sep 17 00:00:00 2001 From: Affaan Mustafa Date: Sun, 12 Apr 2026 23:56:58 -0700 Subject: [PATCH] fix: keep runtime schemas in npm package --- package.json | 1 + tests/scripts/npm-publish-surface.test.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 70649ddc..7cf2e20c 100644 --- a/package.json +++ b/package.json @@ -57,6 +57,7 @@ "manifests/", "mcp-configs/", "rules/", + "schemas/", "scripts/catalog.js", "scripts/claw.js", "scripts/codex/merge-codex-config.js", diff --git a/tests/scripts/npm-publish-surface.test.js b/tests/scripts/npm-publish-surface.test.js index 3d275393..c3c320c6 100644 --- a/tests/scripts/npm-publish-surface.test.js +++ b/tests/scripts/npm-publish-surface.test.js @@ -62,6 +62,7 @@ function buildExpectedPublishPaths(repoRoot) { ".mcp.json", "install.sh", "install.ps1", + "schemas", "agent.yaml", "VERSION", ] @@ -109,6 +110,7 @@ function main() { ".gemini/GEMINI.md", ".claude-plugin/plugin.json", ".codex-plugin/plugin.json", + "schemas/install-state.schema.json", "skills/backend-patterns/SKILL.md", ]) { assert.ok( @@ -121,7 +123,6 @@ function main() { "contexts/dev.md", "examples/CLAUDE.md", "plugins/README.md", - "schemas/hooks.schema.json", "scripts/ci/catalog.js", "skills/skill-comply/SKILL.md", ]) {