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 devprints it).
Publishing
- Pick a name that is free on npm, like
sdeck-plugin-weatheror@you/sdeck-weather, and set it asnameinpackage.jsonandidincreatePlugin(they must match). - Keep the
sdeck-pluginkeyword: Studio's plugin store lists packages that have it. - Publish with
bun publishornpm publish. The TypeScript insrcis published as it is; sdeck runs it directly, so there is nothing to build. - For each release, raise
versioninpackage.jsonand increatePlugin.
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.
- Set
repositoryinpackage.jsonto the plugin's repository on GitHub, and publish that version. - On sdeck.one, sign in with a GitHub account that owns or maintains the repository.
- Open the plugin's page and claim it.
Checklist
- The
idequals the package name, and the versions match. reactand@sdeck/*are peer dependencies, never bundled.permissionshas only what the plugin uses, the same inpackage.jsonand increatePlugin, and parts that need less say so.- Actions that only show something are
display; fields for looks areappearance. package.jsonhas aniconin itssdeckfield.- Every action has an
icon, and alookif it is headless. - Long work listens to
signal; connections useManagedConnection. - Settings that need explaining have a
description; secrets usesetting.secret. - Fields that can be wrong are
requiredor have avalidate. - Onboarding covers whatever must be set up before the first key works.