Skip to content

Commit

Permalink
Update .gitignore - yarn cache dir
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bzah authored Jul 26, 2023
1 parent 161ebea commit 11f71c9
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ jspm_packages
# Optional npm cache directory
.npm

# yarn cache directory
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions


# Optional REPL history
.node_repl_history

Expand All @@ -44,4 +54,4 @@ jspm_packages

/build_keycloak
/build
/storybook-static
/storybook-static

0 comments on commit 11f71c9

Please sign in to comment.