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