Use the pattern that matches your repository layout.Documentation Index
Fetch the complete documentation index at: https://orderly.network/docs/llms.txt
Use this file to discover all available pages before exploring further.
Monorepo (pnpm workspace)
- Ensure the plugin package directory is included in
pnpm-workspace.yaml(e.g.packages/*, or the plugin folder path). - In the host
package.json:
- Run
pnpm installfrom the repo root.
pnpm why @scope/my-plugin resolves to the workspace package.
Local path (development)
When testing without publishing:Published npm
After publishing:@orderly.network/plugin-core (and other peers) with the host to avoid duplicate React or incompatible SDK instances.
Runtime registration
Regardless of how the package is linked, the host must:- Import the register function.
- Pass
plugins={[registerFn(...)]}onOrderlyAppProvider(or equivalent app provider used by the host).
Marketplace packages
orderly-devkit view <plugin-id> (authenticated) prints metadata including the npm package identifier and usagePrompt. Prefer following usagePrompt when present.