Skip to content

Commit

Permalink
Update Yarn to 2.2.2 (#12023)
Browse files Browse the repository at this point in the history
* chore: update Yarn to 2.2.2

* chore: add yarn dedupe check on CI
  • Loading branch information
JLHwung committed Sep 3, 2020
1 parent a91fdeb commit b5481cc
Show file tree
Hide file tree
Showing 7 changed files with 63 additions and 108 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Expand Up @@ -27,6 +27,7 @@ jobs:
YARN_ENABLE_SCRIPTS: false # disable post-install scripts
YARN_NODE_LINKER: pnp # use pnp linker for better performance: it's meant to update yarn cache only
run: |
yarn dedupe --check
yarn install --immutable
test-coverage:
Expand Down
11 changes: 0 additions & 11 deletions .yarn/plugins/@yarnpkg/plugin-deduplicate.cjs

This file was deleted.

86 changes: 0 additions & 86 deletions .yarn/releases/yarn-2.1.1.cjs

This file was deleted.

55 changes: 55 additions & 0 deletions .yarn/releases/yarn-2.2.2.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc
@@ -1,3 +1,3 @@
# Use Yarn 2
# This path should always match the one in .yarnrc.yml
yarn-path ".yarn/releases/yarn-2.1.1.cjs"
yarn-path ".yarn/releases/yarn-2.2.2.cjs"
6 changes: 1 addition & 5 deletions .yarnrc.yml
Expand Up @@ -4,11 +4,7 @@ enableTransparentWorkspaces: false

nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-deduplicate.cjs
spec: "https://raw.githubusercontent.com/eps1lon/yarn-plugin-deduplicate/latest/bin/%40yarnpkg/plugin-deduplicate.js"

unsafeHttpWhitelist:
- localhost

yarnPath: .yarn/releases/yarn-2.1.1.cjs
yarnPath: .yarn/releases/yarn-2.2.2.cjs
10 changes: 5 additions & 5 deletions yarn.lock
Expand Up @@ -3,7 +3,7 @@

__metadata:
version: 4
cacheKey: 5
cacheKey: 6

"@babel/cli@npm:^7.10.4":
version: 7.10.5
Expand Down Expand Up @@ -8789,20 +8789,20 @@ fsevents@^1.2.7:

"fsevents@patch:fsevents@^1.2.7#builtin<compat/fsevents>":
version: 1.2.13
resolution: "fsevents@patch:fsevents@npm%3A1.2.13#builtin<compat/fsevents>::version=1.2.13&hash=495457"
resolution: "fsevents@patch:fsevents@npm%3A1.2.13#builtin<compat/fsevents>::version=1.2.13&hash=87eb42"
dependencies:
bindings: ^1.5.0
nan: ^2.12.1
checksum: 508a7e7e1e365236a7a0478392827145ba05c0181b1928b73b20c1a5212d15f6529735db897d617d7b0b051248c5720160f74c113bd727fc02de4f6cf885e1ff
checksum: 31c62373556f061f4b4c52ff61c91bc9080243ea074a38a81cf12c1f2c9098da731ea3d39705c805b738427e4284af6b8151efe65ce9ca6b11378d43f36db2c4
languageName: node
linkType: hard

"fsevents@patch:fsevents@~2.1.2#builtin<compat/fsevents>":
version: 2.1.3
resolution: "fsevents@patch:fsevents@npm%3A2.1.3#builtin<compat/fsevents>::version=2.1.3&hash=495457"
resolution: "fsevents@patch:fsevents@npm%3A2.1.3#builtin<compat/fsevents>::version=2.1.3&hash=87eb42"
dependencies:
node-gyp: latest
checksum: 0005677b72f38a129a3cbe8c3794bdc83081a2bec53dfc03b085c2e5e4ca7a33a861a779d623313652df89746d97f79d24e4fef3b101c11c39ce1ea8a9690e18
checksum: d8ae862048fc127cdbd00d02b2feb7c25946c3ce4cbc44e958134be87e239577a16dafafa1c270d010b8624e1b1e0372e23f7865c55c6f83e83fc9f68b0a30d2
languageName: node
linkType: hard

Expand Down

0 comments on commit b5481cc

Please sign in to comment.