Skip to content

Commit

Permalink
Applies Yarn 4.x .gitignore settings (#168)
Browse files Browse the repository at this point in the history
* chore(firebase): lock @celo/ package versions

To avoid resolution conflict. We'll update versions later

* chore(gitignore): adds Yarn 4.x settings to gitignore

Copied the setting for "If you're not using Zero-Installs" from the official Yarn 4.x documentation.

Source: https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored

Context regarding "Zero-installs": https://yarnpkg.com/features/caching#zero-installs

* chore(gitignore): deletes existing `.yarn/install-state.gz` file

This was mistakenly committed in the past and is not necessary.

> `.yarn/install-state.gz` 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.

Source: https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
  • Loading branch information
arthurgousset authored Mar 29, 2024
1 parent 0eb2dbb commit 2746bb4
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 9 deletions.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,18 @@ dist/
npm-debug.log
yarn-error.log

# Yarn
# Copied from the official Yarn 4.x documentation.
# Source: https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions


# BUCK
buck-out/
\.buckd/
Expand Down
Binary file modified .yarn/install-state.gz
Binary file not shown.
6 changes: 3 additions & 3 deletions apps/firebase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"build:rules": "firebase-bolt database-rules.bolt"
},
"dependencies": {
"@celo/connect": "^5.0.0",
"@celo/contractkit": "^6.0.0",
"@celo/utils": "^5.0.0",
"@celo/connect": "5.1.1",
"@celo/contractkit": "6.0.0",
"@celo/utils": "5.0.6",
"@firebase/app": "^0.9.6",
"@google-cloud/logging": "^11.0.0",
"@mento-protocol/mento-sdk": "^0.1.4",
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ __metadata:
languageName: node
linkType: hard

"@celo/connect@npm:^5.0.0, @celo/connect@npm:^5.1.1":
"@celo/connect@npm:5.1.1, @celo/connect@npm:^5.1.1":
version: 5.1.1
resolution: "@celo/connect@npm:5.1.1"
dependencies:
Expand All @@ -123,7 +123,7 @@ __metadata:
languageName: node
linkType: hard

"@celo/contractkit@npm:^6.0.0":
"@celo/contractkit@npm:6.0.0":
version: 6.0.0
resolution: "@celo/contractkit@npm:6.0.0"
dependencies:
Expand All @@ -150,9 +150,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "@celo/faucet-app@workspace:apps/firebase"
dependencies:
"@celo/connect": "npm:^5.0.0"
"@celo/contractkit": "npm:^6.0.0"
"@celo/utils": "npm:^5.0.0"
"@celo/connect": "npm:5.1.1"
"@celo/contractkit": "npm:6.0.0"
"@celo/utils": "npm:5.0.6"
"@firebase/app": "npm:^0.9.6"
"@google-cloud/logging": "npm:^11.0.0"
"@mento-protocol/mento-sdk": "npm:^0.1.4"
Expand Down Expand Up @@ -184,7 +184,7 @@ __metadata:
languageName: unknown
linkType: soft

"@celo/utils@npm:^5.0.0, @celo/utils@npm:^5.0.6":
"@celo/utils@npm:5.0.6, @celo/utils@npm:^5.0.6":
version: 5.0.6
resolution: "@celo/utils@npm:5.0.6"
dependencies:
Expand Down

0 comments on commit 2746bb4

Please sign in to comment.