From 11f71c91020348c8266c2fa30ee4de0e9e03fb95 Mon Sep 17 00:00:00 2001 From: Abel Aoun Date: Wed, 26 Jul 2023 15:35:54 +0200 Subject: [PATCH] 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 --- .gitignore | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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