Skip to content
This repository was archived by the owner on Dec 22, 2025. It is now read-only.

Latest commit

 

History

History
69 lines (47 loc) · 2.36 KB

File metadata and controls

69 lines (47 loc) · 2.36 KB

Contributing Guide

Helping Out

Pull requests are the best way to propose changes to the codebase. We actively welcome your pull requests:

  1. Fork the repo and create your branch from main.
  2. Add/update your code in the corresponding ./packages directory as necessary.
  3. Ensure documentation is up-to-date.
  4. Make sure your code formats and lints. (yarn format and yarn lint)
  5. Submit the pull request!

Issues / Feature Requests

We use GitHub issues to track public bugs and feature requests. Report a bug by opening a new issue; it's that easy!

Great Bug Reports tend to have:

  • A quick summary and/or background
  • Steps to reproduce
    • Be specific!
    • Give sample code if you can.
  • What you expected would happen
  • What actually happens
  • Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)

Coding Style

We use Prettier for consistent formatting of most files and Terraform built in fmt for Terraform specific infrastructure files.

Formatting settings for prettier are located in .prettierrc.

To format all packages:

yarn format

Developer Reference

  • Project setup is a Monorepo using Yarn workspaces. There are several API endpoint packages which are NodeJS lambda functions as well as the core server poller package. Shared/re-used code is located in the common package.

  • If you need to run any of the the NPM/Yarn commands on a system that may not have anything installed, we provide a docker-compose helper.

    docker-compose up
    
    # Then in another terminal:
    docker exec -it streaming-slack-notify bash
  • Slack Block Kit Builder

    Use the Slack debug payload from existing actions to seed a message builder and then iterate as necessary.

License

By contributing, you agree that your contributions will be licensed under the MIT license.


TechPivot  ·  GitHub @techpivot  ·  LinkedIn techpivot  ·  Twitter @techpivot