@playrunner/slack
v0.1.3
Published
Slack integration package for Playrunner.
Readme
@playrunner/slack
Slack OAuth, incoming webhooks, channel selection, and workflow notifications for Playrunner.
Install
npm install @playrunner/slackAdd the package as a direct production dependency of the Playrunner frontend, API, and orchestrator. Each build discovers the contribution declared for its surface.
Package surfaces
@playrunner/slackexports the Slack integration, configuration panel, and settings UI.@playrunner/slack/apiexports OAuth and channel API routes.@playrunner/slack/orchestratorexports webhook and Bot API executors.@playrunner/slack/e2eexports the package-owned E2E contribution.@playrunner/slack/assets/slack.svgexports the package-owned icon.
import slackIntegration, { SlackSettingsModal } from '@playrunner/slack';
import slackApiContribution from '@playrunner/slack/api';
import slackOrchestratorContribution from '@playrunner/slack/orchestrator';Testing
Run the package checks from the repository root:
npm run format:check --prefix packages/slack
npm run lint --prefix packages/slack
npm run typecheck --prefix packages/slack
npm run test:e2e:mock -- --grep @slackThe E2E scenario persists and removes a Slack webhook connection. It runs in deterministic mock mode through the shared Playrunner browser harness, which uses the real frontend, API, authentication, and dedicated E2E database. No Slack credentials or live provider requests are required.
Documentation
See the Slack integration documentation for OAuth and webhook setup, actions, exports, and build integration.
License
Licensed under the Playrunner Sustainable Use License.
