Skip to content

Commit 50b5576

Browse files
authored
chore: update to Yarn 4 (#151)
Signed-off-by: Tierney Cyren <[email protected]>
1 parent cae998d commit 50b5576

File tree

7 files changed

+3443
-1152
lines changed

7 files changed

+3443
-1152
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
node-version: 20.x
2828
cache: 'yarn'
2929
- name: Install
30-
run: yarn install --frozen-lockfile
30+
run: yarn install --immutable
3131
- uses: continuousauth/action@4e8a2573eeb706f6d7300d6a9f3ca6322740b72d # v1.0.5
3232
timeout-minutes: 60
3333
with:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
node-version: "${{ matrix.node-version }}"
3434
cache: 'yarn'
3535
- name: Install
36-
run: yarn install --frozen-lockfile
36+
run: yarn install --immutable
3737
- name: Prettier
3838
run: yarn prettier:check
3939
- name: Build

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ dist
33
*api.json
44
tsconfig.tsbuildinfo
55
coverage
6+
.yarn/install-state.gz

.yarn/releases/yarn-4.10.3.cjs

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

.yarnrc.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
enableScripts: false
2+
3+
nodeLinker: node-modules
4+
5+
npmMinimalAgeGate: 10080
6+
7+
npmPreapprovedPackages:
8+
- "@electron/*"
9+
10+
yarnPath: .yarn/releases/yarn-4.10.3.cjs

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,6 @@
6666
"bugs": {
6767
"url": "https://github.com/electron/docs-parser/issues"
6868
},
69-
"homepage": "https://github.com/electron/docs-parser#readme"
69+
"homepage": "https://github.com/electron/docs-parser#readme",
70+
"packageManager": "[email protected]+sha512.c38cafb5c7bb273f3926d04e55e1d8c9dfa7d9c3ea1f36a4868fa028b9e5f72298f0b7f401ad5eb921749eb012eb1c3bb74bf7503df3ee43fd600d14a018266f"
7071
}

yarn.lock

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

0 commit comments

Comments
 (0)