Remove unnecessary pages, components and libraries
Closed this issue · 3 comments
akshatnema commented
Description
There are numerous libraries/dependencies present inside website, out of which some are very outdated and some are being added but not currently used. Same is the case with some component files and pages like jobs, workshops, etc. Since, we are now in the verge of expanding the project, we should first cleanout the unnecessary parts from it.
Expected Solution
- Go through each dependencies in
package.json
, components and pages inside website codebase and figure it out what we are not using. - Remove such files both from the Next app and Cypress testing
sambhavgupta0705 commented
for this before opening the PR I think I should first note down all the unused libraries here
AKACHI-4 commented
Hey @akshatnema, could I help out and work on this issue with @sambhavgupta0705 ? Here are my findings:
- We can check all outdated dependencies using
npm-check
:
- To check the unused dependencies, we can use
depcheck
:
I want to know if there could be a more efficient way to identify unused components. Otherwise, it will require manual checking.
sambhavgupta0705 commented
Closing this as completed