aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorGravatar Abel Aoun <[email protected]>2023-07-26 15:35:54 +0200
committerGravatar GitHub <[email protected]>2023-07-26 15:35:54 +0200
commit11f71c91020348c8266c2fa30ee4de0e9e03fb95 (patch)
treec57b72dea4738569072f4d54e1850e0e940603a0 /.gitignore
parentBump version (diff)
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
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore12
1 files changed, 11 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 7c5d5ec..f96d6f1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
@@ -44,4 +54,4 @@ jspm_packages
/build_keycloak
/build
-/storybook-static \ No newline at end of file
+/storybook-static