0.0.14 • Published 2 years ago

@meecode/eas-build-notifier v0.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

EAS Build Notifier

Can be used to get notifications for the following npm scripts eas-build-post-install and eas-build-pre-upload-artifacts in combination with the Expo EAS build.

If there is an app.json file present then this will also be used to get more information.

Installing

npm install eas-build-notifier --save-dev

Configuration File

The configuration file holds an array of services. Configure only the services you want to use.

{
  "services": [
    {
      "name": "telegram",
      "config": {
        "token": "token",
        "chatID": "chatID"
      }
    },
    {
      "name": "discord",
      "config": {
        "webhookUrl": "url"
      }
    },
    {
      "name": "slack",
      "config": {
        "webhookUrl": "url"
      }
    },
    {
      "name": "teams",
      "config": {
        "webhookUrl": "url"
      }
    }
  ]
}

Telegram Notification Example

Supported platforms

  • Telegram
  • Slack
  • Discord
  • Teams

Telegram Prerequisites

Retrieve chatId

If you have the HTTP API Token use the following Link to get the chatId: https://codesandbox.io/s/get-telegram-chat-id-q3qkk

Slack

Create a webhook URL

Teams

Create a webhook URL: See Documentation

Example

See example folder.

Roadmap

Add support for the following services

  • Slack
  • Teams
  • Discord
  • Markdown support in addition to HTML support
  • Customizable messages

License

MIT

0.0.14

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago