I upgraded yarn from v1.22.0 to v2.0.0-rc.29. It generated .yarn folder with:
- folders: cache, releases, unplugged
- files: build-state.yml
Should I add whole .yarn folder to .gitignore? Or maybe some nested folders in there like .yarn/cache?
Also, what to do with .pnp.js. Do I commit it, or add to .gitignore