Skip to content

Bundle skill/ directory in published package - #13

Merged
joerj123 merged 1 commit into
mainfrom
bundle-skill-in-package
Jun 11, 2026
Merged

Bundle skill/ directory in published package#13
joerj123 merged 1 commit into
mainfrom
bundle-skill-in-package

Conversation

@joerj123

Copy link
Copy Markdown
Collaborator

What

Add the skill/ directory to the package files allowlist so SKILL.md and its reference files are included in the published npm package (and npm pack/pnpm pack tarball).

Why

The skill wasn't part of the package files list, so it was dropped from the published artifact. Bundling it means the skill ships and versions in lockstep with the CLI binary — installing @shopify/shop-cli makes the skill available at node_modules/@shopify/shop-cli/skill/SKILL.md.

Changes

  • package.json: add "skill" to files
  • Added a changeset (patch)

Verification

pnpm pack now includes:

package/skill/SKILL.md
package/skill/references/catalog-mcp.md
package/skill/references/direct-api.md
package/skill/references/legal.md
package/skill/references/safety.md

@joerj123
joerj123 merged commit 0c0614b into main Jun 11, 2026
1 check passed
@joerj123
joerj123 deleted the bundle-skill-in-package branch June 11, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants