You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After investigating a recent Dependabot commit, I realized that there were quite a few direct dependencies in the package.json that were left over from x-pack and not removed.
I used yarn-check to identify the unused dependencies. This isn't a perfect solution because there are a lot of false positives - many of the packages listed as unused were indeed required. I resolved to go through each of them and search the entire code base for a reference and then confirm the usage in the original commit.
After investigating a recent Dependabot commit, I realized that there were quite a few direct dependencies in the
package.json
that were left over from x-pack and not removed.I used
yarn-check
to identify the unused dependencies. This isn't a perfect solution because there are a lot of false positives - many of the packages listed as unused were indeed required. I resolved to go through each of them and search the entire code base for a reference and then confirm the usage in the original commit.Attached is the output from
yarn-check
.yarn-check.txt
The text was updated successfully, but these errors were encountered: