Closed meganhkelley closed 3 years ago
Tools to be used:
npm list --depth=0t
npm ls --production
npm ls --development
npm outdated
yarn why [dependency]
The audit can be found in this spreadsheet
Generate a report using depcheck
Running: depcheck vets-website --ignores='eslint'
Running: depcheck content-build --ignores='eslint'
npm-check can also be used to find unused dependencies as well as its current versions.
Now that the audit is complete, we can take in consideration the following actions:
The audit contains a column called USED?
. the ?
represents that the dependency was not found. Those dependencies need to be verified and removed.
These upgrades usually don't affect the existing code and should be prioritized over the major upgrades.
These should be the latest since they are the hardest, specially if jumping several versions up.
After auditing our current dependencies, we will be removing the following unused dependencies:
Details
The purpose of this ticket is to investigate what software dependencies should be upgraded in frontend repos.
This should be done in vets-website, content-build, and vets-json-schema if applicable.
To Do:
Next steps (will be separate tickets)