Repository Cleanup

Introduction

Before any real development of new features or bug fixes could happen the project needed to get cleaned up to remove outdated packages, unused variables, and warnings in the developer console

What we’ve done so far

  1. Migrated the repo to the PSA org and renamed it to dst-selector

  2. Combined all non master branches into one branch called dev

  3. Merged dev into master

  4. Created a .env file

  5. Tried setting up ci/cd (blocked because of image file size)

  6. Moved some secrets that were hard coded into the .env file

  7. Audited packages

    1. Removed unused packages

    2. Upgraded to React 17

    3. Upgraded to mui v5

    4. Updated lots of other packages

    5. Swapped react-leaflet-draw for react-leaflet-draft

    6. Swapped react-daterange-picker for react-date-range

  8. Removed a lot of warnings

  9. Removed console.log()

  10. Replaced var with let or const

  11. Removed several unused files

  12. Removed owner , repo, accessToken, airtableBearerKey, geocodeAuth from .env and keys.js

  13. Removed the last updated widget so we don’t need a github PAT anymore

  14. Cleaned secrets from commit history

  15. Made repo public

What still needs to be done