Publishing SDK Packages
Overview
The @made-open/sdk, @made-open/plugin-sdk, and @made-open/shared packages are published to npm using Changesets for version management and GitHub Actions for automated publishing.
All three packages use linked versioning — when any package changes, all three get the same version bump.
Setup (one-time)
- Create an npm account and join the
@made-openorganization - Create an automation token: npmjs.com → Access Tokens → Generate → Automation
- Add to GitHub: repo Settings → Secrets → Actions →
NPM_TOKEN
Making a Release
- Make your changes to
packages/sdk,packages/plugin-sdk, orpackages/shared - Run
pnpm changeset— select the affected packages, bump type (patch/minor/major), and write a summary - Commit the generated changeset file (in
.changeset/) and push tomain - CI creates a "Version Packages" PR that bumps versions in
package.jsonfiles - Review and merge the PR → CI publishes to npm automatically
Manual Publish (emergency)
npm login --scope=@made-open
pnpm release
Verifying Package Contents
Before publishing, you can check what files would be included:
pnpm -F @made-open/sdk pack --dry-run
pnpm -F @made-open/plugin-sdk pack --dry-run
pnpm -F @made-open/shared pack --dry-run
Package Details
| Package | Description |
|---|---|
@made-open/sdk | TypeScript SDK for integrating with the Made Open platform |
@made-open/plugin-sdk | SDK for building connector and channel plugins |
@made-open/shared | Shared types, Zod schemas, and event catalog |