Recently I installed several npm packages, which I then have to remove. Now I'm not sure about the yarn.lock file and think it might have some legacy code inside it.
Is it a good idea to delete yarn.lock and generate it again by running yarn install?