Calculate the APY of a farm bot.
This project uses TypeScript. It's recommended to get TypeScript set up for your editor to get a really great in-editor experience with type checking and auto-complete. To run type checking across the whole project, run yarn typecheck
.
For lower level tests of utilities and individual modules, we use Jest.
This project uses ESLint for linting. That is configured in .eslintrc.js
.
We use Prettier for auto-formatting. It's recommended to install an editor plugin (like the VSCode Prettier plugin) to get auto-formatting on save. There's also a yarn format
script you can run to format all files in the project.
We use GitHub Actions for continuous integration and deployment (CI/CD). Anything that gets into the main
branch will be deployed using yarn deploy
after running tests/build/etc.
Renovate ensures our dependencies are kept up to date. It's configured with our shared config in renovate.json5
.
New versions of farm-bot-apy
are released to NPM automatically when PR's are merged to main
. Remember to use conventional commits
so that semantic-release
can parse your commit messages and update version numbers appropriately.