Update .gitignore - yarn cache dir

Yarn produce many files when running yarn install.
According to their doc[1], most of the files should be ignored, unless 
a zero-install strategy is wanted (which ois not the case here AFAIK).

[1] https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
This commit is contained in:
Abel Aoun 2023-07-26 15:35:54 +02:00 committed by GitHub
parent 161ebea141
commit 11f71c9102
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

10
.gitignore vendored
View file

@ -33,6 +33,16 @@ jspm_packages
# Optional npm cache directory # Optional npm cache directory
.npm .npm
# yarn cache directory
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
# Optional REPL history # Optional REPL history
.node_repl_history .node_repl_history