Skip to content

Commit 0b0bf11

Browse files
authored
chore: update Yarn to 4.2.2 and remove yarn-*.cjs from the repo (#24930)
- Update Yarn to the latest version: 4.2.2 - Remove the `yarn-*.cjs` files from repo - Now using `corepack enable` in CircleCI
1 parent e201fd0 commit 0b0bf11

File tree

9 files changed

+3416
-4242
lines changed

9 files changed

+3416
-4242
lines changed

.circleci/config.yml

Lines changed: 68 additions & 3 deletions
Large diffs are not rendered by default.

.github/workflows/check-pr-labels.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Check PR has required labels"
1+
name: 'Check PR has required labels'
22
on:
33
pull_request:
44
branches:
@@ -20,7 +20,9 @@ jobs:
2020
- name: Checkout repository
2121
uses: actions/checkout@v4
2222
with:
23-
fetch-depth: 1 # This retrieves only the latest commit.
23+
fetch-depth: 1 # This retrieves only the latest commit.
24+
25+
- run: corepack enable
2426

2527
- name: Set up Node.js
2628
uses: actions/setup-node@v4

.github/workflows/fitness-functions.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
with:
1515
fetch-depth: 0
1616

17+
- run: corepack enable
18+
1719
- name: Use Node.js
1820
uses: actions/setup-node@v4
1921
with:

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ test-results/
5959
.yarn/*
6060
!.yarn/patches
6161
!.yarn/plugins
62-
!.yarn/releases
6362
!.yarn/sdks
6463
!.yarn/versions
6564

.yarn/releases/yarn-4.0.2.cjs

Lines changed: 0 additions & 893 deletions
This file was deleted.

.yarnrc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,3 @@ plugins:
138138
spec: 'https://raw.githubusercontent.com/LavaMoat/LavaMoat/main/packages/yarn-plugin-allow-scripts/bundles/@yarnpkg/plugin-allow-scripts.js'
139139
- path: .yarn/plugins/@yarnpkg/plugin-engines.cjs
140140
spec: 'https://raw.githubusercontent.com/devoto13/yarn-plugin-engines/main/bundles/%40yarnpkg/plugin-engines.js'
141-
142-
yarnPath: .yarn/releases/yarn-4.0.2.cjs

lavamoat/build-system/policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9175,6 +9175,7 @@
91759175
"crypto": true,
91769176
"fs": true,
91779177
"inspector": true,
9178+
"module.findPnpApi": true,
91789179
"os.EOL": true,
91799180
"os.platform": true,
91809181
"path.dirname": true,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,5 +702,5 @@
702702
"firebase>@firebase/firestore>@grpc/proto-loader>protobufjs": false
703703
}
704704
},
705-
"packageManager": "yarn@4.0.2"
705+
"packageManager": "yarn@4.2.2"
706706
}

yarn.lock

Lines changed: 3340 additions & 3340 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)