Skip to content

Commit

Permalink
build: downgrade Yarn to 3.7.0
Browse files Browse the repository at this point in the history
to work around yarnpkg/berry#5165 until 4.0.3 is released
  • Loading branch information
turadg committed Jan 25, 2024
1 parent 908ce89 commit 438e121
Show file tree
Hide file tree
Showing 24 changed files with 4,640 additions and 4,623 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"fromTag": null
},
"license": "Apache-2.0",
"packageManager": "yarn@4.0.2",
"packageManager": "yarn@3.7.0",
"devDependencies": {
"prettier": "^3.2.0"
}
Expand Down
5 changes: 4 additions & 1 deletion packages/synthetic-chain/src/cli/doctor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ const fixupProposal = (proposal: ProposalInfo) => {
const yarnRc = path.join(proposalPath, '.yarnrc.yml');
if (!fs.existsSync(yarnRc)) {
console.log(`creating ${yarnRc} with pnpm linker`);
fs.writeFileSync(yarnRc, 'nodeLinker: pnpm\n');
fs.writeFileSync(
yarnRc,
'enableGlobalCache: true\n\nnodeLinker: pnpm\n',
);
}

// refresh install
Expand Down
2 changes: 2 additions & 0 deletions proposals/34:upgrade-10/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
enableGlobalCache: true

nodeLinker: pnpm
2 changes: 1 addition & 1 deletion proposals/34:upgrade-10/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
"scripts": {
"agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops"
},
"packageManager": "yarn@4.0.2"
"packageManager": "yarn@3.7.0"
}
Loading

0 comments on commit 438e121

Please sign in to comment.