Problem: We have instances where we install a frontend library with yarn, but then we don't actually end up using it in our code. We should try to keep our frontend package size as small as possible and keep only the essentials to make our builds run faster
Solution: Use depcheck to create a Github Action that validates that there are no frontend libraries in yarn.lock that really don't get used.
Problem: We have instances where we install a frontend library with
yarn
, but then we don't actually end up using it in our code. We should try to keep our frontend package size as small as possible and keep only the essentials to make our builds run fasterSolution: Use depcheck to create a Github Action that validates that there are no frontend libraries in
yarn.lock
that really don't get used.Branch Setup: