Skip to content

Commit

Permalink
chore: update Yarn to 4.2.2 and remove yarn-*.cjs from the repo (#24930)
Browse files Browse the repository at this point in the history
- Update Yarn to the latest version: 4.2.2
- Remove the `yarn-*.cjs` files from repo
- Now using `corepack enable` in CircleCI
  • Loading branch information
HowardBraham authored May 31, 2024
1 parent e201fd0 commit 0b0bf11
Show file tree
Hide file tree
Showing 9 changed files with 3,416 additions and 4,242 deletions.
71 changes: 68 additions & 3 deletions .circleci/config.yml

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions .github/workflows/check-pr-labels.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Check PR has required labels"
name: 'Check PR has required labels'
on:
pull_request:
branches:
Expand All @@ -20,7 +20,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1 # This retrieves only the latest commit.
fetch-depth: 1 # This retrieves only the latest commit.

- run: corepack enable

- name: Set up Node.js
uses: actions/setup-node@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/fitness-functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
with:
fetch-depth: 0

- run: corepack enable

- name: Use Node.js
uses: actions/setup-node@v4
with:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ test-results/
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

Expand Down
893 changes: 0 additions & 893 deletions .yarn/releases/yarn-4.0.2.cjs

This file was deleted.

2 changes: 0 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,3 @@ plugins:
spec: 'https://raw.githubusercontent.com/LavaMoat/LavaMoat/main/packages/yarn-plugin-allow-scripts/bundles/@yarnpkg/plugin-allow-scripts.js'
- path: .yarn/plugins/@yarnpkg/plugin-engines.cjs
spec: 'https://raw.githubusercontent.com/devoto13/yarn-plugin-engines/main/bundles/%40yarnpkg/plugin-engines.js'

yarnPath: .yarn/releases/yarn-4.0.2.cjs
1 change: 1 addition & 0 deletions lavamoat/build-system/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -9175,6 +9175,7 @@
"crypto": true,
"fs": true,
"inspector": true,
"module.findPnpApi": true,
"os.EOL": true,
"os.platform": true,
"path.dirname": true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -702,5 +702,5 @@
"firebase>@firebase/firestore>@grpc/proto-loader>protobufjs": false
}
},
"packageManager": "yarn@4.0.2"
"packageManager": "yarn@4.2.2"
}
6,680 changes: 3,340 additions & 3,340 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 0b0bf11

Please sign in to comment.