Skip to content
GitHubXDiscord

Integrations

Adapters wrap external state or events as Triggery primitives; integrations live on the developer-experience side — they ship with your tooling, not with your runtime.

PackageWhat it does
@triggery/vite npmVite plugin: auto-imports every *.trigger.ts file via a virtual:triggery-registry module and supports HMR for trigger edits. No import './triggers/foo.trigger' by hand.

Webpack and Rspack auto-discovery plugins are on the roadmap for the 1.0 cycle.

PackageWhat it does
@triggery/eslint-plugin npmESLint 9 flat-config plugin. Eight rules: no-event-cascade, no-dynamic-id, hook-rules, exhaustive-conditions, exhaustive-required, max-handler-size, max-ports-per-trigger, prefer-named-hook. Ships recommended and strict presets.
@triggery/codemod npmts-morph codemods. extract-trigger pulls a useEffect block into a *.trigger.ts file; migrate-from-listener-middleware generates one trigger per RTK startListening call. CLI and programmatic API.
PackageWhat it does
@triggery/cli npmtriggery create (scaffold a project from templates via giget), triggery scaffold trigger (new *.trigger.ts file), triggery graph (print the trigger graph as JSON / DOT / Markdown), triggery lint (run ESLint with the recommended preset shimmed in).
PackageWhat it does
@triggery/devtools-redux npmMiddleware that streams runtime events into the Redux DevTools browser extension. Labels actions triggery/<id>/fire and friends. Works whether or not you actually use Redux.
@triggery/devtools-panel npmDrop-in React components for in-app inspection — <InspectorView>, <TriggerSnapshotView>. Ship them behind a feature flag in dev.
@triggery/devtools-bridge npminstallDevtoolsBridge(runtime) — page-side bridge that exposes the runtime for external inspectors (Chrome extension, standalone panel).
Chrome DevTools extensionLoad unpacked from extensions/chrome-devtools. Live inspector panel over the devtools-bridge.
  • @triggery/devtools-replay — record / replay / time-travel.
  • @triggery/otel — one OpenTelemetry span per handler run.
  • @triggery/sentry — Sentry breadcrumbs adapter.
  • @triggery/broadcast — multi-tab sync via BroadcastChannel.
  • VS Code extension — “used by N triggers” lens, “Go to trigger” navigation.