This PR implements depcheck as a GitHub Action in order to validate that there are no unused frontend libraries in the yarn.lock file. The goal is to reduce the package size and improve build times by removing unnecessary dependencies.
Summary of Changes
Added a new job for depcheck in the .github/workflows/main.yml file to run depcheck on the frontend codebase.
Created a new file, .github/workflows/depcheck.yml, to define the depcheck workflow with installation and execution steps.
Modified the README.md file to include instructions on running depcheck locally and interpreting the results.
Added a new script in the package.json file for running depcheck locally.
Please review and merge this PR to implement depcheck as a GitHub Action.
Fixes #895.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/depcheck-sweep-action_1
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.
Description
This PR implements depcheck as a GitHub Action in order to validate that there are no unused frontend libraries in the yarn.lock file. The goal is to reduce the package size and improve build times by removing unnecessary dependencies.
Summary of Changes
Please review and merge this PR to implement depcheck as a GitHub Action.
Fixes #895.
To checkout this PR branch, run the following command in your terminal:
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.