asyncapi/website

Remove unnecessary pages, components and libraries

Closed this issue · 3 comments

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

cc: @anshgoyalevil @derberg

for this before opening the PR I think I should first note down all the unused libraries here

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 :

image

  • To check the unused dependencies, we can use depcheck :

image

I want to know if there could be a more efficient way to identify unused components. Otherwise, it will require manual checking.

Closing this as completed