Skip to content
Written for developers. Just using FluxPlugs? Go to the user guide.

Maintain bundled plugins

Bundled plugins use the same public SDK and packaging tools as external plugins. Inclusion in the catalog does not bypass trust or automatically enable them.

Keep implementation, selectors, manifest, assets, tests, and README in the plugin directory. Import only public SDK types and helpers rather than runtime or adapter internals. The README is rendered on the plugin’s page in the plugin store and the manifest’s description is its card text, so write both for users. An optional icon.png in the plugin folder (square PNG, 64 to 512 px, under 100 KB; 128 or more stays sharp on high-density screens) is shown on its card and page; without one the store shows the plugin’s initial.

Declare the minimum capabilities. Preserve ID and compatible settings/storage across updates, and make cancellation side-effect-free.

Terminal window
pnpm build
pnpm catalog:build

The root build compiles packages/plugins and builds the catalog. catalog:build prepares the tooling and catalog when working on that path directly.

Use node packages/plugin-tools/cli.mjs pack plugins/<id> to produce a distributable ZIP. Building rewrites the manifest’s integrity hash. Commit the updated fluxplug.json: CI rebuilds every plugin and fails if a committed hash differs.

Confirm new catalog entries install disabled and that updates require explicit action and fresh trust. Test retained compatible settings/storage, repeated enable/disable, and cleanup.

Run the plugin’s tests, architecture checks, and relevant fixture acceptance. If the feature or permission set changes, update both the user-facing bundled plugins article and the bundled-plugin examples page.

FluxPlugs is an independent project, not affiliated with or endorsed by Fluxer.