Skip to content

Commit 61750e7

Browse files
authored
build: upgrade Yarn v4 (#1762)
1 parent 4330cd9 commit 61750e7

File tree

7 files changed

+18419
-12686
lines changed

7 files changed

+18419
-12686
lines changed

.github/workflows/coveralls.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
node-version: 22.x
2121
cache: yarn
2222
- name: Install
23-
run: yarn --frozen-lockfile --network-timeout 100000 || yarn --frozen-lockfile --network-timeout 100000 || yarn --frozen-lockfile --network-timeout 100000
23+
run: yarn --immutable
2424
- run: yarn run contributors
2525
env:
2626
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
cache: 'yarn'
4343
architecture: ${{ matrix.os == 'macos-latest' && matrix.arch == 'x64' && 'x64' || env.RUNNER_ARCH }}
4444
- name: Install dependencies
45-
run: yarn install --frozen-lockfile
45+
run: yarn --immutable
4646
- run: yarn run contributors
4747
env:
4848
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,12 @@ report.json
4343

4444
# Webpack configurations
4545
.webpack
46+
47+
# Yarn v4
48+
.pnp.*
49+
.yarn/*
50+
!.yarn/patches
51+
!.yarn/plugins
52+
!.yarn/releases
53+
!.yarn/sdks
54+
!.yarn/versions

.yarn/releases/yarn-4.10.3.cjs

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

.yarnrc.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
nodeLinker: node-modules
2+
3+
yarnPath: .yarn/releases/yarn-4.10.3.cjs
4+
5+
# see package.json for Electron postinstall
6+
enableScripts: false
7+
8+
# one week
9+
npmMinimalAgeGate: 10080
10+
11+
npmPreapprovedPackages:
12+
- '@electron-forge/*'
13+
- 'electron'

package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"@electron/fuses": "^1.6.1",
9191
"@electron/lint-roller": "^3.1.2",
9292
"@octokit/core": "^3.5.1",
93-
"@reforged/maker-appimage": "^5.0.0",
93+
"@reforged/maker-appimage": "^5.1.0",
9494
"@testing-library/dom": "^10.4.0",
9595
"@testing-library/jest-dom": "^6.6.3",
9696
"@testing-library/react": "^12.1.5",
@@ -168,5 +168,14 @@
168168
"resolutions": {
169169
"@electron-forge/maker-base": "7.9.0",
170170
"@electron-forge/shared-types": "7.9.0"
171+
},
172+
"packageManager": "[email protected]",
173+
"dependenciesMeta": {
174+
"electron": {
175+
"built": true
176+
},
177+
"electron-winstaller": {
178+
"built": true
179+
}
171180
}
172181
}

0 commit comments

Comments
 (0)