1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00

ignore .yarn changes and delete existing tracked files (#7333)

This PR follows Yarn's official suggestion on [which files should be
gitignored](https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored)
and also deletes the `install-state.gz` files that are already
committed.

I've used the gitignore option that isn't for "zero-installs" because
I'm not sure whether we're using them or not. I'm guessing we're not,
but we can always update that later if we are.

The doc says that the install-state file "is an optimization file that
you shouldn't ever have to commit. It simply stores the exact state of
your project so that the next commands can boot without having to
resolve your workspaces all over again."
This commit is contained in:
Thomas Heartman 2024-06-10 13:41:11 +02:00 committed by GitHub
parent f0f339ead3
commit 544613245f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

9
.gitignore vendored
View File

@ -61,3 +61,12 @@ website/docs/reference/api/**/sidebar.js
website/docs/reference/api/**/**.info.mdx
website/docs/generated
reports/jest-junit.xml
# Yarn (https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored)
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions