-
Notifications
You must be signed in to change notification settings - Fork 33
Frontend
Mountain Star edited this page Mar 31, 2022
·
10 revisions
https://www.npmjs.com/package/npm-check
When npm-check asks if dependency is still used
- Remove it in package.json
- Execute yarn install in the emberconsole inside the docker-image.
- Restart the docker-image
- Run tests in localhost:4200/tests
- If tests fail add dependency back to package.json
When npm-check tells you that a dependency is outdated
- Change the version to the version you want to upgrade it to
- Execute yarn install in the emberconsole inside the docker-image.
- Restart the docker-image
- Run tests in localhost:4200/tests
- If tests fail downgrade version to newest working version
After upgrading all dependencys in package.json check Dependabot for leftover security allerts
If security alerts are coming from a dependency not used in package.json check why it is used with yarn why <dependency_name>