Skip to Content
sdeck docs

Publishing

Try it, publish it to npm, and release new versions.

Trying it

  • The deck preview runs your actions without a Stream Deck. Try presses its keys.
  • The composer's Test values box draws a look with values you type.
  • Activity shows every run, step by step, and what failed. context.log(...) writes to the console of the app (bun run dev prints it).

Publishing

  1. Pick a name that is free on npm, like sdeck-plugin-weather or @you/sdeck-weather, and set it as name in package.json and id in createPlugin (they must match).
  2. Keep the sdeck-plugin keyword: Studio's plugin store lists packages that have it.
  3. Publish with bun publish or npm publish. The TypeScript in src is published as it is; sdeck runs it directly, so there is nothing to build.
  4. For each release, raise version in package.json and in createPlugin.

It shows up in Plugins → Discover, and on sdeck.one/plugins within an hour, with its README. People can also type its name into the box on the Plugins page, or follow an install link from your own site. Studio offers them each new version there (the one npm calls latest).

Verify that it is yours

A verified plugin shows you as its author on sdeck.one, marks your comments, and lets you add screenshots to its page.

  1. Set repository in package.json to the plugin's repository on GitHub, and publish that version.
  2. On sdeck.one, sign in with a GitHub account that owns or maintains the repository.
  3. Open the plugin's page and claim it.

Checklist

  • The id equals the package name, and the versions match.
  • react and @sdeck/* are peer dependencies, never bundled.
  • permissions has only what the plugin uses, the same in package.json and in createPlugin, and parts that need less say so.
  • Actions that only show something are display; fields for looks are appearance.
  • package.json has an icon in its sdeck field.
  • Every action has an icon, and a look if it is headless.
  • Long work listens to signal; connections use ManagedConnection.
  • Settings that need explaining have a description; secrets use setting.secret.
  • Fields that can be wrong are required or have a validate.
  • Onboarding covers whatever must be set up before the first key works.

On this page