Skip to content

Commit 7c7238e

Browse files
committed
feat: update yarn to yarn2
1 parent 93981df commit 7c7238e

File tree

9 files changed

+16353
-10808
lines changed

9 files changed

+16353
-10808
lines changed

.github/workflows/build_test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
with:
2525
node-version: 14.x
2626
- name: Yarn cache
27-
uses: c-hive/gha-yarn-cache@v1
27+
uses: c-hive/gha-yarn-cache@v2.1.0
2828
- name: Install dependencies
29-
run: yarn --frozen-lockfile
29+
run: yarn --immutable
3030
- name: Use xvfb-run on Linux
3131
run: sed -i 's/\(electron-mocha \)/xvfb-run \1/g' package.json
3232
- name: Test

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,12 @@ electron/img/
2424
resources
2525
!resources/macos/entitlements/child.plist
2626
!resources/macos/entitlements/parent.plist
27+
28+
# yarn 2 - not using zero-installs
29+
.pnp.*
30+
.yarn/*
31+
!.yarn/patches
32+
!.yarn/plugins
33+
!.yarn/releases
34+
!.yarn/sdks
35+
!.yarn/versions

.npmrc

-2
This file was deleted.

.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

+541
Large diffs are not rendered by default.

.yarn/releases/yarn-3.3.1.cjs

+823
Large diffs are not rendered by default.

.yarnrc

-1
This file was deleted.

.yarnrc.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
nodeLinker: node-modules
2+
3+
npmRegistryServer: 'https://registry.npmjs.org'
4+
5+
plugins:
6+
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
7+
spec: '@yarnpkg/plugin-interactive-tools'
8+
9+
yarnPath: .yarn/releases/yarn-3.3.1.cjs

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -189,5 +189,6 @@
189189
"translate:upload": "ts-node -P tsconfig.bin.json ./bin/translations_upload.ts",
190190
"translate:download": "ts-node -P tsconfig.bin.json ./bin/translations_download.ts"
191191
},
192-
"version": "3.30.0"
192+
"version": "3.30.0",
193+
"packageManager": "[email protected]"
193194
}

yarn.lock

+14,967-10,802
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)