Skip to content

Commit

Permalink
chore: upgrade to yarn v3
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Feb 9, 2022
1 parent 7e484b2 commit 50a77e3
Show file tree
Hide file tree
Showing 8 changed files with 3,217 additions and 2,220 deletions.
356 changes: 321 additions & 35 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

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

This file was deleted.

768 changes: 768 additions & 0 deletions .yarn/releases/yarn-3.1.1.cjs

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ enableGlobalCache: true
nodeLinker: node-modules

packageExtensions:
react-native@*:
peerDependencies:
"@babel/preset-env": "^7.1.6"
react-native-codegen@*:
peerDependencies:
"@babel/preset-env": "^7.1.6"
"@babel/preset-env": ^7.1.6
react-native@*:
peerDependencies:
"@babel/preset-env": ^7.1.6

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-2.4.3.cjs
yarnPath: .yarn/releases/yarn-3.1.1.cjs
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,6 @@
"jest": "workspace:*",
"jest-environment-node": "workspace:*",
"react-native": "patch:react-native@0.64.0#./patches/react-native.patch"
}
},
"packageManager": "yarn@3.1.1"
}
5 changes: 1 addition & 4 deletions scripts/verifyPnP.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ try {
dedent`
enableGlobalCache: true
yarnPath: ${require.resolve('../.yarn/releases/yarn-2.4.3.cjs')}
yarnPath: ${require.resolve('../.yarn/releases/yarn-3.1.1.cjs')}
`,
);
fs.writeFileSync(
Expand All @@ -36,9 +36,6 @@ try {
jest: '*',
},
name: 'test-pnp',
resolutions: {
typescript: '~4.4',
},
},
null,
2,
Expand Down
4,231 changes: 2,116 additions & 2,115 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 50a77e3

Please sign in to comment.