Skip to content

refactor: bundle shared schemas for npm publishing - #31

Merged
willwearing merged 1 commit into
mainfrom
fix/single-npm-package
Mar 22, 2026
Merged

refactor: bundle shared schemas for npm publishing#31
willwearing merged 1 commit into
mainfrom
fix/single-npm-package

Conversation

@willwearing

Copy link
Copy Markdown
Owner

Summary

  • Bundle @graspful/shared schemas directly into @graspful/cli and @graspful/mcp
  • Remove @graspful/shared as a dependency from both publishable packages
  • @graspful/shared stays private (workspace-only, used by backend)
  • Update GitHub Action to publish CLI + MCP (not shared)
  • Both packages are now independently installable from npm

Following the industry pattern (Railway, Supabase, Stripe, Neon, Sentry): CLI and MCP server are separate packages.

Test plan

  • packages/cli builds clean, --help works
  • packages/mcp builds clean
  • No @graspful/shared in either package's dependencies

🤖 Generated with Claude Code

- Copy shared schemas + quality gate into both packages
- Remove @graspful/shared dependency from CLI and MCP
- @graspful/shared stays private (workspace-only, used by backend)
- Update GitHub Action to publish @graspful/cli and @graspful/mcp
- Both packages are now independently publishable to npm

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Mar 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
graspful Error Error Mar 22, 2026 1:04pm
web Error Error Mar 22, 2026 1:04pm

@willwearing
willwearing merged commit db991f7 into main Mar 22, 2026
2 of 4 checks passed
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.

1 participant