Skip to content

Commit d587b7e

Browse files
authored
build: migrate to Yarn v4 (#346)
1 parent 8cea2aa commit d587b7e

File tree

8 files changed

+5988
-3373
lines changed

8 files changed

+5988
-3373
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
node-version: 22.12.x
2121
- name: Install dependencies
22-
run: yarn --frozen-lockfile
22+
run: yarn --immutable
2323
- name: Build API documentation
2424
run: yarn build:docs
2525
- name: Azure login

.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: 22.12.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 dependencies
36-
run: yarn install --frozen-lockfile
36+
run: yarn install --immutable
3737
- name: Test
3838
run: yarn lint && yarn test
3939
- name: Build docs

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ docs
44
node_modules
55
.idea
66
.vscode
7+
.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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@
8181
"optionalDependencies": {
8282
"global-agent": "^3.0.0"
8383
},
84-
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
84+
"packageManager": "yarn@4.10.3+sha512.c38cafb5c7bb273f3926d04e55e1d8c9dfa7d9c3ea1f36a4868fa028b9e5f72298f0b7f401ad5eb921749eb012eb1c3bb74bf7503df3ee43fd600d14a018266f"
8585
}

yarn.lock

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

0 commit comments

Comments
 (0)