Pull requests are the best way to propose changes to the codebase. We actively welcome your pull requests:
- Fork the repo and create your branch from
main. - Add/update your code in the corresponding
./packagesdirectory as necessary. - Ensure documentation is up-to-date.
- Make sure your code formats and lints. (
yarn formatandyarn lint) - Submit the pull request!
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)
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-
Project setup is a Monorepo using Yarn workspaces. There are several API endpoint packages which are NodeJS lambda functions as well as the core
serverpoller package. Shared/re-used code is located in thecommonpackage. -
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
-
Use the Slack debug payload from existing actions to seed a message builder and then iterate as necessary.
By contributing, you agree that your contributions will be licensed under the MIT license.
TechPivot · GitHub @techpivot · LinkedIn techpivot · Twitter @techpivot