@bonvoy/plugin-teams
v0.12.0
Published
🚢 Microsoft Teams notification plugin for bonvoy
Downloads
17
Maintainers
Readme
@bonvoy/plugin-teams
Microsoft Teams notification plugin for bonvoy. Sends release notifications via Teams webhooks.
Installation
npm install @bonvoy/plugin-teamsUsage
- Create an Incoming Webhook in Teams
- Configure the plugin:
// bonvoy.config.js
export default {
plugins: [
['@bonvoy/plugin-teams', {
webhookUrl: process.env.TEAMS_WEBHOOK_URL,
}]
]
};Configuration
| Option | Type | Required | Description |
|--------|------|----------|-------------|
| webhookUrl | string | Yes | Teams webhook URL |
| onSuccess | boolean | No | Send on success (default: true) |
| onFailure | boolean | No | Send on failure (default: false) |
| includeChangelog | boolean | No | Include changelog (default: true) |
Message Format
Uses MessageCard format with:
- Color-coded theme (green/red)
- Package facts with links
- Changelog sections
Environment Variables
TEAMS_WEBHOOK_URL=https://outlook.office.com/webhook/...License
MIT
