Building and deploying
npm run buildThis writes dist/index.js and its source map; relatudePlugin({ sourcemap: false }) leaves the
map out. Raise version in definePlugin with each release, and deploy the plugin as
Shipping a plugin describes: under the site's wwwroot and listed in its CMS
settings, or embedded in a module (chapter 18).
Keep the three @relatude packages at one version, and upgrade them together:
npm install -D @relatude/sdk@1.1.0 @relatude/ui@1.1.0 @relatude/plugin-kit@1.1.0When the plugin uses something a newer SDK added, ask for that SDK in sdk ('^1.1').
Settings → About shows which SDK an installation's interface has.