Skip to content

chore(connector-sdk): publish to npm#88

Merged
graydawnc merged 1 commit intomainfrom
feat/publish-connector-sdk
Apr 15, 2026
Merged

chore(connector-sdk): publish to npm#88
graydawnc merged 1 commit intomainfrom
feat/publish-connector-sdk

Conversation

@graydawnc
Copy link
Copy Markdown
Collaborator

Summary

  • Drops "private": true from @spool/connector-sdk so community connector authors can install the SDK via npm instead of using file paths or tarballs
  • Adds publishConfig.access: public, repository, license, keywords, prepack hook
  • No code changes, no runtime behavior change for first-party connectors (they continue to resolve the bundled SDK at ~/.spool/connectors/node_modules/@spool/connector-sdk at runtime)

Why now

P2 work on community plugin validation — currently external authors have no clean way to declare a dev-time dependency on the SDK. Publishing unblocks real community plugin development and lets us actually exercise the spool://connector/install/ trust flow with a non-@spool-lab/* plugin.

Packaging verification

  • pnpm pack produces a tarball with only dist/, README.md, and package.json (no tests — tsconfig excludes *.test.ts)
  • vitest passes (12/12)

After merge

  • pnpm --filter @spool/connector-sdk publish --access public under the spool-lab npm org
  • Future SDK bumps follow normal 0.x semver (breaking changes allowed, signal via minor bump)

Test plan

  • pnpm --filter @spool/connector-sdk build passes
  • pnpm --filter @spool/connector-sdk test passes
  • pnpm pack tarball contents verified (no src, no tests)
  • pnpm publish --dry-run clean

🤖 Generated with Claude Code

Drop the private flag so community connector authors can pull the SDK
types/runtime directly instead of shimming it via file: or tarball.
Add publishConfig, repository, license, keywords, and a prepack hook
so `pnpm publish` produces a clean tarball (tests already excluded
via tsconfig; dist-only files list unchanged).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@graydawnc graydawnc merged commit 128fb1f into main Apr 15, 2026
3 checks passed
@graydawnc graydawnc deleted the feat/publish-connector-sdk branch April 15, 2026 07:50
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