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
Migrated the repo to the PSA org and renamed it to dst-selector
Combined all non master branches into one branch called dev
Merged dev into master
Created a
.env
fileTried setting up ci/cd (blocked because of image file size)
Moved some secrets that were hard coded into the
.env
fileAudited packages
Removed unused packages
Upgraded to React 17
Upgraded to mui v5
Updated lots of other packages
Swapped
react-leaflet-draw
forreact-leaflet-draft
Swapped
react-daterange-picker
forreact-date-range
Removed a lot of warnings
Removed console.log()
Replaced
var
withlet
orconst
Removed several unused files
Removed
owner
,repo
,accessToken
,airtableBearerKey
,geocodeAuth
from.env
andkeys.js
Removed the last updated widget so we don’t need a github PAT anymore
Cleaned secrets from commit history
Made repo public
What still needs to be done