When you would like to make an edit to one of the lists in this repo, please only edit the .ts files. This is for better type control and to reduce the chance of errors. To apply the changes run yarn build & yarn legacy-build in the console.
For example, to edit a farm:
- Open the
constants/farms.tsfile - Make the edits & save
- Run
yarn buildandyarn legacy-buildto apply these changes to the corresponding JSON files - Run
yarn testto make sure the JSON files are valid - Commit to the Github repo
Humans interact with the TypeScript files & our services pull in the JSON files! ❤️